(3.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.1ms) BEGIN  (14.8ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (6.4ms) COMMIT Migrating to AddParticipantFields (2)  (11.4ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.2ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (6.1ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (13.9ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (10.6ms) COMMIT Migrating to AddNullFalseToArms (5)  (6.0ms) BEGIN  (0.3ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.1ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (6.0ms) COMMIT Migrating to AddHasWozToArm (6)  (0.1ms) BEGIN  (14.6ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (6.6ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (5.9ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.2ms) BEGIN  (14.3ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (2.9ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (1.0ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (4.7ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (5.4ms) BEGIN  (14.2ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.1ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (5.9ms) BEGIN  (14.3ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (2.5ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (6.1ms) BEGIN  (16.2ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (1.4ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (5.6ms) BEGIN  (15.4ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (6.0ms) BEGIN  (14.2ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (0.9ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (4.5ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (5.9ms) BEGIN  (7.9ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.1ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (11.8ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (6.0ms) BEGIN  (13.6ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (4.6ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (6.0ms) BEGIN  (19.9ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.2ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (0.4ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (5.4ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (0.9ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (5.6ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (5.6ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.1ms) BEGIN  (6.8ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (5.7ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (14.4ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (6.7ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.1ms) BEGIN  (14.2ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (6.4ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (5.6ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.2ms) BEGIN  (6.4ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (5.8ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.2ms) BEGIN  (7.9ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (6.0ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (5.6ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2015-08-03 17:22:23.137073"], ["updated_at", "2015-08-03 17:22:23.137073"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2015-08-03 17:22:23.138923"], ["updated_at", "2015-08-03 17:22:23.138923"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2015-08-03 17:22:23.140106"], ["updated_at", "2015-08-03 17:22:23.140106"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2015-08-03 17:22:23.141234"], ["updated_at", "2015-08-03 17:22:23.141234"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2015-08-03 17:22:23.142370"], ["updated_at", "2015-08-03 17:22:23.142370"]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (6.0ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (5.6ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (5.8ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.1ms) BEGIN SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (6.2ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (6.6ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (5.6ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.6ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (5.9ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.1ms) BEGIN  (7.9ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (6.1ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (5.9ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (6.1ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.2ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (5.9ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (5.5ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (6.0ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (6.0ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (5.6ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.1ms) BEGIN  (6.8ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (6.2ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.1ms) BEGIN  (6.3ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (6.2ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.1ms) BEGIN  (6.7ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (6.4ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (6.0ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.1ms) BEGIN  (6.7ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (6.3ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (6.4ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.5ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.1ms) BEGIN  (6.1ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (5.7ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-03', '2015-08-03 17:22:32', '2015-08-03 17:22:32', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-03 17:22:32.000000', '2015-08-03', '2015-08-03 17:22:32', '2015-08-03 17:22:32', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-03', '2015-08-03 17:22:32', '2015-08-03 17:22:32', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-03 17:22:32', '2015-08-03 17:22:32', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-03 17:22:32.000000', '2015-08-03', '2015-08-03 17:22:32', '2015-08-03 17:22:32', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-02', '2015-08-03 17:22:32', '2015-08-03 17:22:32', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-01', '2015-08-03 17:22:32', '2015-08-03 17:22:32', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-03 17:22:32.000000', '2015-08-03', '2015-08-03 17:22:32', '2015-08-03 17:22:32', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-03', '2015-08-03 17:22:32', '2015-08-03 17:22:32', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-03 17:22:32.000000', '2015-08-03', '2015-08-03 17:22:32', '2015-08-03 17:22:32', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-03', '2015-08-03 17:22:32', '2015-08-03 17:22:32', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-03 17:22:32.000000', '2015-08-03', '2015-08-03 17:22:32', '2015-08-03 17:22:32', 16804933, 816972181)  (0.4ms) COMMIT  (1.7ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-27 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.7ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-02 00:00:00.000000"], ["updated_at", "2015-08-03 17:22:32.080766"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-07-26 00:00:00.000000"], ["updated_at", "2015-08-03 17:22:32.088337"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-27 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-03 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-03 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-03 17:22:32.098510"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-03 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-03 23:59:59.999999')  (0.2ms) ROLLBACK  (15.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-03 17:22:32', '2015-08-03 17:22:32', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-03 17:22:32', '2015-08-03 17:22:32', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-02 17:22:32.000000', '2015-08-03 17:22:32', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 17:22:32.000000', '2015-08-03 17:22:32', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-02 17:22:32.000000', '2015-08-03 17:22:32', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 17:22:32.000000', '2015-08-03 17:22:32', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-03 17:22:32', '2015-08-03 17:22:32', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-03 17:22:32', '2015-08-03 17:22:32', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-03 17:22:32', '2015-08-03 17:22:32', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-03 17:22:32', '2015-08-03 17:22:32', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-03 17:22:32', '2015-08-03 17:22:32', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-03 17:22:32', '2015-08-03 17:22:32', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-03 17:22:32', '2015-08-03 17:22:32', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-03 17:22:32', '2015-08-03 17:22:32', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-03 17:22:32', '2015-08-03 17:22:32', 183235640, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-03 17:22:32', '2015-08-03 17:22:32', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-03 17:22:32.180689"], ["updated_at", "2015-08-03 17:22:32.180689"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-03 17:22:32.193063"], ["updated_at", "2015-08-03 17:22:32.193063"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-27 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-02 00:00:00.000000"], ["updated_at", "2015-08-03 17:22:32.273338"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-27 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-03 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-03 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-03 17:22:32.297725"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-03 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-03 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 40ms (Views: 38.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-27 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-02 00:00:00.000000"], ["updated_at", "2015-08-03 17:22:32.436407"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-07-26 00:00:00.000000"], ["updated_at", "2015-08-03 17:22:32.440225"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-27 00:00:00.000000')  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-03 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-03 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-03 17:22:32.456297"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-03 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-03 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-04"], ["created_at", "2015-08-03 17:22:32.462125"], ["updated_at", "2015-08-03 17:22:32.462125"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-03"], ["completed_at", "2015-08-01 00:00:00.000000"], ["created_at", "2015-08-03 17:22:32.469629"], ["updated_at", "2015-08-03 17:22:32.469629"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-03 17:22:32.474178"], ["updated_at", "2015-08-03 17:22:32.474178"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-03 17:22:32.479520') AND ("social_networking_goals"."due_on" >= '2015-08-02 17:22:32.479551') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-03 17:22:32.482742') AND ("social_networking_goals"."due_on" >= '2015-08-02 17:22:32.482759')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-03 17:22:32.484431') AND ("social_networking_goals"."due_on" >= '2015-08-02 17:22:32.484447')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-27 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-02 00:00:00.000000"], ["updated_at", "2015-08-03 17:22:32.496338"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-07-26 00:00:00.000000"], ["updated_at", "2015-08-03 17:22:32.502827"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-27 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-03 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-03 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-03 17:22:32.511925"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-03 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-03 23:59:59.999999')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-03 17:22:32.531748"], ["updated_at", "2015-08-03 17:22:32.531748"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-03 17:22:32.536421"], ["updated_at", "2015-08-03 17:22:32.536421"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-03 17:22:32.552106"], ["updated_at", "2015-08-03 17:22:32.552106"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235643]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-03 12:22:33 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.1ms) Completed 200 OK in 194ms (Views: 171.2ms | ActiveRecord: 4.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-03 12:22:33 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-03 12:22:33 -0500  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-03 12:22:34 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 22ms (Views: 2.1ms | ActiveRecord: 2.8ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-03 12:22:34 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-08-31", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-08-31"], ["updated_at", "2015-08-03 17:22:34.311566"], ["id", 53334230]]  (6.2ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 18ms (Views: 0.4ms | ActiveRecord: 8.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-03 12:22:34 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.9ms) Completed 200 OK in 18ms (Views: 2.9ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-03 12:22:34 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-03", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-03 17:22:34.612094"], ["updated_at", "2015-08-03 17:22:34.614608"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-03 12:22:34 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 18ms (Views: 2.1ms | ActiveRecord: 1.9ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-03 12:22:34 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-17", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-17"], ["created_at", "2015-08-03 17:22:34.945027"], ["updated_at", "2015-08-03 17:22:34.945027"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-03 17:22:34.949831"], ["updated_at", "2015-08-03 17:22:34.949831"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-03 12:22:35 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 17ms (Views: 1.9ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-03 12:22:35 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-03", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-03 17:22:35.176640"], ["updated_at", "2015-08-03 17:22:35.179072"], ["id", 809335042]]  (1.3ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-03 17:22:35.183865"], ["updated_at", "2015-08-03 17:22:35.183865"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 4.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (1.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-03 17:22:35', '2015-08-03 17:22:35', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-03', '2015-08-03 17:22:35', '2015-08-03 17:22:35', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-03 17:22:35.000000', '2015-08-03', '2015-08-03 17:22:35', '2015-08-03 17:22:35', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-03', '2015-08-03 17:22:35', '2015-08-03 17:22:35', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-03 17:22:35', '2015-08-03 17:22:35', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-03 17:22:35.000000', '2015-08-03', '2015-08-03 17:22:35', '2015-08-03 17:22:35', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-02', '2015-08-03 17:22:35', '2015-08-03 17:22:35', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-01', '2015-08-03 17:22:35', '2015-08-03 17:22:35', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-03 17:22:35.000000', '2015-08-03', '2015-08-03 17:22:35', '2015-08-03 17:22:35', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-03', '2015-08-03 17:22:35', '2015-08-03 17:22:35', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-03 17:22:35.000000', '2015-08-03', '2015-08-03 17:22:35', '2015-08-03 17:22:35', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-03', '2015-08-03 17:22:35', '2015-08-03 17:22:35', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-03 17:22:35.000000', '2015-08-03', '2015-08-03 17:22:35', '2015-08-03 17:22:35', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-03 17:22:35', '2015-08-03 17:22:35', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-02 17:22:35.000000', '2015-08-03 17:22:35', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 17:22:35.000000', '2015-08-03 17:22:35', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-02 17:22:35.000000', '2015-08-03 17:22:35', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 17:22:35.000000', '2015-08-03 17:22:35', 316146702, 816972181, 700141617) Fixture Delete (0.5ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-03 17:22:35', '2015-08-03 17:22:35', 576803333, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-03 17:22:35', '2015-08-03 17:22:35', 369066228, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-03 17:22:35', '2015-08-03 17:22:35', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-03 17:22:35', '2015-08-03 17:22:35', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-03 17:22:35', '2015-08-03 17:22:35', 10484799, 183235640) Fixture Delete (0.5ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-03 17:22:35', '2015-08-03 17:22:35', 781294868) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-03 17:22:35', '2015-08-03 17:22:35', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-03 17:22:35', '2015-08-03 17:22:35', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-03 17:22:35', '2015-08-03 17:22:35', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-03 17:22:35', '2015-08-03 17:22:35', 809335042, 'SocialNetworking::Goal', 809335042)  (6.0ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-03 17:22:35.416688"], ["updated_at", "2015-08-03 17:22:35.416688"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-03 17:22:35.421100"], ["updated_at", "2015-08-03 17:22:35.421100"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-03 17:22:35.424097"], ["updated_at", "2015-08-03 17:22:35.424097"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-27 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-02 00:00:00.000000"], ["updated_at", "2015-08-03 17:22:35.449193"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-07-26 00:00:00.000000"], ["updated_at", "2015-08-03 17:22:35.452166"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-27 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-03 23:59:59.999999' AND created_at >= '2015-08-03 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-03 17:22:35.458771"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-03 23:59:59.999999' AND created_at >= '2015-08-03 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-02 00:00:00.000000"], ["updated_at", "2015-08-03 17:22:35.464598"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 21ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 500 Internal Server Error in 14ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 500 Internal Server Error in 0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 500 Internal Server Error in 0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.7ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" IS NULL AND "social_networking_profile_answers"."social_networking_profile_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 53ms (Views: 0.2ms | ActiveRecord: 6.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" IS NULL AND "social_networking_profile_answers"."social_networking_profile_id" IS NULL) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 5ms (Views: 0.2ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.6ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" IS NULL AND "social_networking_profile_answers"."social_networking_profile_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 65ms (Views: 0.2ms | ActiveRecord: 5.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" IS NULL AND "social_networking_profile_answers"."social_networking_profile_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 4ms (Views: 0.2ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Parameters: {"id"=>"1"}  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.6ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" IS NULL AND "social_networking_profile_answers"."social_networking_profile_id" IS NULL) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 43ms (Views: 0.3ms | ActiveRecord: 6.2ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" IS NULL AND "social_networking_profile_answers"."social_networking_profile_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 5ms (Views: 0.2ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" IS NULL AND "social_networking_profile_answers"."social_networking_profile_id" IS NULL) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 47ms (Views: 0.3ms | ActiveRecord: 6.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" IS NULL AND "social_networking_profile_answers"."social_networking_profile_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 4ms (Views: 0.2ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.7ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" IS NULL AND "social_networking_profile_answers"."social_networking_profile_id" IS NULL) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 50ms (Views: 0.4ms | ActiveRecord: 7.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" IS NULL AND "social_networking_profile_answers"."social_networking_profile_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 5ms (Views: 0.2ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" IS NULL AND "social_networking_profile_answers"."social_networking_profile_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 47ms (Views: 0.2ms | ActiveRecord: 6.4ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 18ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as HTML Parameters: {"profile"=>{"id"=>"1"}} Unpermitted parameter: id SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", nil]] Completed 404 Not Found in 37ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as HTML Parameters: {"profile"=>{"id"=>"1"}} Unpermitted parameter: id Unpermitted parameter: id Completed 406 Not Acceptable in 1ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as JS Parameters: {"profile"=>{"id"=>1}} Unpermitted parameter: id Unpermitted parameter: id Rendered text template (0.0ms) Completed 202 Accepted in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as JS Parameters: {"profile"=>{"id"=>1}} Unpermitted parameter: id Unpermitted parameter: id Rendered text template (0.0ms) Completed 202 Accepted in 11ms (Views: 10.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as JS Parameters: {"profile"=>{"id"=>1}} Unpermitted parameter: id Unpermitted parameter: id Rendered text template (0.0ms) Completed 202 Accepted in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as JS Parameters: {"profile"=>{"id"=>1}} Unpermitted parameter: id Unpermitted parameter: id Rendered text template (0.0ms) Completed 202 Accepted in 8ms (Views: 7.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as JS Parameters: {"profile"=>{"id"=>1}} Unpermitted parameter: id Unpermitted parameter: id Rendered text template (0.0ms) Completed 404 Not Found in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as JS Parameters: {"profile"=>{"id"=>1}} Unpermitted parameter: id Unpermitted parameter: id Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as JS Parameters: {"profile"=>{"id"=>1}} Unpermitted parameter: id Unpermitted parameter: id Rendered text template (0.0ms) Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as JS Parameters: {"profile"=>{"id"=>1}} Unpermitted parameter: id Unpermitted parameter: id Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as JS Parameters: {"profile"=>{"id"=>1}} Unpermitted parameter: id Unpermitted parameter: id Rendered text template (0.0ms) Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as JS Parameters: {"profile"=>{"id"=>1}} Unpermitted parameter: id Unpermitted parameter: id Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as JS Parameters: {"profile"=>{"id"=>1}} Unpermitted parameter: id Unpermitted parameter: id Completed 500 Internal Server Error in 16ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as JS Parameters: {"profile"=>{"id"=>1}} Unpermitted parameter: id Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as JS Parameters: {"profile"=>{"id"=>1}} Unpermitted parameter: id Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as JS Parameters: {"profile"=>{"id"=>1}} Unpermitted parameter: id Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as JS Parameters: {"profile"=>{"id"=>1}} Unpermitted parameter: id Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as JSON Parameters: {"profile"=>{"id"=>1}} Unpermitted parameter: id Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as JSON Parameters: {"profile"=>{"id"=>1}} Unpermitted parameter: id Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as HTML Parameters: {"profile"=>{"id"=>"1"}} Unpermitted parameter: id Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as HTML Parameters: {"profile"=>{"id"=>"1"}} Unpermitted parameter: id Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as HTML Parameters: {"profile"=>{"id"=>"1"}} Unpermitted parameter: id Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as HTML Completed 400 Bad Request in 0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as HTML Parameters: {"profile"=>{"id"=>"1"}} Unpermitted parameter: id SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", nil]] Completed 404 Not Found in 25ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as HTML Parameters: {"profile"=>{"id"=>"1"}} Unpermitted parameter: id SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", nil]] Completed 404 Not Found in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as HTML Parameters: {"profile"=>{"id"=>"1"}} Unpermitted parameter: id Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as HTML Parameters: {"profile"=>{"id"=>"1"}} Unpermitted parameter: id Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as HTML Parameters: {"profile"=>{"id"=>"1"}} Unpermitted parameter: id Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as HTML Parameters: {"profile"=>{"id"=>"1"}} Unpermitted parameter: id Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as HTML Parameters: {"profile"=>{"id"=>"1"}} Unpermitted parameter: id Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as HTML Parameters: {"profile"=>{"id"=>"1"}} Unpermitted parameter: id Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as HTML Parameters: {"profile"=>{"id"=>"1"}} Unpermitted parameter: id Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileIconController#save as HTML Parameters: {"profile"=>{"id"=>"1"}} Unpermitted parameter: id Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"microphone", "id"=>"1"} Completed 500 Internal Server Error in 3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"microphone", "id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"microphone", "id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"microphone", "id"=>"1"} Completed 500 Internal Server Error in 3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"microphone", "id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"microphone", "id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"microphone", "id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"microphone", "id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"microphone", "id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (6.4ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (1.0ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.6ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-03 20:53:06', '2015-08-03 20:53:06', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-03', '2015-08-03 20:53:06', '2015-08-03 20:53:06', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-03 20:53:06.000000', '2015-08-03', '2015-08-03 20:53:06', '2015-08-03 20:53:06', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-03', '2015-08-03 20:53:06', '2015-08-03 20:53:06', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-03 20:53:06', '2015-08-03 20:53:06', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-03 20:53:06.000000', '2015-08-03', '2015-08-03 20:53:06', '2015-08-03 20:53:06', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-02', '2015-08-03 20:53:06', '2015-08-03 20:53:06', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-01', '2015-08-03 20:53:06', '2015-08-03 20:53:06', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-03 20:53:06.000000', '2015-08-03', '2015-08-03 20:53:06', '2015-08-03 20:53:06', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-03', '2015-08-03 20:53:06', '2015-08-03 20:53:06', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-03 20:53:06.000000', '2015-08-03', '2015-08-03 20:53:06', '2015-08-03 20:53:06', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-03', '2015-08-03 20:53:06', '2015-08-03 20:53:06', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-03 20:53:06.000000', '2015-08-03', '2015-08-03 20:53:06', '2015-08-03 20:53:06', 16804933, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-03 20:53:06', '2015-08-03 20:53:06', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-02 20:53:06.000000', '2015-08-03 20:53:06', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 20:53:06.000000', '2015-08-03 20:53:06', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-02 20:53:06.000000', '2015-08-03 20:53:06', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 20:53:06.000000', '2015-08-03 20:53:06', 316146702, 816972181, 700141617) Fixture Delete (0.5ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-03 20:53:06', '2015-08-03 20:53:06', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-03 20:53:06', '2015-08-03 20:53:06', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-03 20:53:06', '2015-08-03 20:53:06', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-03 20:53:06', '2015-08-03 20:53:06', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-03 20:53:06', '2015-08-03 20:53:06', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-03 20:53:06', '2015-08-03 20:53:06', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-03 20:53:06', '2015-08-03 20:53:06', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-03 20:53:06', '2015-08-03 20:53:06', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-03 20:53:06', '2015-08-03 20:53:06', 183235640, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-03 20:53:06', '2015-08-03 20:53:06', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-03 20:53:06.652450"], ["updated_at", "2015-08-03 20:53:06.652450"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-03 20:53:06.666606"], ["updated_at", "2015-08-03 20:53:06.666606"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-03 20:53:06.669931"], ["updated_at", "2015-08-03 20:53:06.669931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 10ms (Views: 9.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-03 15:53:07 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.9ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.0ms) Completed 200 OK in 113ms (Views: 76.1ms | ActiveRecord: 6.6ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-03 15:53:07 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-03 15:53:07 -0500 Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-03 15:53:08 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-17", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-17"], ["created_at", "2015-08-03 20:53:08.269541"], ["updated_at", "2015-08-03 20:53:08.269541"]]  (6.4ms) COMMIT  (0.2ms) BEGIN SQL (0.7ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-03 20:53:08.282178"], ["updated_at", "2015-08-03 20:53:08.282178"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 23ms (Views: 0.6ms | ActiveRecord: 11.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-03 15:53:08 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 33ms (Views: 2.2ms | ActiveRecord: 2.6ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-03 15:53:08 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-03", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-03 20:53:08.579412"], ["updated_at", "2015-08-03 20:53:08.581978"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-03 15:53:08 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 17ms (Views: 1.9ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-03 15:53:08 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-08-31", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-08-31"], ["updated_at", "2015-08-03 20:53:08.908534"], ["id", 53334230]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.4ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-03 15:53:08 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 2.0ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-03 15:53:09 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 16ms (Views: 2.1ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-03 15:53:09 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-03", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-03 20:53:09.357491"], ["updated_at", "2015-08-03 20:53:09.360047"], ["id", 809335042]]  (1.3ms) COMMIT  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-03 20:53:09.365002"], ["updated_at", "2015-08-03 20:53:09.365002"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 4.0ms)  (0.1ms) ROLLBACK  (1.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-03 20:53:09', '2015-08-03 20:53:09', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-03', '2015-08-03 20:53:09', '2015-08-03 20:53:09', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-03 20:53:09.000000', '2015-08-03', '2015-08-03 20:53:09', '2015-08-03 20:53:09', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-03', '2015-08-03 20:53:09', '2015-08-03 20:53:09', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-03 20:53:09', '2015-08-03 20:53:09', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-03 20:53:09.000000', '2015-08-03', '2015-08-03 20:53:09', '2015-08-03 20:53:09', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-02', '2015-08-03 20:53:09', '2015-08-03 20:53:09', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-01', '2015-08-03 20:53:09', '2015-08-03 20:53:09', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-03 20:53:09.000000', '2015-08-03', '2015-08-03 20:53:09', '2015-08-03 20:53:09', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-03', '2015-08-03 20:53:09', '2015-08-03 20:53:09', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-03 20:53:09.000000', '2015-08-03', '2015-08-03 20:53:09', '2015-08-03 20:53:09', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-03', '2015-08-03 20:53:09', '2015-08-03 20:53:09', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-03 20:53:09.000000', '2015-08-03', '2015-08-03 20:53:09', '2015-08-03 20:53:09', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-03 20:53:09', '2015-08-03 20:53:09', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-02 20:53:09.000000', '2015-08-03 20:53:09', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 20:53:09.000000', '2015-08-03 20:53:09', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-02 20:53:09.000000', '2015-08-03 20:53:09', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 20:53:09.000000', '2015-08-03 20:53:09', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-03 20:53:09', '2015-08-03 20:53:09', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-03 20:53:09', '2015-08-03 20:53:09', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-03 20:53:09', '2015-08-03 20:53:09', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-03 20:53:09', '2015-08-03 20:53:09', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-03 20:53:09', '2015-08-03 20:53:09', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-03 20:53:09', '2015-08-03 20:53:09', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-03 20:53:09', '2015-08-03 20:53:09', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-03 20:53:09', '2015-08-03 20:53:09', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-03 20:53:09', '2015-08-03 20:53:09', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-03 20:53:09', '2015-08-03 20:53:09', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-27 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-02 00:00:00.000000"], ["updated_at", "2015-08-03 20:53:09.494958"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-27 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-03 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-03 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-03 20:53:09.511570"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-03 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-03 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SQL (1.3ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-03 20:53:09.555716"], ["updated_at", "2015-08-03 20:53:09.555716"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335043, null, SocialNetworking::Profile, 2015-08-03 20:53:09.555716, 2015-08-03 20:53:09.555716, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 21ms (Views: 0.2ms | ActiveRecord: 2.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-27 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.6ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-02 00:00:00.000000"], ["updated_at", "2015-08-03 20:53:09.571063"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-07-26 00:00:00.000000"], ["updated_at", "2015-08-03 20:53:09.575349"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-27 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-03 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-03 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-03 20:53:09.582008"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-03 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-03 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-03 23:59:59.999999' AND created_at >= '2015-08-03 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-03 20:53:09.692169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-03 23:59:59.999999' AND created_at >= '2015-08-03 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-27 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-02 00:00:00.000000"], ["updated_at", "2015-08-03 20:53:09.697987"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-07-26 00:00:00.000000"], ["updated_at", "2015-08-03 20:53:09.700608"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-27 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-02 00:00:00.000000"], ["updated_at", "2015-08-03 20:53:09.706057"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-03 20:53:09.711486"], ["updated_at", "2015-08-03 20:53:09.711486"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-03 20:53:09.715945"], ["updated_at", "2015-08-03 20:53:09.715945"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-03 20:53:09.724662"], ["updated_at", "2015-08-03 20:53:09.724662"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235643]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-27 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-02 00:00:00.000000"], ["updated_at", "2015-08-03 20:53:09.737167"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-07-26 00:00:00.000000"], ["updated_at", "2015-08-03 20:53:09.740818"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-27 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-03 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-03 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-03 20:53:09.747522"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-03 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-03 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-27 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-02 00:00:00.000000"], ["updated_at", "2015-08-03 20:53:09.776204"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-07-26 00:00:00.000000"], ["updated_at", "2015-08-03 20:53:09.779332"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-27 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-03 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-03 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-03 20:53:09.788941"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-03 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-03 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-03"], ["completed_at", "2015-08-01 00:00:00.000000"], ["created_at", "2015-08-03 20:53:09.794939"], ["updated_at", "2015-08-03 20:53:09.794939"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-04"], ["created_at", "2015-08-03 20:53:09.799234"], ["updated_at", "2015-08-03 20:53:09.799234"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-03 20:53:09.806045"], ["updated_at", "2015-08-03 20:53:09.806045"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-03 20:53:09.809823') AND ("social_networking_goals"."due_on" >= '2015-08-02 20:53:09.809869') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-03 20:53:09.812923') AND ("social_networking_goals"."due_on" >= '2015-08-02 20:53:09.812945')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-03 20:53:09.814766') AND ("social_networking_goals"."due_on" >= '2015-08-02 20:53:09.814796')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-03 20:53:09.875918"], ["updated_at", "2015-08-03 20:53:09.875918"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-03 20:53:09.878746"], ["updated_at", "2015-08-03 20:53:09.878746"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (7.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-04 14:45:21', '2015-08-04 14:45:21', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-04', '2015-08-04 14:45:21', '2015-08-04 14:45:21', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-04 14:45:21.000000', '2015-08-04', '2015-08-04 14:45:21', '2015-08-04 14:45:21', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-04', '2015-08-04 14:45:21', '2015-08-04 14:45:21', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-04 14:45:21', '2015-08-04 14:45:21', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-04 14:45:21.000000', '2015-08-04', '2015-08-04 14:45:21', '2015-08-04 14:45:21', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-03', '2015-08-04 14:45:21', '2015-08-04 14:45:21', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-02', '2015-08-04 14:45:21', '2015-08-04 14:45:21', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-04 14:45:21.000000', '2015-08-04', '2015-08-04 14:45:21', '2015-08-04 14:45:21', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-04', '2015-08-04 14:45:21', '2015-08-04 14:45:21', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-04 14:45:21.000000', '2015-08-04', '2015-08-04 14:45:21', '2015-08-04 14:45:21', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-04', '2015-08-04 14:45:21', '2015-08-04 14:45:21', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-04 14:45:21.000000', '2015-08-04', '2015-08-04 14:45:21', '2015-08-04 14:45:21', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-04 14:45:21', '2015-08-04 14:45:21', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 14:45:21.000000', '2015-08-04 14:45:21', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 14:45:21.000000', '2015-08-04 14:45:21', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 14:45:21.000000', '2015-08-04 14:45:21', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 14:45:21.000000', '2015-08-04 14:45:21', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-04 14:45:21', '2015-08-04 14:45:21', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-04 14:45:21', '2015-08-04 14:45:21', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-04 14:45:21', '2015-08-04 14:45:21', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-04 14:45:21', '2015-08-04 14:45:21', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-04 14:45:21', '2015-08-04 14:45:21', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-04 14:45:21', '2015-08-04 14:45:21', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-04 14:45:21', '2015-08-04 14:45:21', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-04 14:45:21', '2015-08-04 14:45:21', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-04 14:45:21', '2015-08-04 14:45:21', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-04 14:45:21', '2015-08-04 14:45:21', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-04 14:45:22.008220"], ["updated_at", "2015-08-04 14:45:22.008220"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-04 14:45:22.013294"], ["updated_at", "2015-08-04 14:45:22.013294"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SQL (7.2ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-04 14:45:22.083402"], ["updated_at", "2015-08-04 14:45:22.083402"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335044, null, SocialNetworking::Profile, 2015-08-04 14:45:22.083402, 2015-08-04 14:45:22.083402, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.2ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 39ms (Views: 0.4ms | ActiveRecord: 8.7ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 09:45:23 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.0ms) Completed 200 OK in 117ms (Views: 79.8ms | ActiveRecord: 5.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-04 09:45:23 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-04 09:45:23 -0500 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-04 09:45:23 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-01", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-01"], ["updated_at", "2015-08-04 14:45:23.728884"], ["id", 53334230]]  (5.8ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 9.4ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 09:45:23 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.0ms) Completed 200 OK in 13ms (Views: 1.6ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-04 09:45:23 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-04", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-04 14:45:23.931881"], ["updated_at", "2015-08-04 14:45:23.934139"], ["id", 809335042]]  (1.3ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-04 14:45:23.940243"], ["updated_at", "2015-08-04 14:45:23.940243"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 3.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 09:45:23 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.0ms) Completed 200 OK in 12ms (Views: 1.5ms | ActiveRecord: 1.6ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-04 09:45:24 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-04", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-04 14:45:24.091471"], ["updated_at", "2015-08-04 14:45:24.093602"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 2.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 09:45:24 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.0ms) Completed 200 OK in 13ms (Views: 1.6ms | ActiveRecord: 1.6ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-04 09:45:24 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-18", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-18"], ["created_at", "2015-08-04 14:45:24.312844"], ["updated_at", "2015-08-04 14:45:24.312844"]]  (1.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-04 14:45:24.317903"], ["updated_at", "2015-08-04 14:45:24.317903"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 3.7ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 09:45:24 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 20ms (Views: 2.3ms | ActiveRecord: 2.4ms)  (0.2ms) ROLLBACK  (2.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-04', '2015-08-04 14:45:24', '2015-08-04 14:45:24', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-04 14:45:24.000000', '2015-08-04', '2015-08-04 14:45:24', '2015-08-04 14:45:24', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-04', '2015-08-04 14:45:24', '2015-08-04 14:45:24', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-04 14:45:24', '2015-08-04 14:45:24', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-04 14:45:24.000000', '2015-08-04', '2015-08-04 14:45:24', '2015-08-04 14:45:24', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-03', '2015-08-04 14:45:24', '2015-08-04 14:45:24', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-02', '2015-08-04 14:45:24', '2015-08-04 14:45:24', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-04 14:45:24.000000', '2015-08-04', '2015-08-04 14:45:24', '2015-08-04 14:45:24', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-04', '2015-08-04 14:45:24', '2015-08-04 14:45:24', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-04 14:45:24.000000', '2015-08-04', '2015-08-04 14:45:24', '2015-08-04 14:45:24', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-04', '2015-08-04 14:45:24', '2015-08-04 14:45:24', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-04 14:45:24.000000', '2015-08-04', '2015-08-04 14:45:24', '2015-08-04 14:45:24', 16804933, 816972181)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:24.657995"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-04 23:59:59.999999' AND created_at >= '2015-08-04 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:24.664180"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-04 23:59:59.999999' AND created_at >= '2015-08-04 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:24.670400"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:24.672990"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-28 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:24.786868"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:24.789925"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:24.797212"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 14:45:24.804389') AND ("social_networking_goals"."due_on" >= '2015-08-03 14:45:24.804414')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 14:45:24.810183') AND ("social_networking_goals"."due_on" >= '2015-08-03 14:45:24.810232') SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 14:45:24.814039') AND ("social_networking_goals"."due_on" >= '2015-08-03 14:45:24.814055')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-04"], ["completed_at", "2015-08-02 00:00:00.000000"], ["created_at", "2015-08-04 14:45:24.817968"], ["updated_at", "2015-08-04 14:45:24.817968"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-05"], ["created_at", "2015-08-04 14:45:24.823187"], ["updated_at", "2015-08-04 14:45:24.823187"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-04 14:45:24.827199"], ["updated_at", "2015-08-04 14:45:24.827199"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:24.841568"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (1.0ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:24.850398"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:24.855914"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-28 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-04 14:45:24.887401"], ["updated_at", "2015-08-04 14:45:24.887401"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-04 14:45:24.895329"], ["updated_at", "2015-08-04 14:45:24.895329"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-04 14:45:24.898732"], ["updated_at", "2015-08-04 14:45:24.898732"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:24.915584"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:24.925667"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:24.930360"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:24.994268"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:25.005412"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-04 14:45:25', '2015-08-04 14:45:25', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_likes" Fixture Insert (0.1ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-04 14:45:25', '2015-08-04 14:45:25', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 14:45:25.000000', '2015-08-04 14:45:25', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 14:45:25.000000', '2015-08-04 14:45:25', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 14:45:25.000000', '2015-08-04 14:45:25', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 14:45:25.000000', '2015-08-04 14:45:25', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-04 14:45:25', '2015-08-04 14:45:25', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-04 14:45:25', '2015-08-04 14:45:25', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-04 14:45:25', '2015-08-04 14:45:25', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-04 14:45:25', '2015-08-04 14:45:25', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-04 14:45:25', '2015-08-04 14:45:25', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-04 14:45:25', '2015-08-04 14:45:25', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-04 14:45:25', '2015-08-04 14:45:25', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-04 14:45:25', '2015-08-04 14:45:25', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-04 14:45:25', '2015-08-04 14:45:25', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-04 14:45:25', '2015-08-04 14:45:25', 809335042, 'SocialNetworking::Goal', 809335042)  (0.8ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.1ms) Completed 202 Accepted in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 14:45:25.198660"], ["updated_at", "2015-08-04 14:45:25.198660"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235641]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 14:45:25.208477"], ["updated_at", "2015-08-04 14:45:25.208477"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 14:45:25.212172"], ["updated_at", "2015-08-04 14:45:25.212172"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.6ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (8.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.9ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-04 14:45:54', '2015-08-04 14:45:54', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-04', '2015-08-04 14:45:54', '2015-08-04 14:45:54', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-04 14:45:54.000000', '2015-08-04', '2015-08-04 14:45:54', '2015-08-04 14:45:54', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-04', '2015-08-04 14:45:54', '2015-08-04 14:45:54', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-04 14:45:54', '2015-08-04 14:45:54', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-04 14:45:54.000000', '2015-08-04', '2015-08-04 14:45:54', '2015-08-04 14:45:54', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-03', '2015-08-04 14:45:54', '2015-08-04 14:45:54', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-02', '2015-08-04 14:45:54', '2015-08-04 14:45:54', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-04 14:45:54.000000', '2015-08-04', '2015-08-04 14:45:54', '2015-08-04 14:45:54', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-04', '2015-08-04 14:45:54', '2015-08-04 14:45:54', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-04 14:45:54.000000', '2015-08-04', '2015-08-04 14:45:54', '2015-08-04 14:45:54', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-04', '2015-08-04 14:45:54', '2015-08-04 14:45:54', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-04 14:45:54.000000', '2015-08-04', '2015-08-04 14:45:54', '2015-08-04 14:45:54', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-04 14:45:54', '2015-08-04 14:45:54', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 14:45:54.000000', '2015-08-04 14:45:54', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 14:45:54.000000', '2015-08-04 14:45:54', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 14:45:54.000000', '2015-08-04 14:45:54', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 14:45:54.000000', '2015-08-04 14:45:54', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-04 14:45:54', '2015-08-04 14:45:54', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-04 14:45:54', '2015-08-04 14:45:54', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-04 14:45:54', '2015-08-04 14:45:54', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-04 14:45:54', '2015-08-04 14:45:54', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-04 14:45:54', '2015-08-04 14:45:54', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-04 14:45:54', '2015-08-04 14:45:54', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-04 14:45:54', '2015-08-04 14:45:54', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-04 14:45:54', '2015-08-04 14:45:54', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-04 14:45:54', '2015-08-04 14:45:54', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-04 14:45:54', '2015-08-04 14:45:54', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:54.728907"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:54.737662"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:54.741536"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SQL (5.9ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-04 14:45:54.780530"], ["updated_at", "2015-08-04 14:45:54.780530"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335043, null, SocialNetworking::Profile, 2015-08-04 14:45:54.78053, 2015-08-04 14:45:54.78053, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 43ms (Views: 0.2ms | ActiveRecord: 7.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 14:45:54.797404"], ["updated_at", "2015-08-04 14:45:54.797404"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235641]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 14:45:54.822402"], ["updated_at", "2015-08-04 14:45:54.822402"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 14:45:54.828314"], ["updated_at", "2015-08-04 14:45:54.828314"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 25ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-04 23:59:59.999999' AND created_at >= '2015-08-04 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:54.910901"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-04 23:59:59.999999' AND created_at >= '2015-08-04 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:54.918208"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:54.920901"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:54.925799"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:54.961126"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:54.970002"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-04 14:45:55.064410"], ["updated_at", "2015-08-04 14:45:55.064410"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-04 14:45:55.067365"], ["updated_at", "2015-08-04 14:45:55.067365"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:55.093842"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:55.100380"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:55.103227"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 14:45:55.106762') AND ("social_networking_goals"."due_on" >= '2015-08-03 14:45:55.106790')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 14:45:55.111793') AND ("social_networking_goals"."due_on" >= '2015-08-03 14:45:55.111818') SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 14:45:55.114368') AND ("social_networking_goals"."due_on" >= '2015-08-03 14:45:55.114412')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-04"], ["completed_at", "2015-08-02 00:00:00.000000"], ["created_at", "2015-08-04 14:45:55.118075"], ["updated_at", "2015-08-04 14:45:55.118075"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-04 14:45:55.124643"], ["updated_at", "2015-08-04 14:45:55.124643"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-05"], ["created_at", "2015-08-04 14:45:55.128886"], ["updated_at", "2015-08-04 14:45:55.128886"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-04 14:45:55.282800"], ["updated_at", "2015-08-04 14:45:55.282800"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-04 14:45:55.290433"], ["updated_at", "2015-08-04 14:45:55.290433"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-04 14:45:55.294958"], ["updated_at", "2015-08-04 14:45:55.294958"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:55.325525"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:55.333493"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 14:45:55.337234"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 12ms (Views: 11.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 09:45:56 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (1.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.7ms) Completed 200 OK in 105ms (Views: 77.4ms | ActiveRecord: 7.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-04 09:45:56 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-04 09:45:56 -0500 Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-04 09:45:56 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-18", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-18"], ["created_at", "2015-08-04 14:45:56.572284"], ["updated_at", "2015-08-04 14:45:56.572284"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-04 14:45:56.576841"], ["updated_at", "2015-08-04 14:45:56.576841"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 09:45:56 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 09:45:56 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 1.9ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-04 09:45:56 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-04", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-04 14:45:56.892242"], ["updated_at", "2015-08-04 14:45:56.894971"], ["id", 809335042]]  (0.6ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-04 14:45:56.899915"], ["updated_at", "2015-08-04 14:45:56.899915"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 3.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 09:45:56 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 2.0ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-04 09:45:57 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-01", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-01"], ["updated_at", "2015-08-04 14:45:57.204597"], ["id", 53334230]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.4ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 09:45:57 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 17ms (Views: 2.2ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-04 09:45:57 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-04", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-04 14:45:57.529102"], ["updated_at", "2015-08-04 14:45:57.531694"], ["id", 614371357]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (1.8ms) Sent mail to obama@ex.co (8.9ms) Date: Tue, 04 Aug 2015 09:59:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d3424f6ed_155213ff39c8521fc32765@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else wasn't it!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 223.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (2.0ms) Sent mail to obama@ex.co (8.7ms) Date: Tue, 04 Aug 2015 09:59:26 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d34e659bc_155ae3ff4514602006087@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else wasn't it!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 237.2ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (1.9ms) Sent mail to obama@ex.co (8.3ms) Date: Tue, 04 Aug 2015 10:01:30 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d3ca106c_15b523ff85a0601fc159ee@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else wasn't it!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 231.6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Tue, 04 Aug 2015 10:01:30 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d3ca3464_15b523ff85a0601fc160fd@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (1.5ms) Sent mail to obama@ex.co (8.1ms) Date: Tue, 04 Aug 2015 10:01:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d3da894a1_15be13ffdb9860208707d6@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 231.2ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Tue, 04 Aug 2015 10:01:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d3da8baea_15be13ffdb986020870882@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 3.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (1.4ms) Sent mail to obama@ex.co (7.3ms) Date: Tue, 04 Aug 2015 10:02:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d3fea391e_15ed73fe7b60601fc3477d@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 204.9ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Tue, 04 Aug 2015 10:02:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d3fea59e8_15ed73fe7b60601fc34855@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 3.7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Tue, 04 Aug 2015 10:02:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d3fea6c33_15ed73fe7b60601fc3494b@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (1.3ms) Sent mail to obama@ex.co (6.7ms) Date: Tue, 04 Aug 2015 10:03:23 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d43b9d05b_163d83fee090601f8163f4@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 199.1ms  (0.3ms) ROLLBACK  (0.2ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Tue, 04 Aug 2015 10:03:23 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d43b9f698_163d83fee090601f8164c0@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 3.4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Tue, 04 Aug 2015 10:03:23 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d43ba0c2f_163d83fee090601f8165b9@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (1.3ms) Sent mail to obama@ex.co (6.8ms) Date: Tue, 04 Aug 2015 10:04:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d46b740b5_165ba3fc28c8601f8953d8@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 198.1ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Tue, 04 Aug 2015 10:04:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d46b75e05_165ba3fc28c8601f8954c4@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.1ms) Date: Tue, 04 Aug 2015 10:04:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d46b77d66_165ba3fc28c8601f8955dd@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 6.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (1.3ms) Sent mail to obama@ex.co (6.5ms) Date: Tue, 04 Aug 2015 10:05:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d4a71c440_1674e3fc5ca06020057540@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 204.2ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Tue, 04 Aug 2015 10:05:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d4a71e079_1674e3fc5ca060200576b4@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 3.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Tue, 04 Aug 2015 10:05:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d4a71f39b_1674e3fc5ca060200577cc@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 3.6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (1.3ms) Sent mail to obama@ex.co (6.6ms) Date: Tue, 04 Aug 2015 10:05:25 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d4b565d13_168643fd682060200579e9@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 198.4ms  (0.4ms) ROLLBACK  (0.2ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Tue, 04 Aug 2015 10:05:25 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d4b567cc4_168643fd68206020058043@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.1ms) Date: Tue, 04 Aug 2015 10:05:25 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d4b569c94_168643fd682060200581a4@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 6.6ms  (0.1ms) ROLLBACK  (2.4ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-04 15:05:59', '2015-08-04 15:05:59', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-04', '2015-08-04 15:05:59', '2015-08-04 15:05:59', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-04 15:05:59.000000', '2015-08-04', '2015-08-04 15:05:59', '2015-08-04 15:05:59', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-04', '2015-08-04 15:05:59', '2015-08-04 15:05:59', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-04 15:05:59', '2015-08-04 15:05:59', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-04 15:05:59.000000', '2015-08-04', '2015-08-04 15:05:59', '2015-08-04 15:05:59', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-03', '2015-08-04 15:05:59', '2015-08-04 15:05:59', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-02', '2015-08-04 15:05:59', '2015-08-04 15:05:59', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-04 15:05:59.000000', '2015-08-04', '2015-08-04 15:05:59', '2015-08-04 15:05:59', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-04', '2015-08-04 15:05:59', '2015-08-04 15:05:59', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-04 15:05:59.000000', '2015-08-04', '2015-08-04 15:05:59', '2015-08-04 15:05:59', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-04', '2015-08-04 15:05:59', '2015-08-04 15:05:59', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-04 15:05:59.000000', '2015-08-04', '2015-08-04 15:05:59', '2015-08-04 15:05:59', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-04 15:05:59', '2015-08-04 15:05:59', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 15:05:59.000000', '2015-08-04 15:05:59', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 15:05:59.000000', '2015-08-04 15:05:59', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 15:05:59.000000', '2015-08-04 15:05:59', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 15:05:59.000000', '2015-08-04 15:05:59', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-04 15:05:59', '2015-08-04 15:05:59', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-04 15:05:59', '2015-08-04 15:05:59', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-04 15:05:59', '2015-08-04 15:05:59', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-04 15:05:59', '2015-08-04 15:05:59', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-04 15:05:59', '2015-08-04 15:05:59', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-04 15:05:59', '2015-08-04 15:05:59', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-04 15:05:59', '2015-08-04 15:05:59', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-04 15:05:59', '2015-08-04 15:05:59', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.4ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-04 15:05:59', '2015-08-04 15:05:59', 183235640, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.4ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-04 15:05:59', '2015-08-04 15:05:59', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 10:05:59 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.9ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.3ms) Completed 200 OK in 178ms (Views: 71.1ms | ActiveRecord: 6.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-04 10:06:00 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-04 10:06:00 -0500 Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-04 10:06:00 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-18", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-18"], ["created_at", "2015-08-04 15:06:00.573113"], ["updated_at", "2015-08-04 15:06:00.573113"]]  (5.9ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-04 15:06:00.589372"], ["updated_at", "2015-08-04 15:06:00.589372"]]  (5.9ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 33ms (Views: 0.3ms | ActiveRecord: 15.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 10:06:00 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 17ms (Views: 2.1ms | ActiveRecord: 2.4ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-04 10:06:00 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-01", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-01"], ["updated_at", "2015-08-04 15:06:00.807625"], ["id", 53334230]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 2.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 10:06:00 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 16ms (Views: 2.0ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-04 10:06:00 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-04", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-04 15:06:00.990972"], ["updated_at", "2015-08-04 15:06:00.993657"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.4ms | ActiveRecord: 3.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 10:06:01 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 17ms (Views: 1.9ms | ActiveRecord: 2.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 10:06:01 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 17ms (Views: 1.8ms | ActiveRecord: 2.3ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-04 10:06:01 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-04", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-04 15:06:01.316113"], ["updated_at", "2015-08-04 15:06:01.318425"], ["id", 809335042]]  (1.3ms) COMMIT  (0.4ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-04 15:06:01.323488"], ["updated_at", "2015-08-04 15:06:01.323488"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 3.7ms)  (0.2ms) ROLLBACK  (1.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-04 15:06:01', '2015-08-04 15:06:01', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-04', '2015-08-04 15:06:01', '2015-08-04 15:06:01', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-04 15:06:01.000000', '2015-08-04', '2015-08-04 15:06:01', '2015-08-04 15:06:01', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-04', '2015-08-04 15:06:01', '2015-08-04 15:06:01', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-04 15:06:01', '2015-08-04 15:06:01', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-04 15:06:01.000000', '2015-08-04', '2015-08-04 15:06:01', '2015-08-04 15:06:01', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-03', '2015-08-04 15:06:01', '2015-08-04 15:06:01', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-02', '2015-08-04 15:06:01', '2015-08-04 15:06:01', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-04 15:06:01.000000', '2015-08-04', '2015-08-04 15:06:01', '2015-08-04 15:06:01', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-04', '2015-08-04 15:06:01', '2015-08-04 15:06:01', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-04 15:06:01.000000', '2015-08-04', '2015-08-04 15:06:01', '2015-08-04 15:06:01', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-04', '2015-08-04 15:06:01', '2015-08-04 15:06:01', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-04 15:06:01.000000', '2015-08-04', '2015-08-04 15:06:01', '2015-08-04 15:06:01', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-04 15:06:01', '2015-08-04 15:06:01', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 15:06:01.000000', '2015-08-04 15:06:01', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 15:06:01.000000', '2015-08-04 15:06:01', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 15:06:01.000000', '2015-08-04 15:06:01', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 15:06:01.000000', '2015-08-04 15:06:01', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-04 15:06:01', '2015-08-04 15:06:01', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-04 15:06:01', '2015-08-04 15:06:01', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-04 15:06:01', '2015-08-04 15:06:01', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-04 15:06:01', '2015-08-04 15:06:01', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-04 15:06:01', '2015-08-04 15:06:01', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-04 15:06:01', '2015-08-04 15:06:01', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-04 15:06:01', '2015-08-04 15:06:01', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-04 15:06:01', '2015-08-04 15:06:01', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-04 15:06:01', '2015-08-04 15:06:01', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-04 15:06:01', '2015-08-04 15:06:01', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-04 15:06:01.407605"], ["updated_at", "2015-08-04 15:06:01.407605"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-04 15:06:01.410693"], ["updated_at", "2015-08-04 15:06:01.410693"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 12ms (Views: 9.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:01.559173"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:01.563589"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:01.571845"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-04 23:59:59.999999' AND created_at >= '2015-08-04 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:01.604015"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-04 23:59:59.999999' AND created_at >= '2015-08-04 00:00:00.000000')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-28 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:01.612091"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:01.617154"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:01.624333"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.5ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-04 15:06:01.655883"], ["updated_at", "2015-08-04 15:06:01.655883"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-04 15:06:01.660729"], ["updated_at", "2015-08-04 15:06:01.660729"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-04 15:06:01.663651"], ["updated_at", "2015-08-04 15:06:01.663651"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:01.730514"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:01.733451"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:01.742458"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-04 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-04"], ["completed_at", "2015-08-02 00:00:00.000000"], ["created_at", "2015-08-04 15:06:01.748039"], ["updated_at", "2015-08-04 15:06:01.748039"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-05"], ["created_at", "2015-08-04 15:06:01.752536"], ["updated_at", "2015-08-04 15:06:01.752536"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-04 15:06:01.758457"], ["updated_at", "2015-08-04 15:06:01.758457"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 15:06:01.761521') AND ("social_networking_goals"."due_on" >= '2015-08-03 15:06:01.761561') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 15:06:01.764805') AND ("social_networking_goals"."due_on" >= '2015-08-03 15:06:01.764826')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 15:06:01.766521') AND ("social_networking_goals"."due_on" >= '2015-08-03 15:06:01.766538')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SQL (1.2ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-04 15:06:01.823717"], ["updated_at", "2015-08-04 15:06:01.823717"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335046, null, SocialNetworking::Profile, 2015-08-04 15:06:01.823717, 2015-08-04 15:06:01.823717, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 17ms (Views: 0.2ms | ActiveRecord: 2.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.5ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:01.984139"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-28 00:00:00.000000')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:01.998221"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 15:06:02.086969"], ["updated_at", "2015-08-04 15:06:02.086969"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 15:06:02.090995"], ["updated_at", "2015-08-04 15:06:02.090995"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 15:06:02.099730"], ["updated_at", "2015-08-04 15:06:02.099730"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235643]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (6.5ms) Date: Tue, 04 Aug 2015 10:06:02 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d4da4cf66_168823ffa00c601f87992@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 212.4ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.1ms) Date: Tue, 04 Aug 2015 10:06:02 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d4da4f3b0_168823ffa00c601f880f6@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 6.6ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.3ms) Date: Tue, 04 Aug 2015 10:06:02 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d4da50fc6_168823ffa00c601f881f3@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 5.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:02.356831"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:02.360770"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:02.368103"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-04 15:06:15.989096"], ["updated_at", "2015-08-04 15:06:15.989096"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (1, null, SocialNetworking::Profile, 2015-08-04 15:06:15.989096, 2015-08-04 15:06:15.989096, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 74ms (Views: 0.3ms | ActiveRecord: 9.5ms)  (0.3ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (3.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-04 15:06:16', '2015-08-04 15:06:16', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-04', '2015-08-04 15:06:16', '2015-08-04 15:06:16', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-04 15:06:16.000000', '2015-08-04', '2015-08-04 15:06:16', '2015-08-04 15:06:16', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-04', '2015-08-04 15:06:16', '2015-08-04 15:06:16', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-04 15:06:16', '2015-08-04 15:06:16', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-04 15:06:16.000000', '2015-08-04', '2015-08-04 15:06:16', '2015-08-04 15:06:16', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-03', '2015-08-04 15:06:16', '2015-08-04 15:06:16', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-02', '2015-08-04 15:06:16', '2015-08-04 15:06:16', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-04 15:06:16.000000', '2015-08-04', '2015-08-04 15:06:16', '2015-08-04 15:06:16', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-04', '2015-08-04 15:06:16', '2015-08-04 15:06:16', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-04 15:06:16.000000', '2015-08-04', '2015-08-04 15:06:16', '2015-08-04 15:06:16', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-04', '2015-08-04 15:06:16', '2015-08-04 15:06:16', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-04 15:06:16.000000', '2015-08-04', '2015-08-04 15:06:16', '2015-08-04 15:06:16', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-04 15:06:16', '2015-08-04 15:06:16', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 15:06:16.000000', '2015-08-04 15:06:16', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 15:06:16.000000', '2015-08-04 15:06:16', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 15:06:16.000000', '2015-08-04 15:06:16', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 15:06:16.000000', '2015-08-04 15:06:16', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-04 15:06:16', '2015-08-04 15:06:16', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-04 15:06:16', '2015-08-04 15:06:16', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-04 15:06:16', '2015-08-04 15:06:16', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-04 15:06:16', '2015-08-04 15:06:16', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-04 15:06:16', '2015-08-04 15:06:16', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-04 15:06:16', '2015-08-04 15:06:16', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-04 15:06:16', '2015-08-04 15:06:16', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-04 15:06:16', '2015-08-04 15:06:16', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-04 15:06:16', '2015-08-04 15:06:16', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-04 15:06:16', '2015-08-04 15:06:16', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (2.5ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 15:06:16.083401"], ["updated_at", "2015-08-04 15:06:16.083401"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 15:06:16.089701"], ["updated_at", "2015-08-04 15:06:16.089701"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 15:06:16.115009"], ["updated_at", "2015-08-04 15:06:16.115009"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235643]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.8ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 10:06:16 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.3ms) Completed 200 OK in 91ms (Views: 58.2ms | ActiveRecord: 5.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-04 10:06:16 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-04 10:06:16 -0500 SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-04 10:06:17 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-04", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-04 15:06:17.198034"], ["updated_at", "2015-08-04 15:06:17.200621"], ["id", 614371357]]  (1.7ms) COMMIT SocialNetworking::Comment Load (0.7ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 5.9ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 10:06:17 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.0ms) Completed 200 OK in 13ms (Views: 1.6ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-04 10:06:17 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-04", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-04 15:06:17.380588"], ["updated_at", "2015-08-04 15:06:17.383066"], ["id", 809335042]]  (1.3ms) COMMIT  (0.5ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-04 15:06:17.387976"], ["updated_at", "2015-08-04 15:06:17.387976"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 10:06:17 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.0ms) Completed 200 OK in 15ms (Views: 1.6ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 10:06:17 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (0.9ms) Completed 200 OK in 12ms (Views: 1.5ms | ActiveRecord: 1.5ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-04 10:06:17 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-01", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-01"], ["updated_at", "2015-08-04 15:06:17.709194"], ["id", 53334230]]  (0.8ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 10:06:17 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (0.9ms) Completed 200 OK in 12ms (Views: 1.5ms | ActiveRecord: 1.5ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-04 10:06:17 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-18", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-18"], ["created_at", "2015-08-04 15:06:17.989583"], ["updated_at", "2015-08-04 15:06:17.989583"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-04 15:06:17.994648"], ["updated_at", "2015-08-04 15:06:17.994648"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 4.0ms)  (0.1ms) ROLLBACK  (1.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.3ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:18.072678"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:18.083770"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:18.086988"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-04 15:06:18.094972"], ["updated_at", "2015-08-04 15:06:18.094972"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-05"], ["created_at", "2015-08-04 15:06:18.101309"], ["updated_at", "2015-08-04 15:06:18.101309"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-04"], ["completed_at", "2015-08-02 00:00:00.000000"], ["created_at", "2015-08-04 15:06:18.105805"], ["updated_at", "2015-08-04 15:06:18.105805"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.4ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-04 15:06:18', '2015-08-04 15:06:18', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-04', '2015-08-04 15:06:18', '2015-08-04 15:06:18', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-04 15:06:18.000000', '2015-08-04', '2015-08-04 15:06:18', '2015-08-04 15:06:18', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-04', '2015-08-04 15:06:18', '2015-08-04 15:06:18', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-04 15:06:18', '2015-08-04 15:06:18', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-04 15:06:18.000000', '2015-08-04', '2015-08-04 15:06:18', '2015-08-04 15:06:18', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-03', '2015-08-04 15:06:18', '2015-08-04 15:06:18', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-02', '2015-08-04 15:06:18', '2015-08-04 15:06:18', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-04 15:06:18.000000', '2015-08-04', '2015-08-04 15:06:18', '2015-08-04 15:06:18', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-04', '2015-08-04 15:06:18', '2015-08-04 15:06:18', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-04 15:06:18.000000', '2015-08-04', '2015-08-04 15:06:18', '2015-08-04 15:06:18', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-04', '2015-08-04 15:06:18', '2015-08-04 15:06:18', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-04 15:06:18.000000', '2015-08-04', '2015-08-04 15:06:18', '2015-08-04 15:06:18', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-04 15:06:18', '2015-08-04 15:06:18', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 15:06:18.000000', '2015-08-04 15:06:18', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 15:06:18.000000', '2015-08-04 15:06:18', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 15:06:18.000000', '2015-08-04 15:06:18', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 15:06:18.000000', '2015-08-04 15:06:18', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-04 15:06:18', '2015-08-04 15:06:18', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-04 15:06:18', '2015-08-04 15:06:18', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-04 15:06:18', '2015-08-04 15:06:18', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-04 15:06:18', '2015-08-04 15:06:18', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-04 15:06:18', '2015-08-04 15:06:18', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-04 15:06:18', '2015-08-04 15:06:18', 781294868) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-04 15:06:18', '2015-08-04 15:06:18', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-04 15:06:18', '2015-08-04 15:06:18', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-04 15:06:18', '2015-08-04 15:06:18', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-04 15:06:18', '2015-08-04 15:06:18', 809335042, 'SocialNetworking::Goal', 809335042)  (0.3ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 15:06:18.173073') AND ("social_networking_goals"."due_on" >= '2015-08-03 15:06:18.173110') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 15:06:18.176603') AND ("social_networking_goals"."due_on" >= '2015-08-03 15:06:18.176627')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 15:06:18.178544') AND ("social_networking_goals"."due_on" >= '2015-08-03 15:06:18.178563')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-28 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:18.341886"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:18.345360"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-28 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:18.351024"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-04 23:59:59.999999' AND created_at >= '2015-08-04 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:18.356974"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-04 23:59:59.999999' AND created_at >= '2015-08-04 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.6ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:18.420290"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:18.424284"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:18.431269"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:18.486646"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:18.490099"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-28 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:18.497032"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:18.513960"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 15:06:18.528186"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-04 15:06:18.595165"], ["updated_at", "2015-08-04 15:06:18.595165"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-04 15:06:18.599729"], ["updated_at", "2015-08-04 15:06:18.599729"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-04 15:06:18.602352"], ["updated_at", "2015-08-04 15:06:18.602352"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (8.4ms) Date: Tue, 04 Aug 2015 10:06:18 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d4ead37f0_168ea3fd99586020056691@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 236.4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.1ms) Date: Tue, 04 Aug 2015 10:06:18 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d4ead5d4a_168ea3fd99586020056721@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 4.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Tue, 04 Aug 2015 10:06:18 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d4ead725f_168ea3fd99586020056832@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-04 15:06:18.885884"], ["updated_at", "2015-08-04 15:06:18.885884"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-04 15:06:18.888536"], ["updated_at", "2015-08-04 15:06:18.888536"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (1.9ms) Sent mail to obama@ex.co (8.8ms) Date: Tue, 04 Aug 2015 10:08:15 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d55fbbab1_16d073feca946020031260@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 217.3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.6ms) Date: Tue, 04 Aug 2015 10:08:15 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d55fbdbbc_16d073feca9460200313ec@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Tue, 04 Aug 2015 10:08:15 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d55fbf3fc_16d073feca946020031429@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (1.9ms) Sent mail to obama@ex.co (8.0ms) Date: Tue, 04 Aug 2015 10:08:27 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d56be815d_16ea83fc7a2060208391d@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 216.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Tue, 04 Aug 2015 10:08:27 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d56be9fcc_16ea83fc7a206020840e6@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.4ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.8ms) Date: Tue, 04 Aug 2015 10:08:27 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d56bec293_16ea83fc7a206020841a2@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 5.6ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN INFO BEFORE: Nudge email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (1.7ms) Sent mail to obama@ex.co (8.4ms) Date: Tue, 04 Aug 2015 10:11:57 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d63d28869_173b93fe4e84602008831d@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Nudge email notification sent to:obama@ex.co NudgeMailer#nudge_email_alert: processed outbound mail in 215.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Nudge email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Tue, 04 Aug 2015 10:11:57 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d63d2a75d_173b93fe4e846020088437@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Nudge email notification sent to:obama@ex.co NudgeMailer#nudge_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Nudge email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Tue, 04 Aug 2015 10:11:57 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d63d2bc93_173b93fe4e846020088544@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Nudge email notification sent to:obama@ex.co NudgeMailer#nudge_email_alert: processed outbound mail in 3.1ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN INFO BEFORE: Nudge email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (1.5ms) Sent mail to obama@ex.co (6.4ms) Date: Tue, 04 Aug 2015 10:12:12 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d64c385ea_174ac3fd644c6020063856@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Nudge email notification sent to:obama@ex.co NudgeMailer#nudge_email_alert: processed outbound mail in 205.7ms  (0.3ms) ROLLBACK  (0.3ms) BEGIN INFO BEFORE: Nudge email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.0ms) Date: Tue, 04 Aug 2015 10:12:12 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d64c3ad92_174ac3fd644c60200639f8@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Nudge email notification sent to:obama@ex.co NudgeMailer#nudge_email_alert: processed outbound mail in 6.5ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN INFO BEFORE: Nudge email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.6ms) Date: Tue, 04 Aug 2015 10:12:12 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d64c3c9e1_174ac3fd644c60200640dc@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Nudge email notification sent to:obama@ex.co NudgeMailer#nudge_email_alert: processed outbound mail in 4.0ms  (0.1ms) ROLLBACK  (1.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.3ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:24.904241"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:24.908084"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-28 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:24.917078"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-05"], ["created_at", "2015-08-04 15:12:24.950571"], ["updated_at", "2015-08-04 15:12:24.950571"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-04 15:12:24.955039"], ["updated_at", "2015-08-04 15:12:24.955039"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-04"], ["completed_at", "2015-08-02 00:00:00.000000"], ["created_at", "2015-08-04 15:12:24.961393"], ["updated_at", "2015-08-04 15:12:24.961393"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-04 15:12:24', '2015-08-04 15:12:24', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-04', '2015-08-04 15:12:24', '2015-08-04 15:12:24', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-04 15:12:24.000000', '2015-08-04', '2015-08-04 15:12:24', '2015-08-04 15:12:24', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-04', '2015-08-04 15:12:24', '2015-08-04 15:12:24', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-04 15:12:24', '2015-08-04 15:12:24', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-04 15:12:24.000000', '2015-08-04', '2015-08-04 15:12:24', '2015-08-04 15:12:24', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-03', '2015-08-04 15:12:24', '2015-08-04 15:12:24', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-02', '2015-08-04 15:12:24', '2015-08-04 15:12:24', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-04 15:12:24.000000', '2015-08-04', '2015-08-04 15:12:24', '2015-08-04 15:12:24', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-04', '2015-08-04 15:12:24', '2015-08-04 15:12:24', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-04 15:12:24.000000', '2015-08-04', '2015-08-04 15:12:24', '2015-08-04 15:12:24', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-04', '2015-08-04 15:12:24', '2015-08-04 15:12:24', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-04 15:12:24.000000', '2015-08-04', '2015-08-04 15:12:24', '2015-08-04 15:12:24', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-04 15:12:24', '2015-08-04 15:12:24', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 15:12:24.000000', '2015-08-04 15:12:24', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 15:12:24.000000', '2015-08-04 15:12:24', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 15:12:24.000000', '2015-08-04 15:12:24', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 15:12:24.000000', '2015-08-04 15:12:24', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-04 15:12:24', '2015-08-04 15:12:24', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-04 15:12:24', '2015-08-04 15:12:24', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-04 15:12:25', '2015-08-04 15:12:25', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-04 15:12:25', '2015-08-04 15:12:25', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-04 15:12:25', '2015-08-04 15:12:25', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-04 15:12:25', '2015-08-04 15:12:25', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-04 15:12:25', '2015-08-04 15:12:25', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-04 15:12:25', '2015-08-04 15:12:25', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-04 15:12:25', '2015-08-04 15:12:25', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-04 15:12:25', '2015-08-04 15:12:25', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 15:12:25.043290') AND ("social_networking_goals"."due_on" >= '2015-08-03 15:12:25.043321') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 15:12:25.047980') AND ("social_networking_goals"."due_on" >= '2015-08-03 15:12:25.048000')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 15:12:25.050856') AND ("social_networking_goals"."due_on" >= '2015-08-03 15:12:25.050899')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 15:12:25.063781"], ["updated_at", "2015-08-04 15:12:25.063781"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 15:12:25.068545"], ["updated_at", "2015-08-04 15:12:25.068545"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 15:12:25.091600"], ["updated_at", "2015-08-04 15:12:25.091600"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235643]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-04 15:12:25.108241"], ["updated_at", "2015-08-04 15:12:25.108241"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-04 15:12:25.119470"], ["updated_at", "2015-08-04 15:12:25.119470"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-04 15:12:25.122509"], ["updated_at", "2015-08-04 15:12:25.122509"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:25.159455"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:25.177146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (1.3ms) Sent mail to obama@ex.co (6.3ms) Date: Tue, 04 Aug 2015 10:12:25 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d65962dc4_175383ffdb146020045465@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 199.1ms  (0.3ms) ROLLBACK  (0.2ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Tue, 04 Aug 2015 10:12:25 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d65964b42_175383ffdb1460200455c2@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 3.4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.8ms) Date: Tue, 04 Aug 2015 10:12:25 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d65966670_175383ffdb1460200456c1@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 5.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 10:12:26 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.6ms) Completed 200 OK in 111ms (Views: 84.3ms | ActiveRecord: 5.6ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-04 10:12:26 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-04 10:12:26 -0500 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-04 10:12:26 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-04", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-04 15:12:26.480932"], ["updated_at", "2015-08-04 15:12:26.483832"], ["id", 809335042]]  (1.8ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-04 15:12:26.490670"], ["updated_at", "2015-08-04 15:12:26.490670"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 18ms (Views: 0.3ms | ActiveRecord: 4.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 10:12:26 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 19ms (Views: 2.2ms | ActiveRecord: 2.4ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-04 10:12:26 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-01", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-01"], ["updated_at", "2015-08-04 15:12:26.821832"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 3.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 10:12:26 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.8ms) Completed 200 OK in 17ms (Views: 2.9ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-04 10:12:27 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-04", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-04 15:12:27.014604"], ["updated_at", "2015-08-04 15:12:27.017519"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 3.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 10:12:27 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.0ms) Completed 200 OK in 13ms (Views: 1.6ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 10:12:27 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 13ms (Views: 1.7ms | ActiveRecord: 1.5ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-04 10:12:27 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-18", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-18"], ["created_at", "2015-08-04 15:12:27.391057"], ["updated_at", "2015-08-04 15:12:27.391057"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-04 15:12:27.397553"], ["updated_at", "2015-08-04 15:12:27.397553"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 4.2ms)  (0.2ms) ROLLBACK  (1.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-04 15:12:27', '2015-08-04 15:12:27', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-04', '2015-08-04 15:12:27', '2015-08-04 15:12:27', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-04 15:12:27.000000', '2015-08-04', '2015-08-04 15:12:27', '2015-08-04 15:12:27', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-04', '2015-08-04 15:12:27', '2015-08-04 15:12:27', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-04 15:12:27', '2015-08-04 15:12:27', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-04 15:12:27.000000', '2015-08-04', '2015-08-04 15:12:27', '2015-08-04 15:12:27', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-03', '2015-08-04 15:12:27', '2015-08-04 15:12:27', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-02', '2015-08-04 15:12:27', '2015-08-04 15:12:27', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-04 15:12:27.000000', '2015-08-04', '2015-08-04 15:12:27', '2015-08-04 15:12:27', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-04', '2015-08-04 15:12:27', '2015-08-04 15:12:27', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-04 15:12:27.000000', '2015-08-04', '2015-08-04 15:12:27', '2015-08-04 15:12:27', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-04', '2015-08-04 15:12:27', '2015-08-04 15:12:27', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-04 15:12:27.000000', '2015-08-04', '2015-08-04 15:12:27', '2015-08-04 15:12:27', 16804933, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-04 15:12:27', '2015-08-04 15:12:27', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 15:12:27.000000', '2015-08-04 15:12:27', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 15:12:27.000000', '2015-08-04 15:12:27', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 15:12:27.000000', '2015-08-04 15:12:27', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 15:12:27.000000', '2015-08-04 15:12:27', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-04 15:12:27', '2015-08-04 15:12:27', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-04 15:12:27', '2015-08-04 15:12:27', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-04 15:12:27', '2015-08-04 15:12:27', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-04 15:12:27', '2015-08-04 15:12:27', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-04 15:12:27', '2015-08-04 15:12:27', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-04 15:12:27', '2015-08-04 15:12:27', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-04 15:12:27', '2015-08-04 15:12:27', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-04 15:12:27', '2015-08-04 15:12:27', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-04 15:12:27', '2015-08-04 15:12:27', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-04 15:12:27', '2015-08-04 15:12:27', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Nudge email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.4ms) Date: Tue, 04 Aug 2015 10:12:27 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d65ba61a4_175383ffdb146020045755@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Nudge email notification sent to:obama@ex.co NudgeMailer#nudge_email_alert: processed outbound mail in 37.3ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN INFO BEFORE: Nudge email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Tue, 04 Aug 2015 10:12:27 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d65ba76ae_175383ffdb146020045887@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Nudge email notification sent to:obama@ex.co NudgeMailer#nudge_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Nudge email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Tue, 04 Aug 2015 10:12:27 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d65ba8933_175383ffdb1460200459e7@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Nudge email notification sent to:obama@ex.co NudgeMailer#nudge_email_alert: processed outbound mail in 3.3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:27.725947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:27.731565"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:27.734371"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-04 23:59:59.999999' AND created_at >= '2015-08-04 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:27.741176"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-04 23:59:59.999999' AND created_at >= '2015-08-04 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.8ms) Sent mail to obama@ex.co (3.0ms) Date: Tue, 04 Aug 2015 10:12:27 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d65bc1a4c_175383ffdb14602004604c@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 42.6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Tue, 04 Aug 2015 10:12:27 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d65bc2dff_175383ffdb1460200461c7@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (4.2ms) Date: Tue, 04 Aug 2015 10:12:27 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d65bc4828_175383ffdb1460200462ea@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 6.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-04 15:12:27.822551"], ["updated_at", "2015-08-04 15:12:27.822551"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335043, null, SocialNetworking::Profile, 2015-08-04 15:12:27.822551, 2015-08-04 15:12:27.822551, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 16ms (Views: 0.2ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.7ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:28.041711"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:28.045661"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:28.053381"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-04 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-04 15:12:28.072428"], ["updated_at", "2015-08-04 15:12:28.072428"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-04 15:12:28.075151"], ["updated_at", "2015-08-04 15:12:28.075151"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:28.092659"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:28.096134"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:28.102923"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-04 23:59:59.999999')  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (1.6ms) Sent mail to obama@ex.co (6.2ms) Date: Tue, 04 Aug 2015 10:12:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d675e623e_1754c3fd2c0c6020048547@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 222.9ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.0ms) Date: Tue, 04 Aug 2015 10:12:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d675e8534_1754c3fd2c0c602004867e@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 6.3ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.4ms) Date: Tue, 04 Aug 2015 10:12:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d675ea535_1754c3fd2c0c602004878e@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 5.1ms  (0.1ms) ROLLBACK  (3.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-04 15:12:53', '2015-08-04 15:12:53', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-04', '2015-08-04 15:12:53', '2015-08-04 15:12:53', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-04 15:12:53.000000', '2015-08-04', '2015-08-04 15:12:53', '2015-08-04 15:12:53', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-04', '2015-08-04 15:12:53', '2015-08-04 15:12:53', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-04 15:12:53', '2015-08-04 15:12:53', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-04 15:12:53.000000', '2015-08-04', '2015-08-04 15:12:53', '2015-08-04 15:12:53', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-03', '2015-08-04 15:12:53', '2015-08-04 15:12:53', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-02', '2015-08-04 15:12:53', '2015-08-04 15:12:53', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-04 15:12:53.000000', '2015-08-04', '2015-08-04 15:12:53', '2015-08-04 15:12:53', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-04', '2015-08-04 15:12:53', '2015-08-04 15:12:53', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-04 15:12:53.000000', '2015-08-04', '2015-08-04 15:12:53', '2015-08-04 15:12:53', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-04', '2015-08-04 15:12:53', '2015-08-04 15:12:53', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-04 15:12:53.000000', '2015-08-04', '2015-08-04 15:12:53', '2015-08-04 15:12:53', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-04 15:12:54', '2015-08-04 15:12:54', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 15:12:53.000000', '2015-08-04 15:12:54', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 15:12:53.000000', '2015-08-04 15:12:54', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 15:12:53.000000', '2015-08-04 15:12:54', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 15:12:53.000000', '2015-08-04 15:12:54', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-04 15:12:54', '2015-08-04 15:12:54', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-04 15:12:54', '2015-08-04 15:12:54', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-04 15:12:54', '2015-08-04 15:12:54', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-04 15:12:54', '2015-08-04 15:12:54', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-04 15:12:54', '2015-08-04 15:12:54', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-04 15:12:54', '2015-08-04 15:12:54', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-04 15:12:54', '2015-08-04 15:12:54', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-04 15:12:54', '2015-08-04 15:12:54', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-04 15:12:54', '2015-08-04 15:12:54', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-04 15:12:54', '2015-08-04 15:12:54', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:54.277755"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:54.282738"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-28 00:00:00.000000')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:54.292741"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 15:12:54.301438') AND ("social_networking_goals"."due_on" >= '2015-08-03 15:12:54.301464')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 15:12:54.307263') AND ("social_networking_goals"."due_on" >= '2015-08-03 15:12:54.307307') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 15:12:54.311500') AND ("social_networking_goals"."due_on" >= '2015-08-03 15:12:54.311527')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-04"], ["completed_at", "2015-08-02 00:00:00.000000"], ["created_at", "2015-08-04 15:12:54.315651"], ["updated_at", "2015-08-04 15:12:54.315651"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-05"], ["created_at", "2015-08-04 15:12:54.320477"], ["updated_at", "2015-08-04 15:12:54.320477"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-04 15:12:54.325702"], ["updated_at", "2015-08-04 15:12:54.325702"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:54.335713"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:54.345142"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:54.349876"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-28 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 15:12:54.366355"], ["updated_at", "2015-08-04 15:12:54.366355"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235641]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.1ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 15:12:54.385494"], ["updated_at", "2015-08-04 15:12:54.385494"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 15:12:54.389525"], ["updated_at", "2015-08-04 15:12:54.389525"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-04 23:59:59.999999' AND created_at >= '2015-08-04 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:54.410428"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-04 23:59:59.999999' AND created_at >= '2015-08-04 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:54.415300"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:54.420243"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:54.422796"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.2ms) Date: Tue, 04 Aug 2015 10:12:54 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d6767245e_1754c3fd2c0c6020048851@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 42.4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.8ms) Date: Tue, 04 Aug 2015 10:12:54 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d676741a8_1754c3fd2c0c6020048917@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 5.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (3.1ms) Date: Tue, 04 Aug 2015 10:12:54 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d67675a83_1754c3fd2c0c6020049081@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 4.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-04 15:12:54.579137"], ["updated_at", "2015-08-04 15:12:54.579137"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-04 15:12:54.583727"], ["updated_at", "2015-08-04 15:12:54.583727"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-04 15:12:54.586179"], ["updated_at", "2015-08-04 15:12:54.586179"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-04 15:12:54.595491"], ["updated_at", "2015-08-04 15:12:54.595491"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-04 15:12:54.597987"], ["updated_at", "2015-08-04 15:12:54.597987"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-04 15:12:54.614568"], ["updated_at", "2015-08-04 15:12:54.614568"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335046, null, SocialNetworking::Profile, 2015-08-04 15:12:54.614568, 2015-08-04 15:12:54.614568, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 14ms (Views: 0.3ms | ActiveRecord: 2.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:54.655803"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:54.665204"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:54.704909"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:54.714900"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 15:12:54.720488"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-28 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 10:12:55 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.2ms) Completed 200 OK in 66ms (Views: 44.9ms | ActiveRecord: 4.6ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-04 10:12:55 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-04 10:12:55 -0500 Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-04 10:12:55 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-18", "goal"=>{"description"=>"all of the things"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-18"], ["created_at", "2015-08-04 15:12:55.777010"], ["updated_at", "2015-08-04 15:12:55.777010"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-04 15:12:55.782729"], ["updated_at", "2015-08-04 15:12:55.782729"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 3.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 10:12:55 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 20ms (Views: 1.9ms | ActiveRecord: 3.1ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-04 10:12:56 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-01", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.7ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-01"], ["updated_at", "2015-08-04 15:12:56.032476"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 3.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 10:12:56 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.2ms) Completed 200 OK in 20ms (Views: 3.1ms | ActiveRecord: 2.2ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-04 10:12:56 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-04", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-04 15:12:56.340610"], ["updated_at", "2015-08-04 15:12:56.343113"], ["id", 809335042]]  (1.4ms) COMMIT  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-04 15:12:56.348150"], ["updated_at", "2015-08-04 15:12:56.348150"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 3.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 10:12:56 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 17ms (Views: 1.9ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-04 10:12:56 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-04", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-04 15:12:56.498744"], ["updated_at", "2015-08-04 15:12:56.501037"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 2.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 10:12:56 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 15ms (Views: 2.0ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Nudge email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.7ms) Date: Tue, 04 Aug 2015 10:12:56 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d678caad3_1754c3fd2c0c602004916@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Nudge email notification sent to:obama@ex.co NudgeMailer#nudge_email_alert: processed outbound mail in 37.3ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN INFO BEFORE: Nudge email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Tue, 04 Aug 2015 10:12:56 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d678cc056_1754c3fd2c0c602004925@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Nudge email notification sent to:obama@ex.co NudgeMailer#nudge_email_alert: processed outbound mail in 3.5ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN INFO BEFORE: Nudge email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.0ms) Date: Tue, 04 Aug 2015 10:12:56 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0d678cdbe5_1754c3fd2c0c60200493fe@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Nudge email notification sent to:obama@ex.co NudgeMailer#nudge_email_alert: processed outbound mail in 6.0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (2.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-04 16:26:11', '2015-08-04 16:26:11', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-04', '2015-08-04 16:26:11', '2015-08-04 16:26:11', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-04 16:26:11.000000', '2015-08-04', '2015-08-04 16:26:11', '2015-08-04 16:26:11', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-04', '2015-08-04 16:26:11', '2015-08-04 16:26:11', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-04 16:26:11', '2015-08-04 16:26:11', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-04 16:26:11.000000', '2015-08-04', '2015-08-04 16:26:11', '2015-08-04 16:26:11', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-03', '2015-08-04 16:26:11', '2015-08-04 16:26:11', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-02', '2015-08-04 16:26:11', '2015-08-04 16:26:11', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-04 16:26:11.000000', '2015-08-04', '2015-08-04 16:26:11', '2015-08-04 16:26:11', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-04', '2015-08-04 16:26:11', '2015-08-04 16:26:11', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-04 16:26:11.000000', '2015-08-04', '2015-08-04 16:26:11', '2015-08-04 16:26:11', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-04', '2015-08-04 16:26:11', '2015-08-04 16:26:11', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-04 16:26:11.000000', '2015-08-04', '2015-08-04 16:26:11', '2015-08-04 16:26:11', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-04 16:26:11', '2015-08-04 16:26:11', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 16:26:11.000000', '2015-08-04 16:26:11', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 16:26:11.000000', '2015-08-04 16:26:11', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 16:26:11.000000', '2015-08-04 16:26:11', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 16:26:11.000000', '2015-08-04 16:26:11', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-04 16:26:11', '2015-08-04 16:26:11', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-04 16:26:11', '2015-08-04 16:26:11', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-04 16:26:11', '2015-08-04 16:26:11', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-04 16:26:11', '2015-08-04 16:26:11', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-04 16:26:11', '2015-08-04 16:26:11', 10484799, 183235640) Fixture Delete (0.6ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.5ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-04 16:26:11', '2015-08-04 16:26:11', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-04 16:26:11', '2015-08-04 16:26:11', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-04 16:26:11', '2015-08-04 16:26:11', 10484799) Fixture Delete (0.5ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.4ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-04 16:26:11', '2015-08-04 16:26:11', 183235640, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_shared_items" Fixture Insert (4.6ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-04 16:26:11', '2015-08-04 16:26:11', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-04 16:26:11.625315"], ["updated_at", "2015-08-04 16:26:11.625315"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-04 16:26:11.630059"], ["updated_at", "2015-08-04 16:26:11.630059"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 11:26:12 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (1.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.9ms) Completed 200 OK in 136ms (Views: 86.0ms | ActiveRecord: 6.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-04 11:26:12 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-04 11:26:12 -0500  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 11:26:12 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 2.3ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-04 11:26:12 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-01", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-01"], ["updated_at", "2015-08-04 16:26:12.957627"], ["id", 53334230]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 1.6ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 11:26:13 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.0ms) Completed 200 OK in 13ms (Views: 1.6ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-04 11:26:13 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-04", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-04 16:26:13.161355"], ["updated_at", "2015-08-04 16:26:13.163758"], ["id", 809335042]]  (0.3ms) COMMIT  (0.5ms) BEGIN SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-04 16:26:13.167890"], ["updated_at", "2015-08-04 16:26:13.167890"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 11:26:13 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.0ms) Completed 200 OK in 12ms (Views: 1.6ms | ActiveRecord: 1.5ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-04 11:26:13 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-04", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-04 16:26:13.315382"], ["updated_at", "2015-08-04 16:26:13.317783"], ["id", 614371357]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 11:26:13 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (11.8ms) Completed 200 OK in 23ms (Views: 12.4ms | ActiveRecord: 1.5ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-04 11:26:13 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-18", "goal"=>{"description"=>"all of the things"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-18"], ["created_at", "2015-08-04 16:26:13.713387"], ["updated_at", "2015-08-04 16:26:13.713387"]]  (0.5ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-04 16:26:13.717328"], ["updated_at", "2015-08-04 16:26:13.717328"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 2.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (7.4ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-04 16:26:13', '2015-08-04 16:26:13', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-04', '2015-08-04 16:26:13', '2015-08-04 16:26:13', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-04 16:26:13.000000', '2015-08-04', '2015-08-04 16:26:13', '2015-08-04 16:26:13', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-04', '2015-08-04 16:26:13', '2015-08-04 16:26:13', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-04 16:26:13', '2015-08-04 16:26:13', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-04 16:26:13.000000', '2015-08-04', '2015-08-04 16:26:13', '2015-08-04 16:26:13', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-03', '2015-08-04 16:26:13', '2015-08-04 16:26:13', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-02', '2015-08-04 16:26:13', '2015-08-04 16:26:13', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-04 16:26:13.000000', '2015-08-04', '2015-08-04 16:26:13', '2015-08-04 16:26:13', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-04', '2015-08-04 16:26:13', '2015-08-04 16:26:13', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-04 16:26:13.000000', '2015-08-04', '2015-08-04 16:26:13', '2015-08-04 16:26:13', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-04', '2015-08-04 16:26:13', '2015-08-04 16:26:13', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-04 16:26:13.000000', '2015-08-04', '2015-08-04 16:26:13', '2015-08-04 16:26:13', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-04 16:26:13', '2015-08-04 16:26:13', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 16:26:13.000000', '2015-08-04 16:26:13', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 16:26:13.000000', '2015-08-04 16:26:13', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 16:26:13.000000', '2015-08-04 16:26:13', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 16:26:13.000000', '2015-08-04 16:26:13', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-04 16:26:13', '2015-08-04 16:26:13', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-04 16:26:13', '2015-08-04 16:26:13', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-04 16:26:13', '2015-08-04 16:26:13', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-04 16:26:13', '2015-08-04 16:26:13', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-04 16:26:13', '2015-08-04 16:26:13', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-04 16:26:13', '2015-08-04 16:26:13', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-04 16:26:13', '2015-08-04 16:26:13', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-04 16:26:13', '2015-08-04 16:26:13', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.4ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-04 16:26:13', '2015-08-04 16:26:13', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-04 16:26:13', '2015-08-04 16:26:13', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Goal Load (0.7ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (8.0ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 16:26:13.940688"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 16:26:13.951800"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 16:26:13.955929"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 16:26:14.023762"], ["updated_at", "2015-08-04 16:26:14.023762"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235641]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 16:26:14.035173"], ["updated_at", "2015-08-04 16:26:14.035173"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 16:26:14.040400"], ["updated_at", "2015-08-04 16:26:14.040400"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN CommentMailer#comment_email_alert: processed outbound mail in 0.3ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (8.6ms) Date: Tue, 04 Aug 2015 11:26:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0e7a6543e5_183483fe83c460208346b4@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 216.0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Tue, 04 Aug 2015 11:26:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0e7a655f17_183483fe83c46020834793@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 16:26:14.367305"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 16:26:14.374551"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 16:26:14.378174"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-28 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-04 16:26:14.386189"], ["updated_at", "2015-08-04 16:26:14.386189"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-04 16:26:14.393905"], ["updated_at", "2015-08-04 16:26:14.393905"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-04 16:26:14.397861"], ["updated_at", "2015-08-04 16:26:14.397861"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 16:26:14.414668"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-04 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 16:26:14.422853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 16:26:14.426543"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 16:26:14.430119') AND ("social_networking_goals"."due_on" >= '2015-08-03 16:26:14.430152')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 16:26:14.432990') AND ("social_networking_goals"."due_on" >= '2015-08-03 16:26:14.433010') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 16:26:14.435103') AND ("social_networking_goals"."due_on" >= '2015-08-03 16:26:14.435119')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-04"], ["completed_at", "2015-08-02 00:00:00.000000"], ["created_at", "2015-08-04 16:26:14.440908"], ["updated_at", "2015-08-04 16:26:14.440908"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-04 16:26:14.444935"], ["updated_at", "2015-08-04 16:26:14.444935"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-05"], ["created_at", "2015-08-04 16:26:14.448696"], ["updated_at", "2015-08-04 16:26:14.448696"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 16:26:14.454194"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 16:26:14.457520"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-04 23:59:59.999999' AND created_at >= '2015-08-04 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 16:26:14.463026"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-04 23:59:59.999999' AND created_at >= '2015-08-04 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 16:26:14.468039"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SQL (4.1ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-04 16:26:14.666885"], ["updated_at", "2015-08-04 16:26:14.666885"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335045, null, SocialNetworking::Profile, 2015-08-04 16:26:14.666885, 2015-08-04 16:26:14.666885, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 14ms (Views: 0.2ms | ActiveRecord: 5.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 16:26:14.761028"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 16:26:14.769222"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN LikeMailer#like_email_alert: processed outbound mail in 0.5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (2.9ms) Date: Tue, 04 Aug 2015 11:26:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0e7a6d94a3_183483fe83c46020834849@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 50.5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Tue, 04 Aug 2015 11:26:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0e7a6da90e_183483fe83c4602083492e@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN NudgeMailer#nudge_email_alert: processed outbound mail in 0.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Nudge email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.3ms) Date: Tue, 04 Aug 2015 11:26:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0e7a6e45a9_183483fe83c460208350a7@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Nudge email notification sent to:obama@ex.co NudgeMailer#nudge_email_alert: processed outbound mail in 37.7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Nudge email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.0ms) Date: Tue, 04 Aug 2015 11:26:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0e7a6e65d2_183483fe83c460208351a3@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Nudge email notification sent to:obama@ex.co NudgeMailer#nudge_email_alert: processed outbound mail in 6.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (1.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-04 16:28:08', '2015-08-04 16:28:08', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-04', '2015-08-04 16:28:08', '2015-08-04 16:28:08', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-04 16:28:08.000000', '2015-08-04', '2015-08-04 16:28:08', '2015-08-04 16:28:08', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-04', '2015-08-04 16:28:08', '2015-08-04 16:28:08', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-04 16:28:08', '2015-08-04 16:28:08', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-04 16:28:08.000000', '2015-08-04', '2015-08-04 16:28:08', '2015-08-04 16:28:08', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-03', '2015-08-04 16:28:08', '2015-08-04 16:28:08', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-02', '2015-08-04 16:28:08', '2015-08-04 16:28:08', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-04 16:28:08.000000', '2015-08-04', '2015-08-04 16:28:08', '2015-08-04 16:28:08', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-04', '2015-08-04 16:28:08', '2015-08-04 16:28:08', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-04 16:28:08.000000', '2015-08-04', '2015-08-04 16:28:08', '2015-08-04 16:28:08', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-04', '2015-08-04 16:28:08', '2015-08-04 16:28:08', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-04 16:28:08.000000', '2015-08-04', '2015-08-04 16:28:08', '2015-08-04 16:28:08', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-04 16:28:08', '2015-08-04 16:28:08', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 16:28:08.000000', '2015-08-04 16:28:08', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 16:28:08.000000', '2015-08-04 16:28:08', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 16:28:08.000000', '2015-08-04 16:28:08', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 16:28:08.000000', '2015-08-04 16:28:08', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-04 16:28:08', '2015-08-04 16:28:08', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-04 16:28:08', '2015-08-04 16:28:08', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-04 16:28:08', '2015-08-04 16:28:08', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-04 16:28:08', '2015-08-04 16:28:08', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-04 16:28:08', '2015-08-04 16:28:08', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-04 16:28:08', '2015-08-04 16:28:08', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-04 16:28:08', '2015-08-04 16:28:08', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-04 16:28:08', '2015-08-04 16:28:08', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-04 16:28:08', '2015-08-04 16:28:08', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-04 16:28:08', '2015-08-04 16:28:08', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 16:28:08.362532"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 16:28:08.372663"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 16:28:08.375366"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 16:28:08.378681') AND ("social_networking_goals"."due_on" >= '2015-08-03 16:28:08.378708')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 16:28:08.383744') AND ("social_networking_goals"."due_on" >= '2015-08-03 16:28:08.383768') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 16:28:08.386938') AND ("social_networking_goals"."due_on" >= '2015-08-03 16:28:08.386962')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-04"], ["completed_at", "2015-08-02 00:00:00.000000"], ["created_at", "2015-08-04 16:28:08.391122"], ["updated_at", "2015-08-04 16:28:08.391122"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-04 16:28:08.395273"], ["updated_at", "2015-08-04 16:28:08.395273"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-05"], ["created_at", "2015-08-04 16:28:08.402108"], ["updated_at", "2015-08-04 16:28:08.402108"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 16:28:08.434311"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 16:28:08.442271"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 16:28:08.445507"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-04 16:28:08.465146"], ["updated_at", "2015-08-04 16:28:08.465146"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335043, null, SocialNetworking::Profile, 2015-08-04 16:28:08.465146, 2015-08-04 16:28:08.465146, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 17ms (Views: 0.2ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 16:28:08.491291"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 16:28:08.500166"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 16:28:08.504069"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 16:28:08.569349"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 16:28:08.577768"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-04 16:28:08.712446"], ["updated_at", "2015-08-04 16:28:08.712446"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-04 16:28:08.721676"], ["updated_at", "2015-08-04 16:28:08.721676"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-04 16:28:08.724776"], ["updated_at", "2015-08-04 16:28:08.724776"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 11:28:09 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.5ms) Completed 200 OK in 130ms (Views: 93.2ms | ActiveRecord: 7.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-04 11:28:09 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-04 11:28:09 -0500 Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-04 11:28:09 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-18", "goal"=>{"description"=>"all of the things"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-18"], ["created_at", "2015-08-04 16:28:09.793120"], ["updated_at", "2015-08-04 16:28:09.793120"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-04 16:28:09.798780"], ["updated_at", "2015-08-04 16:28:09.798780"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 4.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 11:28:09 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 2.0ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-04 11:28:10 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-04", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-04 16:28:10.095052"], ["updated_at", "2015-08-04 16:28:10.098215"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.5ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 11:28:10 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 21ms (Views: 2.6ms | ActiveRecord: 2.4ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-04 11:28:10 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-04", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-04 16:28:10.263064"], ["updated_at", "2015-08-04 16:28:10.265474"], ["id", 809335042]]  (0.9ms) COMMIT  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-04 16:28:10.269909"], ["updated_at", "2015-08-04 16:28:10.269909"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 11:28:10 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.7ms) Completed 200 OK in 18ms (Views: 4.1ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.9ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-04 11:28:10 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-01", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-01"], ["updated_at", "2015-08-04 16:28:10.475651"], ["id", 53334230]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 2.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 11:28:10 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.0ms) Completed 200 OK in 17ms (Views: 3.2ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-04 23:59:59.999999' AND created_at >= '2015-08-04 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 16:28:10.840271"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-04 23:59:59.999999' AND created_at >= '2015-08-04 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 16:28:10.845907"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 16:28:10.852580"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 16:28:10.855344"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-04 16:28:10', '2015-08-04 16:28:10', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-04', '2015-08-04 16:28:10', '2015-08-04 16:28:10', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-04 16:28:10.000000', '2015-08-04', '2015-08-04 16:28:10', '2015-08-04 16:28:10', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-04', '2015-08-04 16:28:10', '2015-08-04 16:28:10', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-04 16:28:10', '2015-08-04 16:28:10', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-04 16:28:10.000000', '2015-08-04', '2015-08-04 16:28:10', '2015-08-04 16:28:10', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-03', '2015-08-04 16:28:10', '2015-08-04 16:28:10', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-02', '2015-08-04 16:28:10', '2015-08-04 16:28:10', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-04 16:28:10.000000', '2015-08-04', '2015-08-04 16:28:10', '2015-08-04 16:28:10', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-04', '2015-08-04 16:28:10', '2015-08-04 16:28:10', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-04 16:28:10.000000', '2015-08-04', '2015-08-04 16:28:10', '2015-08-04 16:28:10', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-04', '2015-08-04 16:28:10', '2015-08-04 16:28:10', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-04 16:28:10.000000', '2015-08-04', '2015-08-04 16:28:10', '2015-08-04 16:28:10', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-04 16:28:10', '2015-08-04 16:28:10', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 16:28:10.000000', '2015-08-04 16:28:10', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 16:28:10.000000', '2015-08-04 16:28:10', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 16:28:10.000000', '2015-08-04 16:28:10', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 16:28:10.000000', '2015-08-04 16:28:10', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-04 16:28:10', '2015-08-04 16:28:10', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-04 16:28:10', '2015-08-04 16:28:10', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-04 16:28:10', '2015-08-04 16:28:10', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-04 16:28:10', '2015-08-04 16:28:10', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-04 16:28:10', '2015-08-04 16:28:10', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.5ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-04 16:28:10', '2015-08-04 16:28:10', 781294868) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-04 16:28:10', '2015-08-04 16:28:10', 932760744) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-04 16:28:10', '2015-08-04 16:28:10', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-04 16:28:10', '2015-08-04 16:28:10', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-04 16:28:10', '2015-08-04 16:28:10', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-04 16:28:10.932416"], ["updated_at", "2015-08-04 16:28:10.932416"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-04 16:28:10.935163"], ["updated_at", "2015-08-04 16:28:10.935163"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (8.1ms) Date: Tue, 04 Aug 2015 11:28:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0e81b295bc_4683fef54860208598f@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 229.4ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Tue, 04 Aug 2015 11:28:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0e81b2b13c_4683fef54860208608a@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 3.7ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.9ms) Date: Tue, 04 Aug 2015 11:28:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0e81b2cdec_4683fef5486020861c0@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 6.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.5ms) Date: Tue, 04 Aug 2015 11:28:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0e81b36874_4683fef5486020862b9@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 37.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Tue, 04 Aug 2015 11:28:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0e81b37be7_4683fef5486020863ac@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Tue, 04 Aug 2015 11:28:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0e81b38c2c_4683fef548602086435@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Nudge email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.5ms) Date: Tue, 04 Aug 2015 11:28:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0e81b45277_4683fef54860208654@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Nudge email notification sent to:obama@ex.co NudgeMailer#nudge_email_alert: processed outbound mail in 38.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Nudge email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Tue, 04 Aug 2015 11:28:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0e81b46509_4683fef5486020866ed@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Nudge email notification sent to:obama@ex.co NudgeMailer#nudge_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Nudge email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Tue, 04 Aug 2015 11:28:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0e81b47771_4683fef548602086710@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Nudge email notification sent to:obama@ex.co NudgeMailer#nudge_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 16:28:11.342764"], ["updated_at", "2015-08-04 16:28:11.342764"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235641]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 16:28:11.353195"], ["updated_at", "2015-08-04 16:28:11.353195"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 16:28:11.357256"], ["updated_at", "2015-08-04 16:28:11.357256"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (7.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (6.1ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 16:35:19.780106"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.3ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 16:35:19.799147"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 16:35:19.801825"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-28 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-04 16:35:19.810647"], ["updated_at", "2015-08-04 16:35:19.810647"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-05"], ["created_at", "2015-08-04 16:35:19.816502"], ["updated_at", "2015-08-04 16:35:19.816502"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-04"], ["completed_at", "2015-08-02 00:00:00.000000"], ["created_at", "2015-08-04 16:35:19.821251"], ["updated_at", "2015-08-04 16:35:19.821251"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-04 16:35:19', '2015-08-04 16:35:19', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-04', '2015-08-04 16:35:19', '2015-08-04 16:35:19', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-04 16:35:19.000000', '2015-08-04', '2015-08-04 16:35:19', '2015-08-04 16:35:19', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-04', '2015-08-04 16:35:19', '2015-08-04 16:35:19', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-04 16:35:19', '2015-08-04 16:35:19', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-04 16:35:19.000000', '2015-08-04', '2015-08-04 16:35:19', '2015-08-04 16:35:19', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-03', '2015-08-04 16:35:19', '2015-08-04 16:35:19', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-02', '2015-08-04 16:35:19', '2015-08-04 16:35:19', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-04 16:35:19.000000', '2015-08-04', '2015-08-04 16:35:19', '2015-08-04 16:35:19', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-04', '2015-08-04 16:35:19', '2015-08-04 16:35:19', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-04 16:35:19.000000', '2015-08-04', '2015-08-04 16:35:19', '2015-08-04 16:35:19', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-04', '2015-08-04 16:35:19', '2015-08-04 16:35:19', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-04 16:35:19.000000', '2015-08-04', '2015-08-04 16:35:19', '2015-08-04 16:35:19', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-04 16:35:19', '2015-08-04 16:35:19', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 16:35:19.000000', '2015-08-04 16:35:19', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 16:35:19.000000', '2015-08-04 16:35:19', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 16:35:19.000000', '2015-08-04 16:35:19', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 16:35:19.000000', '2015-08-04 16:35:19', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-04 16:35:19', '2015-08-04 16:35:19', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-04 16:35:19', '2015-08-04 16:35:19', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-04 16:35:19', '2015-08-04 16:35:19', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-04 16:35:19', '2015-08-04 16:35:19', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-04 16:35:19', '2015-08-04 16:35:19', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-04 16:35:19', '2015-08-04 16:35:19', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-04 16:35:19', '2015-08-04 16:35:19', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-04 16:35:19', '2015-08-04 16:35:19', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-04 16:35:19', '2015-08-04 16:35:19', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-04 16:35:19', '2015-08-04 16:35:19', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 16:35:19.890351') AND ("social_networking_goals"."due_on" >= '2015-08-03 16:35:19.890388') SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 16:35:19.894551') AND ("social_networking_goals"."due_on" >= '2015-08-03 16:35:19.894571')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 16:35:19.896522') AND ("social_networking_goals"."due_on" >= '2015-08-03 16:35:19.896540')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-04 16:35:19.907001"], ["updated_at", "2015-08-04 16:35:19.907001"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-04 16:35:19.916004"], ["updated_at", "2015-08-04 16:35:19.916004"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-04 16:35:19.918785"], ["updated_at", "2015-08-04 16:35:19.918785"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Nudge email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (2.1ms) Sent mail to obama@ex.co (8.0ms) Date: Tue, 04 Aug 2015 11:35:20 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0e9c831ba3_ce33fc6d1c60200943d4@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Nudge email notification sent to:obama@ex.co NudgeMailer#nudge_email_alert: processed outbound mail in 219.5ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Nudge email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Tue, 04 Aug 2015 11:35:20 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0e9c833a32_ce33fc6d1c6020094421@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Nudge email notification sent to:obama@ex.co NudgeMailer#nudge_email_alert: processed outbound mail in 3.5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Nudge email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Tue, 04 Aug 2015 11:35:20 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0e9c834d62_ce33fc6d1c60200945e9@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Nudge email notification sent to:obama@ex.co NudgeMailer#nudge_email_alert: processed outbound mail in 3.4ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SQL (6.4ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-04 16:35:20.262650"], ["updated_at", "2015-08-04 16:35:20.262650"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335045, null, SocialNetworking::Profile, 2015-08-04 16:35:20.26265, 2015-08-04 16:35:20.26265, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 23ms (Views: 0.2ms | ActiveRecord: 7.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-04 16:35:20.350312"], ["updated_at", "2015-08-04 16:35:20.350312"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-04 16:35:20.352840"], ["updated_at", "2015-08-04 16:35:20.352840"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 16:35:20.365079"], ["updated_at", "2015-08-04 16:35:20.365079"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 16:35:20.369054"], ["updated_at", "2015-08-04 16:35:20.369054"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 16:35:20.387530"], ["updated_at", "2015-08-04 16:35:20.387530"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235643]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 16:35:20.398710"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-28 00:00:00.000000')  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 16:35:20.419040"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 11:35:21 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.2ms) Completed 200 OK in 93ms (Views: 66.5ms | ActiveRecord: 6.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-04 11:35:21 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-04 11:35:21 -0500 SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-04 11:35:21 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-04", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (1.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-04 16:35:21.430094"], ["updated_at", "2015-08-04 16:35:21.433685"], ["id", 809335042]]  (1.6ms) COMMIT  (0.3ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-04 16:35:21.440595"], ["updated_at", "2015-08-04 16:35:21.440595"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 19ms (Views: 0.3ms | ActiveRecord: 5.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 11:35:21 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 14ms (Views: 1.9ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 11:35:21 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 17ms (Views: 1.8ms | ActiveRecord: 2.0ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-04 11:35:21 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-18", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-18"], ["created_at", "2015-08-04 16:35:21.771083"], ["updated_at", "2015-08-04 16:35:21.771083"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-04 16:35:21.776737"], ["updated_at", "2015-08-04 16:35:21.776737"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.4ms | ActiveRecord: 3.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 11:35:21 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 1.5ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-04 11:35:21 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-04", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-04 16:35:21.966709"], ["updated_at", "2015-08-04 16:35:21.969265"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 11:35:22 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 16ms (Views: 2.1ms | ActiveRecord: 1.6ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-04 11:35:22 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-01", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-01"], ["updated_at", "2015-08-04 16:35:22.326190"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.7ms) Date: Tue, 04 Aug 2015 11:35:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0e9ca6d9b4_ce33fc6d1c60200946d8@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 43.5ms  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (3.3ms) Date: Tue, 04 Aug 2015 11:35:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0e9ca6f69c_ce33fc6d1c60200947bd@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 5.6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (3.1ms) Date: Tue, 04 Aug 2015 11:35:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0e9ca70f7c_ce33fc6d1c60200948bc@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 4.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (1.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-04', '2015-08-04 16:35:22', '2015-08-04 16:35:22', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-04 16:35:22.000000', '2015-08-04', '2015-08-04 16:35:22', '2015-08-04 16:35:22', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-04', '2015-08-04 16:35:22', '2015-08-04 16:35:22', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-04 16:35:22', '2015-08-04 16:35:22', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-04 16:35:22.000000', '2015-08-04', '2015-08-04 16:35:22', '2015-08-04 16:35:22', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-03', '2015-08-04 16:35:22', '2015-08-04 16:35:22', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-02', '2015-08-04 16:35:22', '2015-08-04 16:35:22', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-04 16:35:22.000000', '2015-08-04', '2015-08-04 16:35:22', '2015-08-04 16:35:22', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-04', '2015-08-04 16:35:22', '2015-08-04 16:35:22', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-04 16:35:22.000000', '2015-08-04', '2015-08-04 16:35:22', '2015-08-04 16:35:22', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-04', '2015-08-04 16:35:22', '2015-08-04 16:35:22', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-04 16:35:22.000000', '2015-08-04', '2015-08-04 16:35:22', '2015-08-04 16:35:22', 16804933, 816972181)  (0.3ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.6ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 16:35:22.560917"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 16:35:22.565307"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 16:35:22.573194"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.7ms) Sent mail to obama@ex.co (3.1ms) Date: Tue, 04 Aug 2015 11:35:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0e9ca971a1_ce33fc6d1c60200949e@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 42.1ms  (0.3ms) ROLLBACK  (0.2ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Tue, 04 Aug 2015 11:35:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0e9ca98947_ce33fc6d1c6020095087@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 3.6ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Tue, 04 Aug 2015 11:35:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c0e9ca99f3b_ce33fc6d1c60200951d4@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 16:35:22.654071"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 16:35:22.660632"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 16:35:22.663868"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-04 23:59:59.999999' AND created_at >= '2015-08-04 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 16:35:22.669543"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-04 23:59:59.999999' AND created_at >= '2015-08-04 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 16:35:22.679806"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 16:35:22.683836"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 16:35:22.692359"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (1.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-04 16:35:22', '2015-08-04 16:35:22', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-04 16:35:22', '2015-08-04 16:35:22', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 16:35:22.000000', '2015-08-04 16:35:22', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 16:35:22.000000', '2015-08-04 16:35:22', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 16:35:22.000000', '2015-08-04 16:35:22', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 16:35:22.000000', '2015-08-04 16:35:22', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-04 16:35:22', '2015-08-04 16:35:22', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-04 16:35:22', '2015-08-04 16:35:22', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-04 16:35:22', '2015-08-04 16:35:22', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-04 16:35:22', '2015-08-04 16:35:22', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-04 16:35:22', '2015-08-04 16:35:22', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-04 16:35:22', '2015-08-04 16:35:22', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-04 16:35:22', '2015-08-04 16:35:22', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-04 16:35:22', '2015-08-04 16:35:22', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-04 16:35:22', '2015-08-04 16:35:22', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-04 16:35:22', '2015-08-04 16:35:22', 809335042, 'SocialNetworking::Goal', 809335042)  (0.7ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (19.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.1ms) BEGIN  (20.0ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (6.5ms) COMMIT Migrating to AddParticipantFields (2)  (6.1ms) BEGIN  (6.6ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.4ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (0.4ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (3.5ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (0.5ms) COMMIT Migrating to AddNullFalseToArms (5)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.2ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (0.4ms) COMMIT Migrating to AddHasWozToArm (6)  (0.1ms) BEGIN  (3.7ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (0.8ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.1ms) BEGIN  (2.0ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.7ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (0.7ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (0.2ms) BEGIN  (2.6ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.0ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (0.2ms) BEGIN  (2.8ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.4ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (0.1ms) BEGIN  (2.9ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (0.2ms) BEGIN  (2.7ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (0.1ms) BEGIN  (2.6ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (0.8ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (0.2ms) BEGIN  (1.9ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (0.2ms) BEGIN  (2.6ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (0.2ms) BEGIN  (3.5ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (0.5ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (0.2ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (0.9ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (0.4ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (6.1ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.1ms) BEGIN  (6.2ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (4.9ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (2.9ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (0.9ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.1ms) BEGIN  (4.5ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (0.8ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (0.3ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.1ms) BEGIN  (0.9ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (0.5ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.1ms) BEGIN  (1.1ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (0.3ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (0.3ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2015-08-04 18:33:32.366482"], ["updated_at", "2015-08-04 18:33:32.366482"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2015-08-04 18:33:32.368242"], ["updated_at", "2015-08-04 18:33:32.368242"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2015-08-04 18:33:32.369327"], ["updated_at", "2015-08-04 18:33:32.369327"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2015-08-04 18:33:32.370464"], ["updated_at", "2015-08-04 18:33:32.370464"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2015-08-04 18:33:32.371522"], ["updated_at", "2015-08-04 18:33:32.371522"]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (6.3ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (0.5ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (0.3ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.1ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (0.4ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (0.7ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (0.5ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.8ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (6.0ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.1ms) BEGIN  (8.0ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (0.4ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (0.2ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (0.3ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (0.5ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (0.4ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (0.4ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (0.4ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (0.4ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.1ms) BEGIN  (0.9ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (0.5ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.1ms) BEGIN  (1.0ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (0.4ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.1ms) BEGIN  (1.0ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (0.8ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (0.3ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.1ms) BEGIN  (0.7ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (0.7ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (0.8ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.4ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.1ms) BEGIN  (0.7ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (0.5ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (4.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.1ms) BEGIN  (3.2ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (0.6ms) COMMIT Migrating to AddParticipantFields (2)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.2ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (0.4ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (3.0ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (0.5ms) COMMIT Migrating to AddNullFalseToArms (5)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.2ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (0.3ms) COMMIT Migrating to AddHasWozToArm (6)  (0.1ms) BEGIN  (3.4ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (0.8ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (0.3ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.1ms) BEGIN  (1.9ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.7ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (0.9ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (0.2ms) BEGIN  (3.5ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.0ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (0.2ms) BEGIN  (2.4ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.1ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (0.2ms) BEGIN  (2.9ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (0.8ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (0.2ms) BEGIN  (2.8ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (0.2ms) BEGIN  (2.6ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (0.8ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (0.2ms) BEGIN  (2.5ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (0.2ms) BEGIN  (2.9ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (0.2ms) BEGIN  (2.7ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (0.9ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (0.4ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (0.3ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (1.1ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (0.3ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (0.5ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.1ms) BEGIN  (1.0ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (0.5ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (2.8ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (0.9ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.1ms) BEGIN  (3.0ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (0.8ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (0.3ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.1ms) BEGIN  (1.1ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (0.3ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.1ms) BEGIN  (1.2ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (0.5ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (0.4ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2015-08-04 18:34:39.846311"], ["updated_at", "2015-08-04 18:34:39.846311"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2015-08-04 18:34:39.848997"], ["updated_at", "2015-08-04 18:34:39.848997"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2015-08-04 18:34:39.850242"], ["updated_at", "2015-08-04 18:34:39.850242"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2015-08-04 18:34:39.851408"], ["updated_at", "2015-08-04 18:34:39.851408"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2015-08-04 18:34:39.852524"], ["updated_at", "2015-08-04 18:34:39.852524"]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (0.3ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (0.3ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (0.3ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.1ms) BEGIN SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (0.3ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (0.7ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (0.3ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.6ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (0.5ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.1ms) BEGIN  (1.9ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (0.4ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (0.3ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (0.4ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (0.4ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (0.3ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (0.3ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (0.3ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.1ms) BEGIN  (0.9ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (0.5ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.1ms) BEGIN  (0.9ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (0.5ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.1ms) BEGIN  (0.9ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (0.8ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (0.4ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.1ms) BEGIN  (0.8ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (0.8ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (0.8ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.3ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.1ms) BEGIN  (0.7ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (0.4ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (4.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (5.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (1.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-04 18:59:49', '2015-08-04 18:59:49', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-04', '2015-08-04 18:59:49', '2015-08-04 18:59:49', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-04 18:59:49.000000', '2015-08-04', '2015-08-04 18:59:49', '2015-08-04 18:59:49', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-04', '2015-08-04 18:59:49', '2015-08-04 18:59:49', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-04 18:59:49', '2015-08-04 18:59:49', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-04 18:59:49.000000', '2015-08-04', '2015-08-04 18:59:49', '2015-08-04 18:59:49', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-03', '2015-08-04 18:59:49', '2015-08-04 18:59:49', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-02', '2015-08-04 18:59:49', '2015-08-04 18:59:49', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-04 18:59:49.000000', '2015-08-04', '2015-08-04 18:59:49', '2015-08-04 18:59:49', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-04', '2015-08-04 18:59:49', '2015-08-04 18:59:49', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-04 18:59:49.000000', '2015-08-04', '2015-08-04 18:59:49', '2015-08-04 18:59:49', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-04', '2015-08-04 18:59:49', '2015-08-04 18:59:49', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-04 18:59:49.000000', '2015-08-04', '2015-08-04 18:59:49', '2015-08-04 18:59:49', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-04 18:59:49', '2015-08-04 18:59:49', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 18:59:49.000000', '2015-08-04 18:59:49', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 18:59:49.000000', '2015-08-04 18:59:49', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 18:59:49.000000', '2015-08-04 18:59:49', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 18:59:49.000000', '2015-08-04 18:59:49', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.8ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-04 18:59:49', '2015-08-04 18:59:49', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-04 18:59:49', '2015-08-04 18:59:49', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-04 18:59:49', '2015-08-04 18:59:49', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-04 18:59:49', '2015-08-04 18:59:49', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-04 18:59:49', '2015-08-04 18:59:49', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-04 18:59:49', '2015-08-04 18:59:49', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-04 18:59:49', '2015-08-04 18:59:49', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-04 18:59:49', '2015-08-04 18:59:49', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-04 18:59:49', '2015-08-04 18:59:49', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-04 18:59:49', '2015-08-04 18:59:49', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.6ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 18:59:49.541919"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 18:59:49.546934"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-28 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 18:59:49.557829"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 18:59:49.620423"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 18:59:49.623947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 18:59:49.630574"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 18:59:49.692431"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-28 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 18:59:49.706347"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.9ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-04 18:59:49.756550"], ["updated_at", "2015-08-04 18:59:49.756550"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335043, null, SocialNetworking::Profile, 2015-08-04 18:59:49.75655, 2015-08-04 18:59:49.75655, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 26ms (Views: 0.2ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.6ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 13:59:50 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.4ms) Completed 200 OK in 91ms (Views: 51.5ms | ActiveRecord: 6.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-04 13:59:50 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-04 13:59:50 -0500 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-04 13:59:51 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-01", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-01"], ["updated_at", "2015-08-04 18:59:51.104225"], ["id", 53334230]]  (6.0ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 10.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 13:59:51 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 18ms (Views: 2.3ms | ActiveRecord: 2.2ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-04 13:59:51 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-04", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-04 18:59:51.300420"], ["updated_at", "2015-08-04 18:59:51.302562"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 2.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 13:59:51 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 13ms (Views: 1.7ms | ActiveRecord: 1.6ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-04 13:59:51 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-18", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-18"], ["created_at", "2015-08-04 18:59:51.542673"], ["updated_at", "2015-08-04 18:59:51.542673"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-04 18:59:51.548090"], ["updated_at", "2015-08-04 18:59:51.548090"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 13:59:51 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-04 13:59:51 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 14ms (Views: 1.9ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-04 13:59:51 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-04", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-04 18:59:51.899771"], ["updated_at", "2015-08-04 18:59:51.902280"], ["id", 809335042]]  (1.4ms) COMMIT  (0.4ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-04 18:59:51.907286"], ["updated_at", "2015-08-04 18:59:51.907286"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 4.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.9ms) Sent mail to obama@ex.co (6.9ms) Date: Tue, 04 Aug 2015 13:59:52 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c10ba82a71c_3bbe3fe6e1c601f862084@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 199.3ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.0ms) Date: Tue, 04 Aug 2015 13:59:52 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c10ba82cb21_3bbe3fe6e1c601f8621fb@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 6.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Comment email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.9ms) Date: Tue, 04 Aug 2015 13:59:52 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c10ba82e3e9_3bbe3fe6e1c601f862213@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Comment email notification sent to:obama@ex.co CommentMailer#comment_email_alert: processed outbound mail in 4.2ms  (0.1ms) ROLLBACK  (7.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-04 18:59:52', '2015-08-04 18:59:52', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-04', '2015-08-04 18:59:52', '2015-08-04 18:59:52', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-04 18:59:52.000000', '2015-08-04', '2015-08-04 18:59:52', '2015-08-04 18:59:52', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-04', '2015-08-04 18:59:52', '2015-08-04 18:59:52', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-04 18:59:52', '2015-08-04 18:59:52', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-04 18:59:52.000000', '2015-08-04', '2015-08-04 18:59:52', '2015-08-04 18:59:52', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-03', '2015-08-04 18:59:52', '2015-08-04 18:59:52', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-02', '2015-08-04 18:59:52', '2015-08-04 18:59:52', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-04 18:59:52.000000', '2015-08-04', '2015-08-04 18:59:52', '2015-08-04 18:59:52', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-04', '2015-08-04 18:59:52', '2015-08-04 18:59:52', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-04 18:59:52.000000', '2015-08-04', '2015-08-04 18:59:52', '2015-08-04 18:59:52', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-04', '2015-08-04 18:59:52', '2015-08-04 18:59:52', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-04 18:59:52.000000', '2015-08-04', '2015-08-04 18:59:52', '2015-08-04 18:59:52', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-04 18:59:52', '2015-08-04 18:59:52', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 18:59:52.000000', '2015-08-04 18:59:52', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 18:59:52.000000', '2015-08-04 18:59:52', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-03 18:59:52.000000', '2015-08-04 18:59:52', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-04 18:59:52.000000', '2015-08-04 18:59:52', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-04 18:59:52', '2015-08-04 18:59:52', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-04 18:59:52', '2015-08-04 18:59:52', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-04 18:59:52', '2015-08-04 18:59:52', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-04 18:59:52', '2015-08-04 18:59:52', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-04 18:59:52', '2015-08-04 18:59:52', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-04 18:59:52', '2015-08-04 18:59:52', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-04 18:59:52', '2015-08-04 18:59:52', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-04 18:59:52', '2015-08-04 18:59:52', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-04 18:59:52', '2015-08-04 18:59:52', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-04 18:59:52', '2015-08-04 18:59:52', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-04 18:59:52.267727"], ["updated_at", "2015-08-04 18:59:52.267727"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-04 18:59:52.270575"], ["updated_at", "2015-08-04 18:59:52.270575"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-04 18:59:52.288745"], ["updated_at", "2015-08-04 18:59:52.288745"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-04 18:59:52.293910"], ["updated_at", "2015-08-04 18:59:52.293910"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-04 18:59:52.298401"], ["updated_at", "2015-08-04 18:59:52.298401"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.4ms) Date: Tue, 04 Aug 2015 13:59:52 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c10ba853d53_3bbe3fe6e1c601f86233b@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 41.5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Tue, 04 Aug 2015 13:59:52 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c10ba855111_3bbe3fe6e1c601f8624fb@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.2ms) Date: Tue, 04 Aug 2015 13:59:52 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c10ba856f1f_3bbe3fe6e1c601f862591@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 6.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN INFO BEFORE: Nudge email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.5ms) Date: Tue, 04 Aug 2015 13:59:52 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c10ba87b434_3bbe3fe6e1c601f8626ef@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Nudge email notification sent to:obama@ex.co NudgeMailer#nudge_email_alert: processed outbound mail in 41.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN INFO BEFORE: Nudge email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.2ms) Date: Tue, 04 Aug 2015 13:59:52 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c10ba87c759_3bbe3fe6e1c601f8627d7@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Nudge email notification sent to:obama@ex.co NudgeMailer#nudge_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN INFO BEFORE: Nudge email notification sent to:obama@ex.co Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.3ms) Date: Tue, 04 Aug 2015 13:59:52 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c10ba87dfea_3bbe3fe6e1c601f86289e@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

INFO AFTER: Nudge email notification sent to:obama@ex.co NudgeMailer#nudge_email_alert: processed outbound mail in 5.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 18:59:52.521913"], ["updated_at", "2015-08-04 18:59:52.521913"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 18:59:52.526894"], ["updated_at", "2015-08-04 18:59:52.526894"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-04 18:59:52.540320"], ["updated_at", "2015-08-04 18:59:52.540320"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235643]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 18:59:52.716371"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 18:59:52.719481"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-04 23:59:59.999999' AND created_at >= '2015-08-04 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 18:59:52.725321"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-04 23:59:59.999999' AND created_at >= '2015-08-04 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 18:59:52.729811"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-28 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-03 00:00:00.000000"], ["updated_at", "2015-08-04 18:59:52.746471"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-07-27 00:00:00.000000"], ["updated_at", "2015-08-04 18:59:52.751272"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-04 18:59:52.758221"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-04"], ["completed_at", "2015-08-02 00:00:00.000000"], ["created_at", "2015-08-04 18:59:52.764388"], ["updated_at", "2015-08-04 18:59:52.764388"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-05"], ["created_at", "2015-08-04 18:59:52.770699"], ["updated_at", "2015-08-04 18:59:52.770699"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-04 18:59:52.774377"], ["updated_at", "2015-08-04 18:59:52.774377"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 18:59:52.777085') AND ("social_networking_goals"."due_on" >= '2015-08-03 18:59:52.777126') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 18:59:52.779822') AND ("social_networking_goals"."due_on" >= '2015-08-03 18:59:52.779841')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-04 18:59:52.781587') AND ("social_networking_goals"."due_on" >= '2015-08-03 18:59:52.781609')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 500 Internal Server Error in 2ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (2.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (12.0ms) DELETE FROM "participants" Fixture Insert (0.5ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.8ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-06 16:22:57', '2015-08-06 16:22:57', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-06', '2015-08-06 16:22:57', '2015-08-06 16:22:57', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-06 16:22:57.000000', '2015-08-06', '2015-08-06 16:22:57', '2015-08-06 16:22:57', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-06', '2015-08-06 16:22:57', '2015-08-06 16:22:57', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-06 16:22:57', '2015-08-06 16:22:57', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-06 16:22:57.000000', '2015-08-06', '2015-08-06 16:22:57', '2015-08-06 16:22:57', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-05', '2015-08-06 16:22:57', '2015-08-06 16:22:57', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-04', '2015-08-06 16:22:57', '2015-08-06 16:22:57', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-06 16:22:57.000000', '2015-08-06', '2015-08-06 16:22:57', '2015-08-06 16:22:57', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-06', '2015-08-06 16:22:57', '2015-08-06 16:22:57', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-06 16:22:57.000000', '2015-08-06', '2015-08-06 16:22:57', '2015-08-06 16:22:57', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-06', '2015-08-06 16:22:57', '2015-08-06 16:22:57', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-06 16:22:57.000000', '2015-08-06', '2015-08-06 16:22:57', '2015-08-06 16:22:57', 16804933, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-06 16:22:57', '2015-08-06 16:22:57', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-05 16:22:57.000000', '2015-08-06 16:22:57', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 16:22:57.000000', '2015-08-06 16:22:57', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-05 16:22:57.000000', '2015-08-06 16:22:57', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 16:22:57.000000', '2015-08-06 16:22:57', 316146702, 816972181, 700141617) Fixture Delete (0.9ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-06 16:22:57', '2015-08-06 16:22:57', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-06 16:22:57', '2015-08-06 16:22:57', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-06 16:22:57', '2015-08-06 16:22:57', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-06 16:22:57', '2015-08-06 16:22:57', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-06 16:22:57', '2015-08-06 16:22:57', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-06 16:22:57', '2015-08-06 16:22:57', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-06 16:22:57', '2015-08-06 16:22:57', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-06 16:22:57', '2015-08-06 16:22:57', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-06 16:22:57', '2015-08-06 16:22:57', 183235640, 816972181) Fixture Delete (0.9ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-06 16:22:57', '2015-08-06 16:22:57', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]]  (0.1ms) ROLLBACK  (2.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-06 16:23:49', '2015-08-06 16:23:49', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.5ms) COMMIT  (1.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]]  (0.2ms) ROLLBACK  (3.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-06 16:26:44', '2015-08-06 16:26:44', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.5ms) COMMIT  (1.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]]  (0.2ms) ROLLBACK  (3.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-06 16:27:18', '2015-08-06 16:27:18', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (2.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-06 16:43:53', '2015-08-06 16:43:53', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042)  (5.8ms) COMMIT  (7.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (3.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-06 16:44:24', '2015-08-06 16:44:24', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.3ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]]  (0.2ms) ROLLBACK  (4.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-06 16:45:31', '2015-08-06 16:45:31', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.4ms) COMMIT  (1.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.7ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (3.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-06 16:47:30', '2015-08-06 16:47:30', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.5ms) COMMIT  (1.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (3.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-06 16:47:41', '2015-08-06 16:47:41', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.2ms) BEGIN SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) ROLLBACK  (1.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-06 16:49:14', '2015-08-06 16:49:14', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042)  (5.8ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (2.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-06 16:49:56', '2015-08-06 16:49:56', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042)  (5.9ms) COMMIT  (6.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (4.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-06 16:50:12', '2015-08-06 16:50:12', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.6ms) COMMIT  (2.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.2ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (3.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.5ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-06 16:50:20', '2015-08-06 16:50:20', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.6ms) COMMIT  (1.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (4.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-06 16:50:34', '2015-08-06 16:50:34', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042)  (5.5ms) COMMIT  (6.7ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (7.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (3.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (1.0ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-06 16:52:44', '2015-08-06 16:52:44', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042)  (6.3ms) COMMIT  (7.0ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (2.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-06 16:53:20', '2015-08-06 16:53:20', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042)  (5.9ms) COMMIT  (6.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.2ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (1.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SQL (6.9ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-06 16:55:44.388219"], ["updated_at", "2015-08-06 16:55:44.388219"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335043, null, SocialNetworking::Profile, 2015-08-06 16:55:44.388219, 2015-08-06 16:55:44.388219, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 90ms (Views: 0.2ms | ActiveRecord: 16.7ms)  (0.1ms) ROLLBACK  (7.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-06 16:55:44', '2015-08-06 16:55:44', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-06', '2015-08-06 16:55:44', '2015-08-06 16:55:44', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-06 16:55:44.000000', '2015-08-06', '2015-08-06 16:55:44', '2015-08-06 16:55:44', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-06', '2015-08-06 16:55:44', '2015-08-06 16:55:44', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-06 16:55:44', '2015-08-06 16:55:44', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-06 16:55:44.000000', '2015-08-06', '2015-08-06 16:55:44', '2015-08-06 16:55:44', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-05', '2015-08-06 16:55:44', '2015-08-06 16:55:44', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-04', '2015-08-06 16:55:44', '2015-08-06 16:55:44', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-06 16:55:44.000000', '2015-08-06', '2015-08-06 16:55:44', '2015-08-06 16:55:44', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-06', '2015-08-06 16:55:44', '2015-08-06 16:55:44', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-06 16:55:44.000000', '2015-08-06', '2015-08-06 16:55:44', '2015-08-06 16:55:44', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-06', '2015-08-06 16:55:44', '2015-08-06 16:55:44', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-06 16:55:44.000000', '2015-08-06', '2015-08-06 16:55:44', '2015-08-06 16:55:44', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-06 16:55:44', '2015-08-06 16:55:44', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.7ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-05 16:55:44.000000', '2015-08-06 16:55:44', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 16:55:44.000000', '2015-08-06 16:55:44', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-05 16:55:44.000000', '2015-08-06 16:55:44', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 16:55:44.000000', '2015-08-06 16:55:44', 316146702, 816972181, 700141617) Fixture Delete (0.7ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-06 16:55:44', '2015-08-06 16:55:44', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-06 16:55:44', '2015-08-06 16:55:44', 369066228, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-06 16:55:44', '2015-08-06 16:55:44', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-06 16:55:44', '2015-08-06 16:55:44', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-06 16:55:44', '2015-08-06 16:55:44', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-06 16:55:44', '2015-08-06 16:55:44', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-06 16:55:44', '2015-08-06 16:55:44', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-06 16:55:44', '2015-08-06 16:55:44', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-06 16:55:44', '2015-08-06 16:55:44', 183235640, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-06 16:55:44', '2015-08-06 16:55:44', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-06 11:55:45 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.5ms) Completed 200 OK in 122ms (Views: 84.2ms | ActiveRecord: 6.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-06 11:55:45 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-06 11:55:45 -0500 Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-06 11:55:46 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-20", "goal"=>{"description"=>"all of the things"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-20"], ["created_at", "2015-08-06 16:55:46.175603"], ["updated_at", "2015-08-06 16:55:46.175603"]]  (5.7ms) COMMIT  (0.2ms) BEGIN SQL (0.7ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-06 16:55:46.187501"], ["updated_at", "2015-08-06 16:55:46.187501"]]  (5.0ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 26ms (Views: 0.4ms | ActiveRecord: 13.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-06 11:55:46 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 17ms (Views: 1.9ms | ActiveRecord: 2.2ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-06 11:55:46 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-03", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-03"], ["updated_at", "2015-08-06 16:55:46.537779"], ["id", 53334230]]  (1.6ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.3ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-06 11:55:46 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.0ms) Completed 200 OK in 13ms (Views: 1.6ms | ActiveRecord: 1.6ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-06 11:55:46 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-06", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-06 16:55:46.841357"], ["updated_at", "2015-08-06 16:55:46.844051"], ["id", 614371357]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-06 11:55:46 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 17ms (Views: 1.8ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-06 11:55:47 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-06 11:55:47 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-06", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-06 16:55:47.266070"], ["updated_at", "2015-08-06 16:55:47.268508"], ["id", 809335042]]  (0.5ms) COMMIT  (0.6ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-06 16:55:47.274393"], ["updated_at", "2015-08-06 16:55:47.274393"]]  (5.6ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 20ms (Views: 0.3ms | ActiveRecord: 9.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (13.6ms) Date: Thu, 06 Aug 2015 11:55:47 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c39193bfb29_13a1b3fe63a0601fc836b3@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 488.4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 06 Aug 2015 11:55:47 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c39193c1f7c_13a1b3fe63a0601fc837b7@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (3.0ms) Date: Thu, 06 Aug 2015 11:55:47 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c39193c336c_13a1b3fe63a0601fc8386@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 4.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-06 16:55:47.805740"], ["updated_at", "2015-08-06 16:55:47.805740"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-06 16:55:47.811109"], ["updated_at", "2015-08-06 16:55:47.811109"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-06 16:55:47.832489"], ["updated_at", "2015-08-06 16:55:47.832489"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235643]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (6.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-06 16:55:47', '2015-08-06 16:55:47', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-06', '2015-08-06 16:55:47', '2015-08-06 16:55:47', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-06 16:55:47.000000', '2015-08-06', '2015-08-06 16:55:47', '2015-08-06 16:55:47', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-06', '2015-08-06 16:55:47', '2015-08-06 16:55:47', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-06 16:55:47', '2015-08-06 16:55:47', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-06 16:55:47.000000', '2015-08-06', '2015-08-06 16:55:47', '2015-08-06 16:55:47', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-05', '2015-08-06 16:55:47', '2015-08-06 16:55:47', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-04', '2015-08-06 16:55:47', '2015-08-06 16:55:47', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-06 16:55:47.000000', '2015-08-06', '2015-08-06 16:55:47', '2015-08-06 16:55:47', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-06', '2015-08-06 16:55:47', '2015-08-06 16:55:47', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-06 16:55:47.000000', '2015-08-06', '2015-08-06 16:55:47', '2015-08-06 16:55:47', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-06', '2015-08-06 16:55:47', '2015-08-06 16:55:47', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-06 16:55:47.000000', '2015-08-06', '2015-08-06 16:55:47', '2015-08-06 16:55:47', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-06 16:55:47', '2015-08-06 16:55:47', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-05 16:55:47.000000', '2015-08-06 16:55:47', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 16:55:47.000000', '2015-08-06 16:55:47', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-05 16:55:47.000000', '2015-08-06 16:55:47', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 16:55:47.000000', '2015-08-06 16:55:47', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-06 16:55:47', '2015-08-06 16:55:47', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-06 16:55:47', '2015-08-06 16:55:47', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-06 16:55:47', '2015-08-06 16:55:47', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-06 16:55:47', '2015-08-06 16:55:47', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-06 16:55:47', '2015-08-06 16:55:47', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-06 16:55:47', '2015-08-06 16:55:47', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-06 16:55:47', '2015-08-06 16:55:47', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-06 16:55:47', '2015-08-06 16:55:47', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-06 16:55:47', '2015-08-06 16:55:47', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-06 16:55:47', '2015-08-06 16:55:47', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.2ms) Date: Thu, 06 Aug 2015 11:55:47 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c39193ef0ec_13a1b3fe63a0601fc8399d@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 38.2ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Thu, 06 Aug 2015 11:55:47 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c39193f03a9_13a1b3fe63a0601fc8406d@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Thu, 06 Aug 2015 11:55:47 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c39193f14b6_13a1b3fe63a0601fc84148@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-06 16:55:47.997420"], ["updated_at", "2015-08-06 16:55:47.997420"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-06 16:55:48.000539"], ["updated_at", "2015-08-06 16:55:48.000539"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.3ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-30 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-06 16:55:48.023734"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-07-29 00:00:00.000000"], ["updated_at", "2015-08-06 16:55:48.027627"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-30 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-06 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-06 16:55:48.035820"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-06 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::ProfileAnswer Load (0.4ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-30 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-06 16:55:48.191555"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-07-29 00:00:00.000000"], ["updated_at", "2015-08-06 16:55:48.194738"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-30 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-06 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-06 16:55:48.201201"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-06 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-06"], ["completed_at", "2015-08-04 00:00:00.000000"], ["created_at", "2015-08-06 16:55:48.207242"], ["updated_at", "2015-08-06 16:55:48.207242"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-07"], ["created_at", "2015-08-06 16:55:48.214852"], ["updated_at", "2015-08-06 16:55:48.214852"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-06 16:55:48.220060"], ["updated_at", "2015-08-06 16:55:48.220060"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-06 16:55:48.225869') AND ("social_networking_goals"."due_on" >= '2015-08-05 16:55:48.225922') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-06 16:55:48.229191') AND ("social_networking_goals"."due_on" >= '2015-08-05 16:55:48.229215')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-06 16:55:48.231290') AND ("social_networking_goals"."due_on" >= '2015-08-05 16:55:48.231311')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-30 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-06 16:55:48.288946"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-30 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-06 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-06 16:55:48.303719"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-06 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-30 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-06 16:55:48.331183"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-07-29 00:00:00.000000"], ["updated_at", "2015-08-06 16:55:48.334876"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-30 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-06 23:59:59.999999' AND created_at >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-06 16:55:48.342971"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-06 23:59:59.999999' AND created_at >= '2015-08-06 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-06 16:55:48.348693"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-30 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-06 16:55:48.416363"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-07-29 00:00:00.000000"], ["updated_at", "2015-08-06 16:55:48.420896"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-30 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-06 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-06 16:55:48.429531"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-06 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 500 Internal Server Error in 5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 500 Internal Server Error in 6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.4ms) Date: Thu, 06 Aug 2015 11:55:48 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c39194848ff_13a1b3fe63a0601fc842fe@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 38.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Thu, 06 Aug 2015 11:55:48 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c3919485c2b_13a1b3fe63a0601fc84370@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 06 Aug 2015 11:55:48 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c3919486db2_13a1b3fe63a0601fc844b7@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-06 16:55:48.579924"], ["updated_at", "2015-08-06 16:55:48.579924"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-06 16:55:48.585200"], ["updated_at", "2015-08-06 16:55:48.585200"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-06 16:55:48.588065"], ["updated_at", "2015-08-06 16:55:48.588065"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 500 Internal Server Error in 8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 7ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (2.1ms) Sent mail to obama@ex.co (8.3ms) Date: Thu, 06 Aug 2015 12:16:28 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c3966c58cc9_1468b3ff6188601fc6259c@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 254.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Thu, 06 Aug 2015 12:16:28 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c3966c5a67c_1468b3ff6188601fc626f1@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Thu, 06 Aug 2015 12:16:28 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c3966c5b8e3_1468b3ff6188601fc627b1@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.0ms  (0.1ms) ROLLBACK  (7.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-06 17:16:28', '2015-08-06 17:16:28', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-06', '2015-08-06 17:16:28', '2015-08-06 17:16:28', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-06 17:16:28.000000', '2015-08-06', '2015-08-06 17:16:28', '2015-08-06 17:16:28', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-06', '2015-08-06 17:16:28', '2015-08-06 17:16:28', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-06 17:16:28', '2015-08-06 17:16:28', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-06 17:16:28.000000', '2015-08-06', '2015-08-06 17:16:28', '2015-08-06 17:16:28', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-05', '2015-08-06 17:16:28', '2015-08-06 17:16:28', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-04', '2015-08-06 17:16:28', '2015-08-06 17:16:28', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-06 17:16:28.000000', '2015-08-06', '2015-08-06 17:16:28', '2015-08-06 17:16:28', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-06', '2015-08-06 17:16:28', '2015-08-06 17:16:28', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-06 17:16:28.000000', '2015-08-06', '2015-08-06 17:16:28', '2015-08-06 17:16:28', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-06', '2015-08-06 17:16:28', '2015-08-06 17:16:28', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-06 17:16:28.000000', '2015-08-06', '2015-08-06 17:16:28', '2015-08-06 17:16:28', 16804933, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-06 17:16:28', '2015-08-06 17:16:28', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-05 17:16:28.000000', '2015-08-06 17:16:28', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 17:16:28.000000', '2015-08-06 17:16:28', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-05 17:16:28.000000', '2015-08-06 17:16:28', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 17:16:28.000000', '2015-08-06 17:16:28', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-06 17:16:28', '2015-08-06 17:16:28', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-06 17:16:28', '2015-08-06 17:16:28', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-06 17:16:28', '2015-08-06 17:16:28', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-06 17:16:28', '2015-08-06 17:16:28', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-06 17:16:28', '2015-08-06 17:16:28', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-06 17:16:28', '2015-08-06 17:16:28', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-06 17:16:28', '2015-08-06 17:16:28', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-06 17:16:28', '2015-08-06 17:16:28', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-06 17:16:28', '2015-08-06 17:16:28', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-06 17:16:28', '2015-08-06 17:16:28', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-06 17:16:28.496811"], ["updated_at", "2015-08-06 17:16:28.496811"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235641]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-06 17:16:28.523344"], ["updated_at", "2015-08-06 17:16:28.523344"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-06 17:16:28.527180"], ["updated_at", "2015-08-06 17:16:28.527180"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-06 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-06 17:16:28.583764"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-06 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-30 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-06 17:16:28.591528"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-07-29 00:00:00.000000"], ["updated_at", "2015-08-06 17:16:28.594434"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-30 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-06 17:16:28.601327') AND ("social_networking_goals"."due_on" >= '2015-08-05 17:16:28.601356')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-06 17:16:28.610035') AND ("social_networking_goals"."due_on" >= '2015-08-05 17:16:28.610100') SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-06 17:16:28.615205') AND ("social_networking_goals"."due_on" >= '2015-08-05 17:16:28.615247')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-06"], ["completed_at", "2015-08-04 00:00:00.000000"], ["created_at", "2015-08-06 17:16:28.620170"], ["updated_at", "2015-08-06 17:16:28.620170"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-06 17:16:28.625244"], ["updated_at", "2015-08-06 17:16:28.625244"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-07"], ["created_at", "2015-08-06 17:16:28.641752"], ["updated_at", "2015-08-06 17:16:28.641752"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-06 23:59:59.999999' AND created_at >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-06 17:16:28.700913"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-06 23:59:59.999999' AND created_at >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-06 17:16:28.707221"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-30 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-06 17:16:28.711749"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-07-29 00:00:00.000000"], ["updated_at", "2015-08-06 17:16:28.714750"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-30 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-06 17:16:28.726777"], ["updated_at", "2015-08-06 17:16:28.726777"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-06 17:16:28.732015"], ["updated_at", "2015-08-06 17:16:28.732015"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-06 17:16:28.734555"], ["updated_at", "2015-08-06 17:16:28.734555"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-06 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-06 17:16:28.749141"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-06 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-30 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-06 17:16:28.760588"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-07-29 00:00:00.000000"], ["updated_at", "2015-08-06 17:16:28.764440"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-30 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-06 17:16:28.830121"], ["updated_at", "2015-08-06 17:16:28.830121"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335045, null, SocialNetworking::Profile, 2015-08-06 17:16:28.830121, 2015-08-06 17:16:28.830121, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.2ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 17ms (Views: 0.3ms | ActiveRecord: 2.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-06 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-06 17:16:29.000500"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-06 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-30 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-06 17:16:29.007302"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-07-29 00:00:00.000000"], ["updated_at", "2015-08-06 17:16:29.010348"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-30 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 06 Aug 2015 12:16:29 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c3966d124b4_1468b3ff6188601fc6288a@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 37.1ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Thu, 06 Aug 2015 12:16:29 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c3966d13a6d_1468b3ff6188601fc62916@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.8ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.7ms) Date: Thu, 06 Aug 2015 12:16:29 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c3966d15492_1468b3ff6188601fc63014@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 5.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.4ms) Date: Thu, 06 Aug 2015 12:16:29 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c3966d35509_1468b3ff6188601fc63171@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 37.9ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 06 Aug 2015 12:16:29 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c3966d36826_1468b3ff6188601fc6321d@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.6ms) Date: Thu, 06 Aug 2015 12:16:29 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c3966d382ab_1468b3ff6188601fc63348@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 5.4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-06 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-06 17:16:29.239053"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-06 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-30 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-06 17:16:29.247901"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-30 00:00:00.000000')  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-06 12:16:29 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.8ms) Completed 200 OK in 100ms (Views: 73.8ms | ActiveRecord: 6.6ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-06 12:16:29 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-06 12:16:29 -0500 Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-06 12:16:30 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-20", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (1.5ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (1.1ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-20"], ["created_at", "2015-08-06 17:16:30.291082"], ["updated_at", "2015-08-06 17:16:30.291082"]]  (1.6ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-06 17:16:30.298456"], ["updated_at", "2015-08-06 17:16:30.298456"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 5.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-06 12:16:30 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 20ms (Views: 2.4ms | ActiveRecord: 2.2ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-06 12:16:30 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-06", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-06 17:16:30.616351"], ["updated_at", "2015-08-06 17:16:30.618990"], ["id", 809335042]]  (0.6ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-06 17:16:30.624280"], ["updated_at", "2015-08-06 17:16:30.624280"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.4ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-06 12:16:30 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 15ms (Views: 2.0ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-06 12:16:30 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-06", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-06 17:16:30.776699"], ["updated_at", "2015-08-06 17:16:30.779174"], ["id", 614371357]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-06 12:16:30 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 2.0ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-06 12:16:30 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-03", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-03"], ["updated_at", "2015-08-06 17:16:31.000396"], ["id", 53334230]]  (1.7ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.4ms | ActiveRecord: 3.7ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-06 12:16:31 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (2.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-06 17:16:31', '2015-08-06 17:16:31', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-06', '2015-08-06 17:16:31', '2015-08-06 17:16:31', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-06 17:16:31.000000', '2015-08-06', '2015-08-06 17:16:31', '2015-08-06 17:16:31', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-06', '2015-08-06 17:16:31', '2015-08-06 17:16:31', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-06 17:16:31', '2015-08-06 17:16:31', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-06 17:16:31.000000', '2015-08-06', '2015-08-06 17:16:31', '2015-08-06 17:16:31', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-05', '2015-08-06 17:16:31', '2015-08-06 17:16:31', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-04', '2015-08-06 17:16:31', '2015-08-06 17:16:31', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-06 17:16:31.000000', '2015-08-06', '2015-08-06 17:16:31', '2015-08-06 17:16:31', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-06', '2015-08-06 17:16:31', '2015-08-06 17:16:31', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-06 17:16:31.000000', '2015-08-06', '2015-08-06 17:16:31', '2015-08-06 17:16:31', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-06', '2015-08-06 17:16:31', '2015-08-06 17:16:31', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-06 17:16:31.000000', '2015-08-06', '2015-08-06 17:16:31', '2015-08-06 17:16:31', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-06 17:16:31', '2015-08-06 17:16:31', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-05 17:16:31.000000', '2015-08-06 17:16:31', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 17:16:31.000000', '2015-08-06 17:16:31', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-05 17:16:31.000000', '2015-08-06 17:16:31', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 17:16:31.000000', '2015-08-06 17:16:31', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-06 17:16:31', '2015-08-06 17:16:31', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-06 17:16:31', '2015-08-06 17:16:31', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-06 17:16:31', '2015-08-06 17:16:31', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-06 17:16:31', '2015-08-06 17:16:31', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-06 17:16:31', '2015-08-06 17:16:31', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-06 17:16:31', '2015-08-06 17:16:31', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-06 17:16:31', '2015-08-06 17:16:31', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-06 17:16:31', '2015-08-06 17:16:31', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-06 17:16:31', '2015-08-06 17:16:31', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-06 17:16:31', '2015-08-06 17:16:31', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-06 17:16:31.415399"], ["updated_at", "2015-08-06 17:16:31.415399"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-06 17:16:31.419414"], ["updated_at", "2015-08-06 17:16:31.419414"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 12ms (Views: 11.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (2.0ms) Sent mail to obama@ex.co (9.0ms) Date: Fri, 07 Aug 2015 10:44:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c4d25638e67_a1373fca31060208329b@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 263.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Fri, 07 Aug 2015 10:44:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c4d2563ad32_a1373fca3106020833018@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Fri, 07 Aug 2015 10:44:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c4d2563bd1c_a1373fca31060208331ae@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.0ms  (0.1ms) ROLLBACK  (7.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (12.8ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-07', '2015-08-07 15:44:22', '2015-08-07 15:44:22', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-07 15:44:22.000000', '2015-08-07', '2015-08-07 15:44:22', '2015-08-07 15:44:22', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-07', '2015-08-07 15:44:22', '2015-08-07 15:44:22', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-07 15:44:22', '2015-08-07 15:44:22', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-07 15:44:22.000000', '2015-08-07', '2015-08-07 15:44:22', '2015-08-07 15:44:22', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-06', '2015-08-07 15:44:22', '2015-08-07 15:44:22', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-05', '2015-08-07 15:44:22', '2015-08-07 15:44:22', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-07 15:44:22.000000', '2015-08-07', '2015-08-07 15:44:22', '2015-08-07 15:44:22', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-07', '2015-08-07 15:44:22', '2015-08-07 15:44:22', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-07 15:44:22.000000', '2015-08-07', '2015-08-07 15:44:22', '2015-08-07 15:44:22', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-07', '2015-08-07 15:44:22', '2015-08-07 15:44:22', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-07 15:44:22.000000', '2015-08-07', '2015-08-07 15:44:22', '2015-08-07 15:44:22', 16804933, 816972181)  (6.0ms) COMMIT  (5.8ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 15:44:22.371409"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-07 23:59:59.999999')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 15:44:22.382917"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.6ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (1.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-07 15:44:22', '2015-08-07 15:44:22', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-07 15:44:22', '2015-08-07 15:44:22', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 15:44:22.000000', '2015-08-07 15:44:22', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 15:44:22.000000', '2015-08-07 15:44:22', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 15:44:22.000000', '2015-08-07 15:44:22', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 15:44:22.000000', '2015-08-07 15:44:22', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-07 15:44:22', '2015-08-07 15:44:22', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-07 15:44:22', '2015-08-07 15:44:22', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-07 15:44:22', '2015-08-07 15:44:22', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-07 15:44:22', '2015-08-07 15:44:22', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-07 15:44:22', '2015-08-07 15:44:22', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-07 15:44:22', '2015-08-07 15:44:22', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-07 15:44:22', '2015-08-07 15:44:22', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-07 15:44:22', '2015-08-07 15:44:22', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-07 15:44:22', '2015-08-07 15:44:22', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-07 15:44:22', '2015-08-07 15:44:22', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 10:44:23 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.3ms) Completed 200 OK in 128ms (Views: 96.5ms | ActiveRecord: 6.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-07 10:44:23 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-07 10:44:23 -0500 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-07 10:44:24 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-07", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-07 15:44:24.302468"], ["updated_at", "2015-08-07 15:44:24.305580"], ["id", 809335042]]  (6.1ms) COMMIT  (0.2ms) BEGIN SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-07 15:44:24.322412"], ["updated_at", "2015-08-07 15:44:24.322412"]]  (6.0ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 33ms (Views: 0.4ms | ActiveRecord: 16.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 10:44:24 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 18ms (Views: 2.5ms | ActiveRecord: 2.2ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-07 10:44:24 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-07", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-07 15:44:24.574829"], ["updated_at", "2015-08-07 15:44:24.577488"], ["id", 614371357]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 10:44:24 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 21ms (Views: 1.9ms | ActiveRecord: 2.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 10:44:24 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 15ms (Views: 2.1ms | ActiveRecord: 1.6ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-07 10:44:24 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-21", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-21"], ["created_at", "2015-08-07 15:44:24.920917"], ["updated_at", "2015-08-07 15:44:24.920917"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-07 15:44:24.925113"], ["updated_at", "2015-08-07 15:44:24.925113"]]  (0.2ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 10:44:24 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.8ms) Completed 200 OK in 19ms (Views: 4.1ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-07 10:44:25 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-04", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-04"], ["updated_at", "2015-08-07 15:44:25.211291"], ["id", 53334230]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 15:44:25.303762"], ["updated_at", "2015-08-07 15:44:25.303762"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335045, null, SocialNetworking::Profile, 2015-08-07 15:44:25.303762, 2015-08-07 15:44:25.303762, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 26ms (Views: 0.2ms | ActiveRecord: 3.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-07 15:44:25.315950"], ["updated_at", "2015-08-07 15:44:25.315950"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235641]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-07 15:44:25.329791"], ["updated_at", "2015-08-07 15:44:25.329791"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-07 15:44:25.334668"], ["updated_at", "2015-08-07 15:44:25.334668"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 15:44:25.362543"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-07 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 15:44:25.372513"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 15:44:25.376560"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (1.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-07 15:44:25', '2015-08-07 15:44:25', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-07', '2015-08-07 15:44:25', '2015-08-07 15:44:25', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-07 15:44:25.000000', '2015-08-07', '2015-08-07 15:44:25', '2015-08-07 15:44:25', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-07', '2015-08-07 15:44:25', '2015-08-07 15:44:25', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-07 15:44:25', '2015-08-07 15:44:25', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-07 15:44:25.000000', '2015-08-07', '2015-08-07 15:44:25', '2015-08-07 15:44:25', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-06', '2015-08-07 15:44:25', '2015-08-07 15:44:25', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-05', '2015-08-07 15:44:25', '2015-08-07 15:44:25', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-07 15:44:25.000000', '2015-08-07', '2015-08-07 15:44:25', '2015-08-07 15:44:25', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-07', '2015-08-07 15:44:25', '2015-08-07 15:44:25', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-07 15:44:25.000000', '2015-08-07', '2015-08-07 15:44:25', '2015-08-07 15:44:25', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-07', '2015-08-07 15:44:25', '2015-08-07 15:44:25', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-07 15:44:25.000000', '2015-08-07', '2015-08-07 15:44:25', '2015-08-07 15:44:25', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-07 15:44:25', '2015-08-07 15:44:25', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 15:44:25.000000', '2015-08-07 15:44:25', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 15:44:25.000000', '2015-08-07 15:44:25', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 15:44:25.000000', '2015-08-07 15:44:25', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 15:44:25.000000', '2015-08-07 15:44:25', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-07 15:44:25', '2015-08-07 15:44:25', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-07 15:44:25', '2015-08-07 15:44:25', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-07 15:44:25', '2015-08-07 15:44:25', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-07 15:44:25', '2015-08-07 15:44:25', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-07 15:44:25', '2015-08-07 15:44:25', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-07 15:44:25', '2015-08-07 15:44:25', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-07 15:44:25', '2015-08-07 15:44:25', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-07 15:44:25', '2015-08-07 15:44:25', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-07 15:44:25', '2015-08-07 15:44:25', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-07 15:44:25', '2015-08-07 15:44:25', 809335042, 'SocialNetworking::Goal', 809335042)  (0.7ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-07 15:44:25.466370"], ["updated_at", "2015-08-07 15:44:25.466370"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-07 15:44:25.469528"], ["updated_at", "2015-08-07 15:44:25.469528"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-07 15:44:25.478318"], ["updated_at", "2015-08-07 15:44:25.478318"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-07 15:44:25.482664"], ["updated_at", "2015-08-07 15:44:25.482664"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-07 15:44:25.485436"], ["updated_at", "2015-08-07 15:44:25.485436"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 15:44:25.490659"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-07 23:59:59.999999' AND created_at >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 15:44:25.496107"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-07 23:59:59.999999' AND created_at >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-31 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 15:44:25.501828"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 15:44:25.504248"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (2.6ms) Date: Fri, 07 Aug 2015 10:44:25 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c4d2598b93e_a1373fca31060208332a0@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 40.4ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 07 Aug 2015 10:44:25 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c4d2598cda0_a1373fca3106020833345@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 07 Aug 2015 10:44:25 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c4d2598df68_a1373fca3106020833499@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 15:44:25.588135"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 15:44:25.591508"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 15:44:25.599513"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-07 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-07 15:44:25.610094') AND ("social_networking_goals"."due_on" >= '2015-08-06 15:44:25.610130')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-07 15:44:25.612609') AND ("social_networking_goals"."due_on" >= '2015-08-06 15:44:25.612629') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-07 15:44:25.614594') AND ("social_networking_goals"."due_on" >= '2015-08-06 15:44:25.614611')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-08"], ["created_at", "2015-08-07 15:44:25.618151"], ["updated_at", "2015-08-07 15:44:25.618151"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-07 15:44:25.623650"], ["updated_at", "2015-08-07 15:44:25.623650"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-07"], ["completed_at", "2015-08-05 00:00:00.000000"], ["created_at", "2015-08-07 15:44:25.627886"], ["updated_at", "2015-08-07 15:44:25.627886"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.4ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.6ms) Date: Fri, 07 Aug 2015 10:44:25 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c4d259ca87d_a1373fca310602083353d@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 41.4ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (3.6ms) Date: Fri, 07 Aug 2015 10:44:25 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c4d259cc209_a1373fca310602083365b@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 4.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Fri, 07 Aug 2015 10:44:25 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c4d259cd5ab_a1373fca31060208337e1@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.5ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 15:44:25.991138"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-07 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 15:44:25.998687"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 15:44:26.002187"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.3ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "profile"=>{}, "id"=>"1"} Unpermitted parameters: profile, id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "profile"=>{}, "id"=>"1"} Unpermitted parameters: profile, id Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "profile"=>{}, "id"=>"1"} Unpermitted parameters: profile, id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "profile"=>{}, "id"=>"1"} Unpermitted parameters: profile, id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "profile"=>{}, "id"=>"1"} Unpermitted parameters: profile, id Completed 500 Internal Server Error in 2ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "profile"=>{}, "id"=>"1"} Unpermitted parameters: profile, id Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"hourglass", "id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (7.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-07', '2015-08-07 18:25:42', '2015-08-07 18:25:42', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-07 18:25:42.000000', '2015-08-07', '2015-08-07 18:25:42', '2015-08-07 18:25:42', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-07', '2015-08-07 18:25:42', '2015-08-07 18:25:42', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-07 18:25:42', '2015-08-07 18:25:42', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-07 18:25:42.000000', '2015-08-07', '2015-08-07 18:25:42', '2015-08-07 18:25:42', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-06', '2015-08-07 18:25:42', '2015-08-07 18:25:42', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-05', '2015-08-07 18:25:42', '2015-08-07 18:25:42', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-07 18:25:42.000000', '2015-08-07', '2015-08-07 18:25:42', '2015-08-07 18:25:42', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-07', '2015-08-07 18:25:42', '2015-08-07 18:25:42', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-07 18:25:42.000000', '2015-08-07', '2015-08-07 18:25:42', '2015-08-07 18:25:42', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-07', '2015-08-07 18:25:42', '2015-08-07 18:25:42', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-07 18:25:42.000000', '2015-08-07', '2015-08-07 18:25:42', '2015-08-07 18:25:42', 16804933, 816972181)  (5.7ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (1.1ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.7ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 18:25:42.163448"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 18:25:42.168169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-31 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 18:25:42.180081"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-07 23:59:59.999999')  (0.1ms) ROLLBACK  (3.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (1.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-07 18:25:42', '2015-08-07 18:25:42', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.7ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-07 18:25:42', '2015-08-07 18:25:42', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 18:25:42.000000', '2015-08-07 18:25:42', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 18:25:42.000000', '2015-08-07 18:25:42', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 18:25:42.000000', '2015-08-07 18:25:42', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 18:25:42.000000', '2015-08-07 18:25:42', 316146702, 816972181, 700141617) Fixture Delete (0.6ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-07 18:25:42', '2015-08-07 18:25:42', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-07 18:25:42', '2015-08-07 18:25:42', 369066228, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-07 18:25:42', '2015-08-07 18:25:42', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-07 18:25:42', '2015-08-07 18:25:42', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-07 18:25:42', '2015-08-07 18:25:42', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-07 18:25:42', '2015-08-07 18:25:42', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-07 18:25:42', '2015-08-07 18:25:42', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-07 18:25:42', '2015-08-07 18:25:42', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-07 18:25:42', '2015-08-07 18:25:42', 183235640, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-07 18:25:42', '2015-08-07 18:25:42', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.5ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 18:25:42.474663"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 18:25:42.478142"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-31 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 18:25:42.485198"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-07 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-08"], ["created_at", "2015-08-07 18:25:42.498035"], ["updated_at", "2015-08-07 18:25:42.498035"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-07 18:25:42.502636"], ["updated_at", "2015-08-07 18:25:42.502636"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-07"], ["completed_at", "2015-08-05 00:00:00.000000"], ["created_at", "2015-08-07 18:25:42.511067"], ["updated_at", "2015-08-07 18:25:42.511067"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-07 18:25:42.517677') AND ("social_networking_goals"."due_on" >= '2015-08-06 18:25:42.517717') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-07 18:25:42.522514') AND ("social_networking_goals"."due_on" >= '2015-08-06 18:25:42.522537')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-07 18:25:42.524468') AND ("social_networking_goals"."due_on" >= '2015-08-06 18:25:42.524490')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 13:25:43 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.5ms) Completed 200 OK in 116ms (Views: 90.2ms | ActiveRecord: 4.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-07 13:25:43 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-07 13:25:43 -0500 Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-07 13:25:44 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-21", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-21"], ["created_at", "2015-08-07 18:25:44.018837"], ["updated_at", "2015-08-07 18:25:44.018837"]]  (6.3ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-07 18:25:44.038043"], ["updated_at", "2015-08-07 18:25:44.038043"]]  (5.6ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 32ms (Views: 0.3ms | ActiveRecord: 15.4ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 13:25:44 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 1.9ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-07 13:25:44 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-07", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.7ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-07 18:25:44.221290"], ["updated_at", "2015-08-07 18:25:44.225632"], ["id", 809335042]]  (0.8ms) COMMIT  (0.4ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-07 18:25:44.232470"], ["updated_at", "2015-08-07 18:25:44.232470"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 21ms (Views: 0.3ms | ActiveRecord: 4.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 13:25:44 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-07 13:25:44 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-07", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-07 18:25:44.388501"], ["updated_at", "2015-08-07 18:25:44.392233"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 4.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 13:25:44 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 17ms (Views: 2.4ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 13:25:44 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 2.2ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-07 13:25:44 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-04", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-04"], ["updated_at", "2015-08-07 18:25:44.760871"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 3.2ms)  (0.3ms) ROLLBACK  (2.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-07', '2015-08-07 18:25:44', '2015-08-07 18:25:44', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-07 18:25:44.000000', '2015-08-07', '2015-08-07 18:25:44', '2015-08-07 18:25:44', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-07', '2015-08-07 18:25:44', '2015-08-07 18:25:44', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-07 18:25:44', '2015-08-07 18:25:44', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-07 18:25:44.000000', '2015-08-07', '2015-08-07 18:25:44', '2015-08-07 18:25:44', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-06', '2015-08-07 18:25:44', '2015-08-07 18:25:44', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-05', '2015-08-07 18:25:44', '2015-08-07 18:25:44', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-07 18:25:44.000000', '2015-08-07', '2015-08-07 18:25:44', '2015-08-07 18:25:44', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-07', '2015-08-07 18:25:44', '2015-08-07 18:25:44', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-07 18:25:44.000000', '2015-08-07', '2015-08-07 18:25:44', '2015-08-07 18:25:44', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-07', '2015-08-07 18:25:44', '2015-08-07 18:25:44', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-07 18:25:44.000000', '2015-08-07', '2015-08-07 18:25:44', '2015-08-07 18:25:44', 16804933, 816972181)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 18:25:44.856632"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-31 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 18:25:44.865898"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 18:25:44.871037"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-07 23:59:59.999999' AND created_at >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 18:25:44.877830"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-07 23:59:59.999999' AND created_at >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (7.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-07 18:25:44', '2015-08-07 18:25:44', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-07 18:25:44', '2015-08-07 18:25:44', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 18:25:44.000000', '2015-08-07 18:25:44', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 18:25:44.000000', '2015-08-07 18:25:44', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 18:25:44.000000', '2015-08-07 18:25:44', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 18:25:44.000000', '2015-08-07 18:25:44', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-07 18:25:44', '2015-08-07 18:25:44', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-07 18:25:44', '2015-08-07 18:25:44', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-07 18:25:44', '2015-08-07 18:25:44', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-07 18:25:44', '2015-08-07 18:25:44', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-07 18:25:44', '2015-08-07 18:25:44', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-07 18:25:44', '2015-08-07 18:25:44', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-07 18:25:44', '2015-08-07 18:25:44', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-07 18:25:44', '2015-08-07 18:25:44', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-07 18:25:44', '2015-08-07 18:25:44', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-07 18:25:44', '2015-08-07 18:25:44', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.0ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 18:25:44.965246"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 18:25:44.978040"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-07 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 18:25:45.009992"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 18:25:45.013676"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 18:25:45.020028"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-07 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (1.0ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 18:25:45.045845"], ["updated_at", "2015-08-07 18:25:45.045845"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335043, null, SocialNetworking::Profile, 2015-08-07 18:25:45.045845, 2015-08-07 18:25:45.045845, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 27ms (Views: 0.2ms | ActiveRecord: 2.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.6ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.4ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (10.2ms) Date: Fri, 07 Aug 2015 13:25:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c4f82959550_151053ff1014602081797@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 229.4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 07 Aug 2015 13:25:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c4f8295b3b9_151053ff1014602081873@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Fri, 07 Aug 2015 13:25:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c4f8295c513_151053ff10146020819b0@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 07 Aug 2015 13:25:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c4f82965c76_151053ff101460208201a@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 37.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.3ms) Date: Fri, 07 Aug 2015 13:25:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c4f82967455_151053ff10146020821ce@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 4.9ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 07 Aug 2015 13:25:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c4f829689aa_151053ff101460208225a@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.1ms) Completed 202 Accepted in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 07 Aug 2015 13:25:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c4f8297b1e6_151053ff1014602082387@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 38.1ms  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.9ms) Date: Fri, 07 Aug 2015 13:25:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c4f8297cec6_151053ff10146020824ce@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 6.0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Fri, 07 Aug 2015 13:25:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c4f8297e64b_151053ff10146020825aa@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-07 18:25:45.573083"], ["updated_at", "2015-08-07 18:25:45.573083"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-07 18:25:45.578008"], ["updated_at", "2015-08-07 18:25:45.578008"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-07 18:25:45.581108"], ["updated_at", "2015-08-07 18:25:45.581108"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-07 18:25:45.585782"], ["updated_at", "2015-08-07 18:25:45.585782"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-07 18:25:45.588298"], ["updated_at", "2015-08-07 18:25:45.588298"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-07 18:25:45.601715"], ["updated_at", "2015-08-07 18:25:45.601715"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-07 18:25:45.606257"], ["updated_at", "2015-08-07 18:25:45.606257"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-07 18:25:45.615823"], ["updated_at", "2015-08-07 18:25:45.615823"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235643]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 2.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 19ms (Views: 0.4ms | ActiveRecord: 5.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 15ms  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 21ms (Views: 0.4ms | ActiveRecord: 6.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 19ms (Views: 0.4ms | ActiveRecord: 5.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 10ms (Views: 0.4ms | ActiveRecord: 1.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 6ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 500 Internal Server Error in 7ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 500 Internal Server Error in 2ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 11ms (Views: 0.4ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 14ms (Views: 0.7ms | ActiveRecord: 1.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (2.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-07', '2015-08-07 19:27:37', '2015-08-07 19:27:37', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-07 19:27:37.000000', '2015-08-07', '2015-08-07 19:27:37', '2015-08-07 19:27:37', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-07', '2015-08-07 19:27:37', '2015-08-07 19:27:37', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-07 19:27:37', '2015-08-07 19:27:37', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-07 19:27:37.000000', '2015-08-07', '2015-08-07 19:27:37', '2015-08-07 19:27:37', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-06', '2015-08-07 19:27:37', '2015-08-07 19:27:37', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-05', '2015-08-07 19:27:37', '2015-08-07 19:27:37', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-07 19:27:37.000000', '2015-08-07', '2015-08-07 19:27:37', '2015-08-07 19:27:37', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-07', '2015-08-07 19:27:37', '2015-08-07 19:27:37', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-07 19:27:37.000000', '2015-08-07', '2015-08-07 19:27:37', '2015-08-07 19:27:37', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-07', '2015-08-07 19:27:37', '2015-08-07 19:27:37', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-07 19:27:37.000000', '2015-08-07', '2015-08-07 19:27:37', '2015-08-07 19:27:37', 16804933, 816972181)  (6.2ms) COMMIT  (5.8ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 19:27:37.879544"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-07 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 19:27:37.887591"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 19:27:37.891926"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (1.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-07 19:27:37', '2015-08-07 19:27:37', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042)  (6.2ms) COMMIT  (6.9ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SQL (6.8ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 19:27:38.014609"], ["updated_at", "2015-08-07 19:27:38.014609"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335047, null, SocialNetworking::Profile, 2015-08-07 19:27:38.014609, 2015-08-07 19:27:38.014609, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 43ms (Views: 0.2ms | ActiveRecord: 10.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"icon_name"=>"purse", "id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 7ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-07 19:27:38', '2015-08-07 19:27:38', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 19:27:38.000000', '2015-08-07 19:27:38', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 19:27:38.000000', '2015-08-07 19:27:38', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 19:27:38.000000', '2015-08-07 19:27:38', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 19:27:38.000000', '2015-08-07 19:27:38', 316146702, 816972181, 700141617) Fixture Delete (0.5ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-07 19:27:38', '2015-08-07 19:27:38', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-07 19:27:38', '2015-08-07 19:27:38', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-07 19:27:38', '2015-08-07 19:27:38', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-07 19:27:38', '2015-08-07 19:27:38', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-07 19:27:38', '2015-08-07 19:27:38', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-07 19:27:38', '2015-08-07 19:27:38', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-07 19:27:38', '2015-08-07 19:27:38', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-07 19:27:38', '2015-08-07 19:27:38', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-07 19:27:38', '2015-08-07 19:27:38', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-07 19:27:38', '2015-08-07 19:27:38', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-07 19:27:38.196025"], ["updated_at", "2015-08-07 19:27:38.196025"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-07 19:27:38.204444"], ["updated_at", "2015-08-07 19:27:38.204444"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-07 19:27:38.207397"], ["updated_at", "2015-08-07 19:27:38.207397"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-07 19:27:38.220413"], ["updated_at", "2015-08-07 19:27:38.220413"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-07 19:27:38.223224"], ["updated_at", "2015-08-07 19:27:38.223224"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (2.2ms) Sent mail to obama@ex.co (8.4ms) Date: Fri, 07 Aug 2015 14:27:38 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c506aa6ffdb_2fe53ff1988521f81697c@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 231.3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Fri, 07 Aug 2015 14:27:38 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c506aa71d63_2fe53ff1988521f8170df@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 07 Aug 2015 14:27:38 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c506aa730f2_2fe53ff1988521f817171@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 19:27:38.542597"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-31 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 19:27:38.547790"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 19:27:38.550504"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-07 23:59:59.999999' AND created_at >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 19:27:38.556624"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-07 23:59:59.999999' AND created_at >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 19:27:38.572097"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-07 23:59:59.999999')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 19:27:38.581377"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 19:27:38.584704"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 14:27:39 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.9ms) Completed 200 OK in 140ms (Views: 104.6ms | ActiveRecord: 8.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-07 14:27:39 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-07 14:27:39 -0500 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-07 14:27:40 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-07", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-07 19:27:40.133803"], ["updated_at", "2015-08-07 19:27:40.136604"], ["id", 809335042]]  (6.1ms) COMMIT  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-07 19:27:40.147448"], ["updated_at", "2015-08-07 19:27:40.147448"]]  (6.1ms) COMMIT SocialNetworking::Comment Load (0.7ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 29ms (Views: 0.3ms | ActiveRecord: 14.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 14:27:40 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 14ms (Views: 1.8ms | ActiveRecord: 2.1ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-07 14:27:40 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-21", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-21"], ["created_at", "2015-08-07 19:27:40.368369"], ["updated_at", "2015-08-07 19:27:40.368369"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-07 19:27:40.372184"], ["updated_at", "2015-08-07 19:27:40.372184"]]  (0.2ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 2.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 14:27:40 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 14ms (Views: 1.8ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 14:27:40 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 19ms (Views: 2.3ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-07 14:27:40 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-07", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (1.0ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-07 19:27:40.809758"], ["updated_at", "2015-08-07 19:27:40.812943"], ["id", 614371357]]  (1.8ms) COMMIT SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 4.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 14:27:40 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-07 14:27:41 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-04", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-04"], ["updated_at", "2015-08-07 19:27:41.080984"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (1.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-07 19:27:41', '2015-08-07 19:27:41', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-07', '2015-08-07 19:27:41', '2015-08-07 19:27:41', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-07 19:27:41.000000', '2015-08-07', '2015-08-07 19:27:41', '2015-08-07 19:27:41', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-07', '2015-08-07 19:27:41', '2015-08-07 19:27:41', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-07 19:27:41', '2015-08-07 19:27:41', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-07 19:27:41.000000', '2015-08-07', '2015-08-07 19:27:41', '2015-08-07 19:27:41', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-06', '2015-08-07 19:27:41', '2015-08-07 19:27:41', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-05', '2015-08-07 19:27:41', '2015-08-07 19:27:41', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-07 19:27:41.000000', '2015-08-07', '2015-08-07 19:27:41', '2015-08-07 19:27:41', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-07', '2015-08-07 19:27:41', '2015-08-07 19:27:41', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-07 19:27:41.000000', '2015-08-07', '2015-08-07 19:27:41', '2015-08-07 19:27:41', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-07', '2015-08-07 19:27:41', '2015-08-07 19:27:41', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-07 19:27:41.000000', '2015-08-07', '2015-08-07 19:27:41', '2015-08-07 19:27:41', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-07 19:27:41', '2015-08-07 19:27:41', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 19:27:41.000000', '2015-08-07 19:27:41', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 19:27:41.000000', '2015-08-07 19:27:41', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 19:27:41.000000', '2015-08-07 19:27:41', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 19:27:41.000000', '2015-08-07 19:27:41', 316146702, 816972181, 700141617) Fixture Delete (0.6ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-07 19:27:41', '2015-08-07 19:27:41', 576803333, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-07 19:27:41', '2015-08-07 19:27:41', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-07 19:27:41', '2015-08-07 19:27:41', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-07 19:27:41', '2015-08-07 19:27:41', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-07 19:27:41', '2015-08-07 19:27:41', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-07 19:27:41', '2015-08-07 19:27:41', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-07 19:27:41', '2015-08-07 19:27:41', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-07 19:27:41', '2015-08-07 19:27:41', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-07 19:27:41', '2015-08-07 19:27:41', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-07 19:27:41', '2015-08-07 19:27:41', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.0ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 19:27:41.284511"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-07 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 19:27:41.295749"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 19:27:41.385610"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-07 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 19:27:41.399914"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 19:27:41.403358"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-07 19:27:41.407203') AND ("social_networking_goals"."due_on" >= '2015-08-06 19:27:41.407236')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-07 19:27:41.410955') AND ("social_networking_goals"."due_on" >= '2015-08-06 19:27:41.410973') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-07 19:27:41.413218') AND ("social_networking_goals"."due_on" >= '2015-08-06 19:27:41.413236')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-07 19:27:41.416794"], ["updated_at", "2015-08-07 19:27:41.416794"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-07"], ["completed_at", "2015-08-05 00:00:00.000000"], ["created_at", "2015-08-07 19:27:41.423414"], ["updated_at", "2015-08-07 19:27:41.423414"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-08"], ["created_at", "2015-08-07 19:27:41.427783"], ["updated_at", "2015-08-07 19:27:41.427783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (3.5ms) Date: Fri, 07 Aug 2015 14:27:41 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c506ad7e46a_2fe53ff1988521f817234@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 46.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.6ms) Date: Fri, 07 Aug 2015 14:27:41 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c506ad7f993_2fe53ff1988521f817322@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 07 Aug 2015 14:27:41 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c506ad80c14_2fe53ff1988521f817460@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-07 19:27:41.531632"], ["updated_at", "2015-08-07 19:27:41.531632"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235641]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-07 19:27:41.542905"], ["updated_at", "2015-08-07 19:27:41.542905"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-07 19:27:41.547912"], ["updated_at", "2015-08-07 19:27:41.547912"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.6ms) Date: Fri, 07 Aug 2015 14:27:41 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c506ad93c60_2fe53ff1988521f8175db@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 42.8ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.9ms) Date: Fri, 07 Aug 2015 14:27:41 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c506ad95290_2fe53ff1988521f81762c@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 4.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.8ms) Date: Fri, 07 Aug 2015 14:27:41 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c506ad968b5_2fe53ff1988521f8177e0@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.9ms  (0.2ms) ROLLBACK  (2.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-07', '2015-08-07 19:34:42', '2015-08-07 19:34:42', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-07 19:34:42.000000', '2015-08-07', '2015-08-07 19:34:42', '2015-08-07 19:34:42', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-07', '2015-08-07 19:34:42', '2015-08-07 19:34:42', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-07 19:34:42', '2015-08-07 19:34:42', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-07 19:34:42.000000', '2015-08-07', '2015-08-07 19:34:42', '2015-08-07 19:34:42', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-06', '2015-08-07 19:34:42', '2015-08-07 19:34:42', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-05', '2015-08-07 19:34:42', '2015-08-07 19:34:42', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-07 19:34:42.000000', '2015-08-07', '2015-08-07 19:34:42', '2015-08-07 19:34:42', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-07', '2015-08-07 19:34:42', '2015-08-07 19:34:42', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-07 19:34:42.000000', '2015-08-07', '2015-08-07 19:34:42', '2015-08-07 19:34:42', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-07', '2015-08-07 19:34:42', '2015-08-07 19:34:42', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-07 19:34:42.000000', '2015-08-07', '2015-08-07 19:34:42', '2015-08-07 19:34:42', 16804933, 816972181)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 19:34:43.031535"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-07 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 19:34:43.041766"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 19:34:43.045168"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-31 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (1.0ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 19:34:43.065381"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-07 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 19:34:43.077325"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.9ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 19:34:43.081145"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-31 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-07 19:34:43.099465"], ["updated_at", "2015-08-07 19:34:43.099465"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-07 19:34:43.111934"], ["updated_at", "2015-08-07 19:34:43.111934"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-07 19:34:43.115485"], ["updated_at", "2015-08-07 19:34:43.115485"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 10ms (Views: 8.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-07 19:34:43', '2015-08-07 19:34:43', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-07 19:34:43', '2015-08-07 19:34:43', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 19:34:43.000000', '2015-08-07 19:34:43', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 19:34:43.000000', '2015-08-07 19:34:43', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 19:34:43.000000', '2015-08-07 19:34:43', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 19:34:43.000000', '2015-08-07 19:34:43', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-07 19:34:43', '2015-08-07 19:34:43', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-07 19:34:43', '2015-08-07 19:34:43', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-07 19:34:43', '2015-08-07 19:34:43', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-07 19:34:43', '2015-08-07 19:34:43', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-07 19:34:43', '2015-08-07 19:34:43', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-07 19:34:43', '2015-08-07 19:34:43', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-07 19:34:43', '2015-08-07 19:34:43', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-07 19:34:43', '2015-08-07 19:34:43', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-07 19:34:43', '2015-08-07 19:34:43', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-07 19:34:43', '2015-08-07 19:34:43', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (1.4ms) Sent mail to obama@ex.co (6.6ms) Date: Fri, 07 Aug 2015 14:34:43 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c5085390628_398a3ffa4146020086275@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 201.4ms  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.0ms) Date: Fri, 07 Aug 2015 14:34:43 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c5085392bff_398a3ffa414602008632@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 6.2ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (3.1ms) Date: Fri, 07 Aug 2015 14:34:43 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c50853944d1_398a3ffa41460200864ef@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 4.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 19:34:43.629947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 19:34:43.634167"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 19:34:43.644820"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-07 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-07 19:34:43.651239') AND ("social_networking_goals"."due_on" >= '2015-08-06 19:34:43.651291')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-07 19:34:43.654530') AND ("social_networking_goals"."due_on" >= '2015-08-06 19:34:43.654547') SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-07 19:34:43.658292') AND ("social_networking_goals"."due_on" >= '2015-08-06 19:34:43.658313')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-08"], ["created_at", "2015-08-07 19:34:43.661954"], ["updated_at", "2015-08-07 19:34:43.661954"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-07"], ["completed_at", "2015-08-05 00:00:00.000000"], ["created_at", "2015-08-07 19:34:43.668688"], ["updated_at", "2015-08-07 19:34:43.668688"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-07 19:34:43.674462"], ["updated_at", "2015-08-07 19:34:43.674462"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 19:34:43.691931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-07 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 19:34:43.700692"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (2.6ms) Date: Fri, 07 Aug 2015 14:34:43 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c50853be4ae_398a3ffa414602008659b@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 37.5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.3ms) Date: Fri, 07 Aug 2015 14:34:43 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c50853bff63_398a3ffa414602008669b@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 5.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 07 Aug 2015 14:34:43 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c50853c14c2_398a3ffa4146020086722@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (1.0ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 19:34:43.809875"], ["updated_at", "2015-08-07 19:34:43.809875"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335043, null, SocialNetworking::Profile, 2015-08-07 19:34:43.809875, 2015-08-07 19:34:43.809875, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 22ms (Views: 0.2ms | ActiveRecord: 3.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 19:34:43.897443"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-07 23:59:59.999999' AND created_at >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 19:34:43.903666"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-07 23:59:59.999999' AND created_at >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-31 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 19:34:43.910048"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 19:34:43.912952"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-07 19:34:43.918973"], ["updated_at", "2015-08-07 19:34:43.918973"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235641]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-07 19:34:43.935308"], ["updated_at", "2015-08-07 19:34:43.935308"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-07 19:34:43.940105"], ["updated_at", "2015-08-07 19:34:43.940105"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 14:34:44 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.7ms) Completed 200 OK in 115ms (Views: 74.6ms | ActiveRecord: 5.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-07 14:34:44 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-07 14:34:44 -0500 SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-07 14:34:44 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-04", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-04"], ["updated_at", "2015-08-07 19:34:44.962587"], ["id", 53334230]]  (1.7ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 3.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 14:34:45 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 15ms (Views: 2.0ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-07 14:34:45 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-07", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-07 19:34:45.153301"], ["updated_at", "2015-08-07 19:34:45.155680"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 2.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 14:34:45 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.6ms) Completed 200 OK in 16ms (Views: 3.7ms | ActiveRecord: 1.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-07 14:34:45 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-21", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-21"], ["created_at", "2015-08-07 19:34:45.376121"], ["updated_at", "2015-08-07 19:34:45.376121"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-07 19:34:45.383408"], ["updated_at", "2015-08-07 19:34:45.383408"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 4.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 14:34:45 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 17ms (Views: 2.1ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-07 14:34:45 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-07", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-07 19:34:45.578605"], ["updated_at", "2015-08-07 19:34:45.580807"], ["id", 809335042]]  (1.6ms) COMMIT  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-07 19:34:45.585969"], ["updated_at", "2015-08-07 19:34:45.585969"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 14:34:45 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 1.8ms)  (0.3ms) ROLLBACK  (2.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.5ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-07 19:34:45', '2015-08-07 19:34:45', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-07', '2015-08-07 19:34:45', '2015-08-07 19:34:45', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-07 19:34:45.000000', '2015-08-07', '2015-08-07 19:34:45', '2015-08-07 19:34:45', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-07', '2015-08-07 19:34:45', '2015-08-07 19:34:45', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-07 19:34:45', '2015-08-07 19:34:45', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-07 19:34:45.000000', '2015-08-07', '2015-08-07 19:34:45', '2015-08-07 19:34:45', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-06', '2015-08-07 19:34:45', '2015-08-07 19:34:45', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-05', '2015-08-07 19:34:45', '2015-08-07 19:34:45', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-07 19:34:45.000000', '2015-08-07', '2015-08-07 19:34:45', '2015-08-07 19:34:45', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-07', '2015-08-07 19:34:45', '2015-08-07 19:34:45', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-07 19:34:45.000000', '2015-08-07', '2015-08-07 19:34:45', '2015-08-07 19:34:45', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-07', '2015-08-07 19:34:45', '2015-08-07 19:34:45', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-07 19:34:45.000000', '2015-08-07', '2015-08-07 19:34:45', '2015-08-07 19:34:45', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-07 19:34:45', '2015-08-07 19:34:45', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 19:34:45.000000', '2015-08-07 19:34:45', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 19:34:45.000000', '2015-08-07 19:34:45', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 19:34:45.000000', '2015-08-07 19:34:45', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 19:34:45.000000', '2015-08-07 19:34:45', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-07 19:34:45', '2015-08-07 19:34:45', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-07 19:34:45', '2015-08-07 19:34:45', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-07 19:34:45', '2015-08-07 19:34:45', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-07 19:34:45', '2015-08-07 19:34:45', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-07 19:34:45', '2015-08-07 19:34:45', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-07 19:34:45', '2015-08-07 19:34:45', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-07 19:34:45', '2015-08-07 19:34:45', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-07 19:34:45', '2015-08-07 19:34:45', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-07 19:34:45', '2015-08-07 19:34:45', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-07 19:34:45', '2015-08-07 19:34:45', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (0.9ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.7ms) Sent mail to obama@ex.co (2.7ms) Date: Fri, 07 Aug 2015 14:34:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c50855f12a2_398a3ffa414602008687c@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 38.1ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 07 Aug 2015 14:34:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c50855f26f0_398a3ffa414602008692a@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.3ms) Date: Fri, 07 Aug 2015 14:34:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c5085699_398a3ffa4146020087075@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 6.3ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-07 19:34:46.027236"], ["updated_at", "2015-08-07 19:34:46.027236"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-07 19:34:46.029924"], ["updated_at", "2015-08-07 19:34:46.029924"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.7ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 19:35:14.709485"], ["updated_at", "2015-08-07 19:35:14.709485"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (1, null, SocialNetworking::Profile, 2015-08-07 19:35:14.709485, 2015-08-07 19:35:14.709485, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 80ms (Views: 0.2ms | ActiveRecord: 9.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (1.4ms) Sent mail to obama@ex.co (7.3ms) Date: Fri, 07 Aug 2015 14:35:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c50872ea421_3a5d3fed3606020835943@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 241.6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 07 Aug 2015 14:35:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c50872ec1b3_3a5d3fed360602083609d@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Fri, 07 Aug 2015 14:35:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c50872ed636_3a5d3fed360602083612b@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (3.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-07 19:35:15', '2015-08-07 19:35:15', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-07', '2015-08-07 19:35:15', '2015-08-07 19:35:15', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-07 19:35:14.000000', '2015-08-07', '2015-08-07 19:35:15', '2015-08-07 19:35:15', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-07', '2015-08-07 19:35:15', '2015-08-07 19:35:15', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-07 19:35:15', '2015-08-07 19:35:15', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-07 19:35:14.000000', '2015-08-07', '2015-08-07 19:35:15', '2015-08-07 19:35:15', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-06', '2015-08-07 19:35:15', '2015-08-07 19:35:15', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-05', '2015-08-07 19:35:15', '2015-08-07 19:35:15', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-07 19:35:14.000000', '2015-08-07', '2015-08-07 19:35:15', '2015-08-07 19:35:15', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-07', '2015-08-07 19:35:15', '2015-08-07 19:35:15', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-07 19:35:14.000000', '2015-08-07', '2015-08-07 19:35:15', '2015-08-07 19:35:15', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-07', '2015-08-07 19:35:15', '2015-08-07 19:35:15', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-07 19:35:14.000000', '2015-08-07', '2015-08-07 19:35:15', '2015-08-07 19:35:15', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-07 19:35:15', '2015-08-07 19:35:15', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 19:35:14.000000', '2015-08-07 19:35:15', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 19:35:14.000000', '2015-08-07 19:35:15', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 19:35:14.000000', '2015-08-07 19:35:15', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 19:35:14.000000', '2015-08-07 19:35:15', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-07 19:35:15', '2015-08-07 19:35:15', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-07 19:35:15', '2015-08-07 19:35:15', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-07 19:35:15', '2015-08-07 19:35:15', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-07 19:35:15', '2015-08-07 19:35:15', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-07 19:35:15', '2015-08-07 19:35:15', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-07 19:35:15', '2015-08-07 19:35:15', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-07 19:35:15', '2015-08-07 19:35:15', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-07 19:35:15', '2015-08-07 19:35:15', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-07 19:35:15', '2015-08-07 19:35:15', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-07 19:35:15', '2015-08-07 19:35:15', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.5ms) Date: Fri, 07 Aug 2015 14:35:15 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c508731cc10_3a5d3fed36060208362fc@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 39.0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (3.5ms) Date: Fri, 07 Aug 2015 14:35:15 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c508731e1e0_3a5d3fed36060208363fc@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 4.6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 07 Aug 2015 14:35:15 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c508731f7ae_3a5d3fed36060208364d@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-07 19:35:15.137713"], ["updated_at", "2015-08-07 19:35:15.137713"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-07 19:35:15.142905"], ["updated_at", "2015-08-07 19:35:15.142905"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.6ms) Date: Fri, 07 Aug 2015 14:35:15 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c508734fdeb_3a5d3fed3606020836584@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 50.6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 07 Aug 2015 14:35:15 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c508735139d_3a5d3fed360602083667e@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 07 Aug 2015 14:35:15 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c508735264c_3a5d3fed360602083673a@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 19:35:15.408711"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-07 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 19:35:15.424656"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 19:35:15.427704"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-07 19:35:15.436214"], ["updated_at", "2015-08-07 19:35:15.436214"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-08"], ["created_at", "2015-08-07 19:35:15.442512"], ["updated_at", "2015-08-07 19:35:15.442512"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-07"], ["completed_at", "2015-08-05 00:00:00.000000"], ["created_at", "2015-08-07 19:35:15.446720"], ["updated_at", "2015-08-07 19:35:15.446720"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-07 19:35:15.451426') AND ("social_networking_goals"."due_on" >= '2015-08-06 19:35:15.451458') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-07 19:35:15.455188') AND ("social_networking_goals"."due_on" >= '2015-08-06 19:35:15.455220')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-07 19:35:15.456930') AND ("social_networking_goals"."due_on" >= '2015-08-06 19:35:15.456947')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 19:35:15.464126"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 19:35:15.468822"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 19:35:15.476178"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-07 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 19:35:15.491124"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 19:35:15.497139"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-31 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 19:35:15.505406"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-07 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.5ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.4ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.4ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 14:35:16 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.2ms) Completed 200 OK in 93ms (Views: 60.3ms | ActiveRecord: 5.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-07 14:35:16 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-07 14:35:16 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-07 14:35:16 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-07", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-07 19:35:16.574726"], ["updated_at", "2015-08-07 19:35:16.578112"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.4ms | ActiveRecord: 3.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 14:35:16 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 16ms (Views: 2.1ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-07 14:35:16 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-07", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-07 19:35:16.755192"], ["updated_at", "2015-08-07 19:35:16.757765"], ["id", 809335042]]  (1.3ms) COMMIT  (0.4ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-07 19:35:16.763074"], ["updated_at", "2015-08-07 19:35:16.763074"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 3.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 14:35:16 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 16ms (Views: 2.3ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 14:35:17 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 14ms (Views: 1.8ms | ActiveRecord: 1.5ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-07 14:35:17 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-21", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-21"], ["created_at", "2015-08-07 19:35:17.202878"], ["updated_at", "2015-08-07 19:35:17.202878"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-07 19:35:17.207555"], ["updated_at", "2015-08-07 19:35:17.207555"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 2.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 14:35:17 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 16ms (Views: 1.8ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-07 14:35:17 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-04", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-04"], ["updated_at", "2015-08-07 19:35:17.490216"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 2.8ms)  (0.2ms) ROLLBACK  (1.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-07', '2015-08-07 19:35:17', '2015-08-07 19:35:17', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-07 19:35:17.000000', '2015-08-07', '2015-08-07 19:35:17', '2015-08-07 19:35:17', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-07', '2015-08-07 19:35:17', '2015-08-07 19:35:17', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-07 19:35:17', '2015-08-07 19:35:17', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-07 19:35:17.000000', '2015-08-07', '2015-08-07 19:35:17', '2015-08-07 19:35:17', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-06', '2015-08-07 19:35:17', '2015-08-07 19:35:17', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-05', '2015-08-07 19:35:17', '2015-08-07 19:35:17', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-07 19:35:17.000000', '2015-08-07', '2015-08-07 19:35:17', '2015-08-07 19:35:17', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-07', '2015-08-07 19:35:17', '2015-08-07 19:35:17', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-07 19:35:17.000000', '2015-08-07', '2015-08-07 19:35:17', '2015-08-07 19:35:17', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-07', '2015-08-07 19:35:17', '2015-08-07 19:35:17', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-07 19:35:17.000000', '2015-08-07', '2015-08-07 19:35:17', '2015-08-07 19:35:17', 16804933, 816972181)  (3.2ms) COMMIT  (1.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-31 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 19:35:17.583578"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 19:35:17.586655"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 19:35:17.592932"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-07 23:59:59.999999' AND created_at >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 19:35:17.598991"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-07 23:59:59.999999' AND created_at >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-07 19:35:17.605285"], ["updated_at", "2015-08-07 19:35:17.605285"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-07 19:35:17.610748"], ["updated_at", "2015-08-07 19:35:17.610748"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-07 19:35:17.613345"], ["updated_at", "2015-08-07 19:35:17.613345"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-07 19:35:17.621271"], ["updated_at", "2015-08-07 19:35:17.621271"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-07 19:35:17.628293"], ["updated_at", "2015-08-07 19:35:17.628293"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-07 19:35:17.639091"], ["updated_at", "2015-08-07 19:35:17.639091"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235643]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (1.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-07 19:35:17', '2015-08-07 19:35:17', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-07 19:35:17', '2015-08-07 19:35:17', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 19:35:17.000000', '2015-08-07 19:35:17', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 19:35:17.000000', '2015-08-07 19:35:17', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 19:35:17.000000', '2015-08-07 19:35:17', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 19:35:17.000000', '2015-08-07 19:35:17', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-07 19:35:17', '2015-08-07 19:35:17', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-07 19:35:17', '2015-08-07 19:35:17', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-07 19:35:17', '2015-08-07 19:35:17', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-07 19:35:17', '2015-08-07 19:35:17', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-07 19:35:17', '2015-08-07 19:35:17', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-07 19:35:17', '2015-08-07 19:35:17', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-07 19:35:17', '2015-08-07 19:35:17', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-07 19:35:17', '2015-08-07 19:35:17', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-07 19:35:17', '2015-08-07 19:35:17', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-07 19:35:17', '2015-08-07 19:35:17', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 19:35:17.732627"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-31 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 19:35:17.748265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-07 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.8ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.9ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 19:39:30.526794"], ["updated_at", "2015-08-07 19:39:30.526794"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335043, null, SocialNetworking::Profile, 2015-08-07 19:39:30.526794, 2015-08-07 19:39:30.526794, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 91ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.7ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 19:41:18.861994"], ["updated_at", "2015-08-07 19:41:18.861994"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335044, null, SocialNetworking::Profile, 2015-08-07 19:41:18.861994, 2015-08-07 19:41:18.861994, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 78ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 19:41:44.000373"], ["updated_at", "2015-08-07 19:41:44.000373"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335045, null, SocialNetworking::Profile, 2015-08-07 19:41:44.000373, 2015-08-07 19:41:44.000373, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 81ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.8ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 19:41:56.465010"], ["updated_at", "2015-08-07 19:41:56.465010"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335046, null, SocialNetworking::Profile, 2015-08-07 19:41:56.46501, 2015-08-07 19:41:56.46501, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 77ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.8ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (1.5ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 19:43:02.239970"], ["updated_at", "2015-08-07 19:43:02.239970"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335047, null, SocialNetworking::Profile, 2015-08-07 19:43:02.23997, 2015-08-07 19:43:02.23997, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 19:43:02.257395') GROUP BY initiator_id [["recipient_id", 1]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 500 Internal Server Error in 85ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.8ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 19:43:16.838518"], ["updated_at", "2015-08-07 19:43:16.838518"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335048, null, SocialNetworking::Profile, 2015-08-07 19:43:16.838518, 2015-08-07 19:43:16.838518, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 19:43:16.850305') GROUP BY initiator_id [["recipient_id", 1]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 500 Internal Server Error in 85ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 19:43:31.323628"], ["updated_at", "2015-08-07 19:43:31.323628"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335049, null, SocialNetworking::Profile, 2015-08-07 19:43:31.323628, 2015-08-07 19:43:31.323628, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 19:43:31.336404') GROUP BY initiator_id [["recipient_id", 1]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 500 Internal Server Error in 86ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.7ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 19:43:56.645067"], ["updated_at", "2015-08-07 19:43:56.645067"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335050, null, SocialNetworking::Profile, 2015-08-07 19:43:56.645067, 2015-08-07 19:43:56.645067, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 19:43:56.656871') GROUP BY initiator_id [["recipient_id", 1]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 500 Internal Server Error in 83ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.8ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.7ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 19:45:15.605112"], ["updated_at", "2015-08-07 19:45:15.605112"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335051, null, SocialNetworking::Profile, 2015-08-07 19:45:15.605112, 2015-08-07 19:45:15.605112, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 19:45:15.620997') GROUP BY initiator_id [["recipient_id", 1]] Completed 500 Internal Server Error in 92ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.6ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 19:45:27.008335"], ["updated_at", "2015-08-07 19:45:27.008335"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335052, null, SocialNetworking::Profile, 2015-08-07 19:45:27.008335, 2015-08-07 19:45:27.008335, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 19:45:27.024207') GROUP BY initiator_id [["recipient_id", 1]] Completed 500 Internal Server Error in 94ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.7ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 19:48:18.186508"], ["updated_at", "2015-08-07 19:48:18.186508"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335053, null, SocialNetworking::Profile, 2015-08-07 19:48:18.186508, 2015-08-07 19:48:18.186508, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 83ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 19:49:38.034196"], ["updated_at", "2015-08-07 19:49:38.034196"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335054, null, SocialNetworking::Profile, 2015-08-07 19:49:38.034196, 2015-08-07 19:49:38.034196, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 86ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.7ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 19:58:55.885316"], ["updated_at", "2015-08-07 19:58:55.885316"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335055, null, SocialNetworking::Profile, 2015-08-07 19:58:55.885316, 2015-08-07 19:58:55.885316, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 80ms (Views: 0.2ms | ActiveRecord: 6.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (3.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.7ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-07 19:59:08', '2015-08-07 19:59:08', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-07', '2015-08-07 19:59:08', '2015-08-07 19:59:08', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-07 19:59:08.000000', '2015-08-07', '2015-08-07 19:59:08', '2015-08-07 19:59:08', 576699391, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-07', '2015-08-07 19:59:08', '2015-08-07 19:59:08', 614371357, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-07 19:59:08', '2015-08-07 19:59:08', 53334230, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-07 19:59:08.000000', '2015-08-07', '2015-08-07 19:59:08', '2015-08-07 19:59:08', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-06', '2015-08-07 19:59:08', '2015-08-07 19:59:08', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-05', '2015-08-07 19:59:08', '2015-08-07 19:59:08', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-07 19:59:08.000000', '2015-08-07', '2015-08-07 19:59:08', '2015-08-07 19:59:08', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-07', '2015-08-07 19:59:08', '2015-08-07 19:59:08', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-07 19:59:08.000000', '2015-08-07', '2015-08-07 19:59:08', '2015-08-07 19:59:08', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-07', '2015-08-07 19:59:08', '2015-08-07 19:59:08', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-07 19:59:08.000000', '2015-08-07', '2015-08-07 19:59:08', '2015-08-07 19:59:08', 16804933, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-07 19:59:08', '2015-08-07 19:59:08', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 19:59:08.000000', '2015-08-07 19:59:08', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 19:59:08.000000', '2015-08-07 19:59:08', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 19:59:08.000000', '2015-08-07 19:59:08', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 19:59:08.000000', '2015-08-07 19:59:08', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-07 19:59:08', '2015-08-07 19:59:08', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-07 19:59:08', '2015-08-07 19:59:08', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-07 19:59:08', '2015-08-07 19:59:08', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-07 19:59:08', '2015-08-07 19:59:08', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-07 19:59:08', '2015-08-07 19:59:08', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-07 19:59:08', '2015-08-07 19:59:08', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-07 19:59:08', '2015-08-07 19:59:08', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-07 19:59:08', '2015-08-07 19:59:08', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-07 19:59:08', '2015-08-07 19:59:08', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-07 19:59:08', '2015-08-07 19:59:08', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (1.6ms) Sent mail to obama@ex.co (8.6ms) Date: Fri, 07 Aug 2015 14:59:08 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c50e0c8b414_5ce03ffdb88602041543e@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 244.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 07 Aug 2015 14:59:08 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c50e0c8cf1c_5ce03ffdb886020415586@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Fri, 07 Aug 2015 14:59:08 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c50e0c8e529_5ce03ffdb88602041560@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 19:59:08.597269"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-07 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 19:59:08.604286"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 19:59:08.609160"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-31 00:00:00.000000')  (0.3ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.7ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 19:59:08.718265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-07 23:59:59.999999')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 19:59:08.728546"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.5ms) Date: Fri, 07 Aug 2015 14:59:08 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c50e0cc17a7_5ce03ffdb8860204157e3@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 38.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.2ms) Date: Fri, 07 Aug 2015 14:59:08 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c50e0cc3332_5ce03ffdb8860204158a0@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 6.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 07 Aug 2015 14:59:08 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c50e0cc48cb_5ce03ffdb8860204159e6@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 19:59:08.863295"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-07 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 19:59:08.870466"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 19:59:08.874784"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-07 19:59:08.881696') AND ("social_networking_goals"."due_on" >= '2015-08-06 19:59:08.881739')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-07 19:59:08.884962') AND ("social_networking_goals"."due_on" >= '2015-08-06 19:59:08.884987') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-07 19:59:08.887611') AND ("social_networking_goals"."due_on" >= '2015-08-06 19:59:08.887630')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-07"], ["completed_at", "2015-08-05 00:00:00.000000"], ["created_at", "2015-08-07 19:59:08.891453"], ["updated_at", "2015-08-07 19:59:08.891453"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-07 19:59:08.895597"], ["updated_at", "2015-08-07 19:59:08.895597"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-08"], ["created_at", "2015-08-07 19:59:08.899702"], ["updated_at", "2015-08-07 19:59:08.899702"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-07 19:59:08.990721"], ["updated_at", "2015-08-07 19:59:08.990721"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-07 19:59:08.997245"], ["updated_at", "2015-08-07 19:59:08.997245"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-07 19:59:09.000811"], ["updated_at", "2015-08-07 19:59:09.000811"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 19:59:09.019822"], ["updated_at", "2015-08-07 19:59:09.019822"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335045, null, SocialNetworking::Profile, 2015-08-07 19:59:09.019822, 2015-08-07 19:59:09.019822, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 20ms (Views: 0.2ms | ActiveRecord: 2.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-07 19:59:09.058503"], ["updated_at", "2015-08-07 19:59:09.058503"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235641]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-07 19:59:09.075480"], ["updated_at", "2015-08-07 19:59:09.075480"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-07 19:59:09.081113"], ["updated_at", "2015-08-07 19:59:09.081113"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 14:59:09 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.9ms) Completed 200 OK in 105ms (Views: 83.1ms | ActiveRecord: 4.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-07 14:59:09 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-07 14:59:09 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-07 14:59:10 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-04", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-04"], ["updated_at", "2015-08-07 19:59:10.140178"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 14:59:10 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-07 14:59:10 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-07", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-07 19:59:10.328124"], ["updated_at", "2015-08-07 19:59:10.330550"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 2.7ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 14:59:10 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 14ms (Views: 1.9ms | ActiveRecord: 1.5ms) SocialNetworking::Goal Load (1.0ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-07 14:59:10 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-07", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-07 19:59:10.492395"], ["updated_at", "2015-08-07 19:59:10.494934"], ["id", 809335042]]  (1.4ms) COMMIT  (0.4ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-07 19:59:10.500435"], ["updated_at", "2015-08-07 19:59:10.500435"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.4ms | ActiveRecord: 4.2ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 14:59:10 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 15ms (Views: 2.0ms | ActiveRecord: 1.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-07 14:59:10 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-21", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-21"], ["created_at", "2015-08-07 19:59:10.704267"], ["updated_at", "2015-08-07 19:59:10.704267"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-07 19:59:10.708921"], ["updated_at", "2015-08-07 19:59:10.708921"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 14:59:10 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.8ms) Completed 200 OK in 18ms (Views: 4.0ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (2.9ms) Date: Fri, 07 Aug 2015 14:59:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c50e0fe78a_5ce03ffdb8860204160b5@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 38.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.6ms) Date: Fri, 07 Aug 2015 14:59:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c50e0ffd39_5ce03ffdb8860204161c@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Fri, 07 Aug 2015 14:59:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c50e0f11099_5ce03ffdb88602041625d@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.7ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 19:59:11.170565"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-07 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.6ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 19:59:11.182634"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 19:59:11.186863"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (2.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-07 19:59:11', '2015-08-07 19:59:11', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-07', '2015-08-07 19:59:11', '2015-08-07 19:59:11', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-07 19:59:11.000000', '2015-08-07', '2015-08-07 19:59:11', '2015-08-07 19:59:11', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-07', '2015-08-07 19:59:11', '2015-08-07 19:59:11', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-07 19:59:11', '2015-08-07 19:59:11', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-07 19:59:11.000000', '2015-08-07', '2015-08-07 19:59:11', '2015-08-07 19:59:11', 916373174, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-06', '2015-08-07 19:59:11', '2015-08-07 19:59:11', 717544784, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-05', '2015-08-07 19:59:11', '2015-08-07 19:59:11', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-07 19:59:11.000000', '2015-08-07', '2015-08-07 19:59:11', '2015-08-07 19:59:11', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-07', '2015-08-07 19:59:11', '2015-08-07 19:59:11', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-07 19:59:11.000000', '2015-08-07', '2015-08-07 19:59:11', '2015-08-07 19:59:11', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-07', '2015-08-07 19:59:11', '2015-08-07 19:59:11', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-07 19:59:11.000000', '2015-08-07', '2015-08-07 19:59:11', '2015-08-07 19:59:11', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-07 19:59:11', '2015-08-07 19:59:11', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 19:59:11.000000', '2015-08-07 19:59:11', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 19:59:11.000000', '2015-08-07 19:59:11', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 19:59:11.000000', '2015-08-07 19:59:11', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 19:59:11.000000', '2015-08-07 19:59:11', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-07 19:59:11', '2015-08-07 19:59:11', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-07 19:59:11', '2015-08-07 19:59:11', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-07 19:59:11', '2015-08-07 19:59:11', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-07 19:59:11', '2015-08-07 19:59:11', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-07 19:59:11', '2015-08-07 19:59:11', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-07 19:59:11', '2015-08-07 19:59:11', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-07 19:59:11', '2015-08-07 19:59:11', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-07 19:59:11', '2015-08-07 19:59:11', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-07 19:59:11', '2015-08-07 19:59:11', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-07 19:59:11', '2015-08-07 19:59:11', 809335042, 'SocialNetworking::Goal', 809335042)  (0.3ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-07 19:59:11.271722"], ["updated_at", "2015-08-07 19:59:11.271722"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-07 19:59:11.274713"], ["updated_at", "2015-08-07 19:59:11.274713"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-07 23:59:59.999999' AND created_at >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 19:59:11.327244"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-07 23:59:59.999999' AND created_at >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 19:59:11.332352"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-31 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 19:59:11.337977"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 19:59:11.340571"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (6.5ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:11:43.533607"], ["updated_at", "2015-08-07 20:11:43.533607"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335044, null, SocialNetworking::Profile, 2015-08-07 20:11:43.533607, 2015-08-07 20:11:43.533607, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 93ms (Views: 0.4ms | ActiveRecord: 13.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (1.4ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:14:47.054602"], ["updated_at", "2015-08-07 20:14:47.054602"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335045, null, SocialNetworking::Profile, 2015-08-07 20:14:47.054602, 2015-08-07 20:14:47.054602, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 88ms (Views: 0.2ms | ActiveRecord: 7.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.9ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:15:48.122313"], ["updated_at", "2015-08-07 20:15:48.122313"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335046, null, SocialNetworking::Profile, 2015-08-07 20:15:48.122313, 2015-08-07 20:15:48.122313, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 79ms (Views: 0.2ms | ActiveRecord: 7.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:15:48.148674"], ["updated_at", "2015-08-07 20:15:48.148674"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335047, null, SocialNetworking::Profile, 2015-08-07 20:15:48.148674, 2015-08-07 20:15:48.148674, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:15:48.154217') GROUP BY initiator_id [["recipient_id", 1]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.7ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:15:48.164439"], ["updated_at", "2015-08-07 20:15:48.164439"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335048, null, SocialNetworking::Profile, 2015-08-07 20:15:48.164439, 2015-08-07 20:15:48.164439, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 29ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:15:48.184872"], ["updated_at", "2015-08-07 20:15:48.184872"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335049, null, SocialNetworking::Profile, 2015-08-07 20:15:48.184872, 2015-08-07 20:15:48.184872, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:15:48.191804') GROUP BY initiator_id [["recipient_id", 1]] Completed 500 Internal Server Error in 15ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.6ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.7ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:19:53.329924"], ["updated_at", "2015-08-07 20:19:53.329924"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335050, null, SocialNetworking::Profile, 2015-08-07 20:19:53.329924, 2015-08-07 20:19:53.329924, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.8ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:19:53.345847') GROUP BY initiator_id [["recipient_id", 1]] Completed 500 Internal Server Error in 101ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:19:53.367050"], ["updated_at", "2015-08-07 20:19:53.367050"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335051, null, SocialNetworking::Profile, 2015-08-07 20:19:53.36705, 2015-08-07 20:19:53.36705, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:19:53.373520') GROUP BY initiator_id [["recipient_id", 1]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.8ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:19:53.379863"], ["updated_at", "2015-08-07 20:19:53.379863"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335052, null, SocialNetworking::Profile, 2015-08-07 20:19:53.379863, 2015-08-07 20:19:53.379863, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 44ms (Views: 15.7ms | ActiveRecord: 4.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:19:53.415688"], ["updated_at", "2015-08-07 20:19:53.415688"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335053, null, SocialNetworking::Profile, 2015-08-07 20:19:53.415688, 2015-08-07 20:19:53.415688, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 18ms (Views: 0.2ms | ActiveRecord: 2.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:21:07.225713"], ["updated_at", "2015-08-07 20:21:07.225713"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335054, null, SocialNetworking::Profile, 2015-08-07 20:21:07.225713, 2015-08-07 20:21:07.225713, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:21:07.237174') GROUP BY initiator_id [["recipient_id", 1]] Completed 500 Internal Server Error in 89ms  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:21:07.251864"], ["updated_at", "2015-08-07 20:21:07.251864"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335055, null, SocialNetworking::Profile, 2015-08-07 20:21:07.251864, 2015-08-07 20:21:07.251864, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.6ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:21:07.258076') GROUP BY initiator_id [["recipient_id", 1]] SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:21:07.267150"], ["updated_at", "2015-08-07 20:21:07.267150"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335056, null, SocialNetworking::Profile, 2015-08-07 20:21:07.26715, 2015-08-07 20:21:07.26715, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 43ms (Views: 15.0ms | ActiveRecord: 4.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.8ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:21:07.301518"], ["updated_at", "2015-08-07 20:21:07.301518"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335057, null, SocialNetworking::Profile, 2015-08-07 20:21:07.301518, 2015-08-07 20:21:07.301518, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.6ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 21ms (Views: 0.3ms | ActiveRecord: 3.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:22:18.532693"], ["updated_at", "2015-08-07 20:22:18.532693"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335058, null, SocialNetworking::Profile, 2015-08-07 20:22:18.532693, 2015-08-07 20:22:18.532693, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 84ms (Views: 0.2ms | ActiveRecord: 7.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:22:18.560266"], ["updated_at", "2015-08-07 20:22:18.560266"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335059, null, SocialNetworking::Profile, 2015-08-07 20:22:18.560266, 2015-08-07 20:22:18.560266, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:22:18.568039') GROUP BY initiator_id [["recipient_id", 1]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.9ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:22:18.577475"], ["updated_at", "2015-08-07 20:22:18.577475"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335060, null, SocialNetworking::Profile, 2015-08-07 20:22:18.577475, 2015-08-07 20:22:18.577475, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 48ms (Views: 14.5ms | ActiveRecord: 5.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:22:18.612120"], ["updated_at", "2015-08-07 20:22:18.612120"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335061, null, SocialNetworking::Profile, 2015-08-07 20:22:18.61212, 2015-08-07 20:22:18.61212, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:22:18.618034') GROUP BY initiator_id [["recipient_id", 1]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:22:18.624204"], ["updated_at", "2015-08-07 20:22:18.624204"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335062, null, SocialNetworking::Profile, 2015-08-07 20:22:18.624204, 2015-08-07 20:22:18.624204, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 25ms (Views: 1.1ms | ActiveRecord: 3.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.8ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:22:47.146899"], ["updated_at", "2015-08-07 20:22:47.146899"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335063, null, SocialNetworking::Profile, 2015-08-07 20:22:47.146899, 2015-08-07 20:22:47.146899, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:22:47.163333') GROUP BY initiator_id [["recipient_id", 1]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.8ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:22:47.175338"], ["updated_at", "2015-08-07 20:22:47.175338"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335064, null, SocialNetworking::Profile, 2015-08-07 20:22:47.175338, 2015-08-07 20:22:47.175338, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 110ms (Views: 12.4ms | ActiveRecord: 8.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:22:47.206081"], ["updated_at", "2015-08-07 20:22:47.206081"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335065, null, SocialNetworking::Profile, 2015-08-07 20:22:47.206081, 2015-08-07 20:22:47.206081, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 17ms (Views: 0.5ms | ActiveRecord: 2.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.7ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:25:09.691070"], ["updated_at", "2015-08-07 20:25:09.691070"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335066, null, SocialNetworking::Profile, 2015-08-07 20:25:09.69107, 2015-08-07 20:25:09.69107, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:25:09.705163') GROUP BY initiator_id [["recipient_id", 1]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:25:09.712809"], ["updated_at", "2015-08-07 20:25:09.712809"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335067, null, SocialNetworking::Profile, 2015-08-07 20:25:09.712809, 2015-08-07 20:25:09.712809, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 104ms (Views: 14.7ms | ActiveRecord: 8.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.7ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:25:09.746357"], ["updated_at", "2015-08-07 20:25:09.746357"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335068, null, SocialNetworking::Profile, 2015-08-07 20:25:09.746357, 2015-08-07 20:25:09.746357, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 19ms (Views: 0.2ms | ActiveRecord: 2.9ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.6ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:27:39.702240') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 34ms (Views: 11.2ms | ActiveRecord: 2.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.8ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:27:39.780191"], ["updated_at", "2015-08-07 20:27:39.780191"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335069, null, SocialNetworking::Profile, 2015-08-07 20:27:39.780191, 2015-08-07 20:27:39.780191, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:27:39.786637') GROUP BY initiator_id [["recipient_id", 1]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:27:39.792846"], ["updated_at", "2015-08-07 20:27:39.792846"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335070, null, SocialNetworking::Profile, 2015-08-07 20:27:39.792846, 2015-08-07 20:27:39.792846, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 69ms (Views: 0.9ms | ActiveRecord: 5.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:27:39.810080"], ["updated_at", "2015-08-07 20:27:39.810080"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335071, null, SocialNetworking::Profile, 2015-08-07 20:27:39.81008, 2015-08-07 20:27:39.81008, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 17ms (Views: 0.2ms | ActiveRecord: 2.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:30:01.849843') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 33ms (Views: 12.0ms | ActiveRecord: 2.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.8ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:30:01.923401"], ["updated_at", "2015-08-07 20:30:01.923401"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335072, null, SocialNetworking::Profile, 2015-08-07 20:30:01.923401, 2015-08-07 20:30:01.923401, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:30:01.929823') GROUP BY initiator_id [["recipient_id", 1]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.7ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:30:01.936474"], ["updated_at", "2015-08-07 20:30:01.936474"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335073, null, SocialNetworking::Profile, 2015-08-07 20:30:01.936474, 2015-08-07 20:30:01.936474, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 68ms (Views: 1.1ms | ActiveRecord: 5.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:30:01.954752"], ["updated_at", "2015-08-07 20:30:01.954752"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335074, null, SocialNetworking::Profile, 2015-08-07 20:30:01.954752, 2015-08-07 20:30:01.954752, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 21ms (Views: 0.5ms | ActiveRecord: 2.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.7ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:30:47.533777"], ["updated_at", "2015-08-07 20:30:47.533777"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335075, null, SocialNetworking::Profile, 2015-08-07 20:30:47.533777, 2015-08-07 20:30:47.533777, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 85ms (Views: 0.2ms | ActiveRecord: 7.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:30:47.560240"], ["updated_at", "2015-08-07 20:30:47.560240"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335076, null, SocialNetworking::Profile, 2015-08-07 20:30:47.56024, 2015-08-07 20:30:47.56024, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:30:47.565939') GROUP BY initiator_id [["recipient_id", 1]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:30:47.573027"], ["updated_at", "2015-08-07 20:30:47.573027"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335077, null, SocialNetworking::Profile, 2015-08-07 20:30:47.573027, 2015-08-07 20:30:47.573027, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 43ms (Views: 17.5ms | ActiveRecord: 3.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:30:47.605053') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:32:02.424387') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 35ms (Views: 11.2ms | ActiveRecord: 2.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.9ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:32:02.499845"], ["updated_at", "2015-08-07 20:32:02.499845"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335078, null, SocialNetworking::Profile, 2015-08-07 20:32:02.499845, 2015-08-07 20:32:02.499845, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:32:02.506791') GROUP BY initiator_id [["recipient_id", 1]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:32:02.516471"], ["updated_at", "2015-08-07 20:32:02.516471"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335079, null, SocialNetworking::Profile, 2015-08-07 20:32:02.516471, 2015-08-07 20:32:02.516471, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 73ms (Views: 0.8ms | ActiveRecord: 6.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:32:02.534921"], ["updated_at", "2015-08-07 20:32:02.534921"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335080, null, SocialNetworking::Profile, 2015-08-07 20:32:02.534921, 2015-08-07 20:32:02.534921, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 22ms (Views: 0.2ms | ActiveRecord: 3.3ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.6ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:32:27.647301') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 39ms (Views: 14.0ms | ActiveRecord: 2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.8ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:32:27.724715"], ["updated_at", "2015-08-07 20:32:27.724715"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335081, null, SocialNetworking::Profile, 2015-08-07 20:32:27.724715, 2015-08-07 20:32:27.724715, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:32:27.731301') GROUP BY initiator_id [["recipient_id", 1]] SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:32:27.737535"], ["updated_at", "2015-08-07 20:32:27.737535"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335082, null, SocialNetworking::Profile, 2015-08-07 20:32:27.737535, 2015-08-07 20:32:27.737535, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 66ms (Views: 0.9ms | ActiveRecord: 5.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:32:27.755273"], ["updated_at", "2015-08-07 20:32:27.755273"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335083, null, SocialNetworking::Profile, 2015-08-07 20:32:27.755273, 2015-08-07 20:32:27.755273, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 22ms (Views: 0.2ms | ActiveRecord: 3.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.7ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:43:00.598262') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 43ms (Views: 15.0ms | ActiveRecord: 3.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (6.7ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:43:00.687868"], ["updated_at", "2015-08-07 20:43:00.687868"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335084, null, SocialNetworking::Profile, 2015-08-07 20:43:00.687868, 2015-08-07 20:43:00.687868, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:43:00.701273') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 75ms (Views: 1.0ms | ActiveRecord: 10.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:43:00.717180"], ["updated_at", "2015-08-07 20:43:00.717180"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335085, null, SocialNetworking::Profile, 2015-08-07 20:43:00.71718, 2015-08-07 20:43:00.71718, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 20ms (Views: 0.2ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (6.5ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:43:31.755084"], ["updated_at", "2015-08-07 20:43:31.755084"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335086, null, SocialNetworking::Profile, 2015-08-07 20:43:31.755084, 2015-08-07 20:43:31.755084, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 105ms (Views: 0.3ms | ActiveRecord: 12.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.7ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:43:31.792284"], ["updated_at", "2015-08-07 20:43:31.792284"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335087, null, SocialNetworking::Profile, 2015-08-07 20:43:31.792284, 2015-08-07 20:43:31.792284, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.6ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:43:31.800499') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 35ms (Views: 17.1ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:43:31.828501') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:43:46.556264') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 33ms (Views: 11.5ms | ActiveRecord: 2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (1.2ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:43:46.631104"], ["updated_at", "2015-08-07 20:43:46.631104"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335088, null, SocialNetworking::Profile, 2015-08-07 20:43:46.631104, 2015-08-07 20:43:46.631104, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:43:46.638555') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 61ms (Views: 1.2ms | ActiveRecord: 4.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:43:46.653091"], ["updated_at", "2015-08-07 20:43:46.653091"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335089, null, SocialNetworking::Profile, 2015-08-07 20:43:46.653091, 2015-08-07 20:43:46.653091, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 17ms (Views: 0.2ms | ActiveRecord: 2.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.6ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.7ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:44:38.546717"], ["updated_at", "2015-08-07 20:44:38.546717"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335090, null, SocialNetworking::Profile, 2015-08-07 20:44:38.546717, 2015-08-07 20:44:38.546717, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 75ms (Views: 0.5ms | ActiveRecord: 6.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:44:38.572985"], ["updated_at", "2015-08-07 20:44:38.572985"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335091, null, SocialNetworking::Profile, 2015-08-07 20:44:38.572985, 2015-08-07 20:44:38.572985, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:44:38.578331') GROUP BY initiator_id [["recipient_id", 1]] Completed 500 Internal Server Error in 14ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:44:38.587510') GROUP BY initiator_id [["recipient_id", 1]] Completed 500 Internal Server Error in 3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (1.4ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:45:11.412604"], ["updated_at", "2015-08-07 20:45:11.412604"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335092, null, SocialNetworking::Profile, 2015-08-07 20:45:11.412604, 2015-08-07 20:45:11.412604, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 84ms (Views: 0.2ms | ActiveRecord: 7.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:45:11.442572"], ["updated_at", "2015-08-07 20:45:11.442572"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335093, null, SocialNetworking::Profile, 2015-08-07 20:45:11.442572, 2015-08-07 20:45:11.442572, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.8ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:45:11.449184') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 29ms (Views: 12.9ms | ActiveRecord: 2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:45:11.474947') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:45:42.833774') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.5ms) Completed 200 OK in 37ms (Views: 14.1ms | ActiveRecord: 2.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.8ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:45:42.916153"], ["updated_at", "2015-08-07 20:45:42.916153"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335094, null, SocialNetworking::Profile, 2015-08-07 20:45:42.916153, 2015-08-07 20:45:42.916153, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:45:42.923147') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 61ms (Views: 1.0ms | ActiveRecord: 4.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:45:42.937718"], ["updated_at", "2015-08-07 20:45:42.937718"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335095, null, SocialNetworking::Profile, 2015-08-07 20:45:42.937718, 2015-08-07 20:45:42.937718, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 20ms (Views: 0.2ms | ActiveRecord: 2.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:46:30.205242') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 35ms (Views: 12.3ms | ActiveRecord: 2.5ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:46:30.281329"], ["updated_at", "2015-08-07 20:46:30.281329"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335096, null, SocialNetworking::Profile, 2015-08-07 20:46:30.281329, 2015-08-07 20:46:30.281329, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:46:30.287743') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 58ms (Views: 1.0ms | ActiveRecord: 3.6ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:46:30.301688"], ["updated_at", "2015-08-07 20:46:30.301688"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335097, null, SocialNetworking::Profile, 2015-08-07 20:46:30.301688, 2015-08-07 20:46:30.301688, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 20ms (Views: 0.2ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (1.4ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:46:49.872897"], ["updated_at", "2015-08-07 20:46:49.872897"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335098, null, SocialNetworking::Profile, 2015-08-07 20:46:49.872897, 2015-08-07 20:46:49.872897, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 88ms (Views: 0.2ms | ActiveRecord: 9.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:47:10.020996"], ["updated_at", "2015-08-07 20:47:10.020996"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335099, null, SocialNetworking::Profile, 2015-08-07 20:47:10.020996, 2015-08-07 20:47:10.020996, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 95ms (Views: 0.2ms | ActiveRecord: 7.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (1.0ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:47:31.331467"], ["updated_at", "2015-08-07 20:47:31.331467"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335100, null, SocialNetworking::Profile, 2015-08-07 20:47:31.331467, 2015-08-07 20:47:31.331467, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 86ms (Views: 0.3ms | ActiveRecord: 7.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.9ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:48:00.339318"], ["updated_at", "2015-08-07 20:48:00.339318"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335101, null, SocialNetworking::Profile, 2015-08-07 20:48:00.339318, 2015-08-07 20:48:00.339318, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 85ms (Views: 0.2ms | ActiveRecord: 6.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.7ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:48:22.746421"], ["updated_at", "2015-08-07 20:48:22.746421"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335102, null, SocialNetworking::Profile, 2015-08-07 20:48:22.746421, 2015-08-07 20:48:22.746421, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 86ms (Views: 0.2ms | ActiveRecord: 7.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (1.4ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:48:41.038857"], ["updated_at", "2015-08-07 20:48:41.038857"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335103, null, SocialNetworking::Profile, 2015-08-07 20:48:41.038857, 2015-08-07 20:48:41.038857, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 83ms (Views: 0.2ms | ActiveRecord: 7.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.8ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:49:00.098326"], ["updated_at", "2015-08-07 20:49:00.098326"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335104, null, SocialNetworking::Profile, 2015-08-07 20:49:00.098326, 2015-08-07 20:49:00.098326, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 80ms (Views: 0.2ms | ActiveRecord: 6.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:49:38.239116"], ["updated_at", "2015-08-07 20:49:38.239116"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335105, null, SocialNetworking::Profile, 2015-08-07 20:49:38.239116, 2015-08-07 20:49:38.239116, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 82ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:50:01.600830"], ["updated_at", "2015-08-07 20:50:01.600830"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335106, null, SocialNetworking::Profile, 2015-08-07 20:50:01.60083, 2015-08-07 20:50:01.60083, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 87ms (Views: 13.2ms | ActiveRecord: 6.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (1.1ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:50:30.341267"], ["updated_at", "2015-08-07 20:50:30.341267"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335107, null, SocialNetworking::Profile, 2015-08-07 20:50:30.341267, 2015-08-07 20:50:30.341267, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 86ms (Views: 13.5ms | ActiveRecord: 7.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:50:41.577662"], ["updated_at", "2015-08-07 20:50:41.577662"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335108, null, SocialNetworking::Profile, 2015-08-07 20:50:41.577662, 2015-08-07 20:50:41.577662, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 90ms (Views: 12.8ms | ActiveRecord: 6.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.9ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:52:04.296740"], ["updated_at", "2015-08-07 20:52:04.296740"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335109, null, SocialNetworking::Profile, 2015-08-07 20:52:04.29674, 2015-08-07 20:52:04.29674, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 91ms (Views: 13.2ms | ActiveRecord: 7.6ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:52:49.455465') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 33ms (Views: 11.6ms | ActiveRecord: 2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.8ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:52:49.526430"], ["updated_at", "2015-08-07 20:52:49.526430"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335110, null, SocialNetworking::Profile, 2015-08-07 20:52:49.52643, 2015-08-07 20:52:49.52643, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:52:49.532805') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.5ms) Completed 200 OK in 56ms (Views: 1.1ms | ActiveRecord: 4.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:52:49.547222"], ["updated_at", "2015-08-07 20:52:49.547222"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335111, null, SocialNetworking::Profile, 2015-08-07 20:52:49.547222, 2015-08-07 20:52:49.547222, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 17ms (Views: 1.0ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:53:08.662936') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 33ms (Views: 11.7ms | ActiveRecord: 2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.8ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:53:08.733982"], ["updated_at", "2015-08-07 20:53:08.733982"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335112, null, SocialNetworking::Profile, 2015-08-07 20:53:08.733982, 2015-08-07 20:53:08.733982, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.3ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 20:53:08.740824') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 56ms (Views: 1.0ms | ActiveRecord: 4.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.8ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 20:53:08.758230"], ["updated_at", "2015-08-07 20:53:08.758230"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335113, null, SocialNetworking::Profile, 2015-08-07 20:53:08.75823, 2015-08-07 20:53:08.75823, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 26ms (Views: 1.3ms | ActiveRecord: 3.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 23ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:00:01.437541') GROUP BY initiator_id [["recipient_id", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 46ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (2.3ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 21:00:01.500466"], ["updated_at", "2015-08-07 21:00:01.500466"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335114, null, SocialNetworking::Profile, 2015-08-07 21:00:01.500466, 2015-08-07 21:00:01.500466, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:00:01.509103') GROUP BY initiator_id [["recipient_id", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 40ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 21:00:01.526610"], ["updated_at", "2015-08-07 21:00:01.526610"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335115, null, SocialNetworking::Profile, 2015-08-07 21:00:01.52661, 2015-08-07 21:00:01.52661, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 17ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.8ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 21:00:11.949515"], ["updated_at", "2015-08-07 21:00:11.949515"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335116, null, SocialNetworking::Profile, 2015-08-07 21:00:11.949515, 2015-08-07 21:00:11.949515, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.6ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 93ms (Views: 13.9ms | ActiveRecord: 9.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 21:00:11.996361"], ["updated_at", "2015-08-07 21:00:11.996361"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335117, null, SocialNetworking::Profile, 2015-08-07 21:00:11.996361, 2015-08-07 21:00:11.996361, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.7ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:00:12.002998') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 18ms (Views: 1.2ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:00:12.015350') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 21:01:07.466654"], ["updated_at", "2015-08-07 21:01:07.466654"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335118, null, SocialNetworking::Profile, 2015-08-07 21:01:07.466654, 2015-08-07 21:01:07.466654, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 71ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 21:01:07.493664"], ["updated_at", "2015-08-07 21:01:07.493664"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335119, null, SocialNetworking::Profile, 2015-08-07 21:01:07.493664, 2015-08-07 21:01:07.493664, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 30ms (Views: 13.1ms | ActiveRecord: 2.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.7ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 21:01:26.932993"], ["updated_at", "2015-08-07 21:01:26.932993"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335120, null, SocialNetworking::Profile, 2015-08-07 21:01:26.932993, 2015-08-07 21:01:26.932993, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 90ms (Views: 12.4ms | ActiveRecord: 6.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 21:01:26.970495"], ["updated_at", "2015-08-07 21:01:26.970495"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335121, null, SocialNetworking::Profile, 2015-08-07 21:01:26.970495, 2015-08-07 21:01:26.970495, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:01:26.976114') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 15ms (Views: 1.0ms | ActiveRecord: 2.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:01:26.986447') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 24ms (Views: 16.7ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (1.2ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 21:01:35.401265"], ["updated_at", "2015-08-07 21:01:35.401265"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335122, null, SocialNetworking::Profile, 2015-08-07 21:01:35.401265, 2015-08-07 21:01:35.401265, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 68ms (Views: 1.0ms | ActiveRecord: 4.5ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.7ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 21:01:35.428334"], ["updated_at", "2015-08-07 21:01:35.428334"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335123, null, SocialNetworking::Profile, 2015-08-07 21:01:35.428334, 2015-08-07 21:01:35.428334, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 15ms (Views: 1.0ms | ActiveRecord: 2.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 21:01:48.400348"], ["updated_at", "2015-08-07 21:01:48.400348"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335124, null, SocialNetworking::Profile, 2015-08-07 21:01:48.400348, 2015-08-07 21:01:48.400348, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 87ms (Views: 12.9ms | ActiveRecord: 6.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 21:01:48.438487"], ["updated_at", "2015-08-07 21:01:48.438487"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335125, null, SocialNetworking::Profile, 2015-08-07 21:01:48.438487, 2015-08-07 21:01:48.438487, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 13ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.6ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:02:42.359469') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 37ms (Views: 13.1ms | ActiveRecord: 2.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.7ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 21:02:42.442524"], ["updated_at", "2015-08-07 21:02:42.442524"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335126, null, SocialNetworking::Profile, 2015-08-07 21:02:42.442524, 2015-08-07 21:02:42.442524, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:02:42.450537') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 67ms (Views: 1.2ms | ActiveRecord: 4.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 21:02:42.466238"], ["updated_at", "2015-08-07 21:02:42.466238"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335127, null, SocialNetworking::Profile, 2015-08-07 21:02:42.466238, 2015-08-07 21:02:42.466238, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 18ms (Views: 1.1ms | ActiveRecord: 2.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (1.3ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 21:03:12.869249"], ["updated_at", "2015-08-07 21:03:12.869249"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335128, null, SocialNetworking::Profile, 2015-08-07 21:03:12.869249, 2015-08-07 21:03:12.869249, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 63ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 21:03:12.896231"], ["updated_at", "2015-08-07 21:03:12.896231"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335129, null, SocialNetworking::Profile, 2015-08-07 21:03:12.896231, 2015-08-07 21:03:12.896231, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 32ms (Views: 13.7ms | ActiveRecord: 2.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:05:47.591513') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 33ms (Views: 11.6ms | ActiveRecord: 2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.7ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 21:05:47.669456"], ["updated_at", "2015-08-07 21:05:47.669456"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335130, null, SocialNetworking::Profile, 2015-08-07 21:05:47.669456, 2015-08-07 21:05:47.669456, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:05:47.676470') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 63ms (Views: 1.0ms | ActiveRecord: 3.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 21:05:47.690601"], ["updated_at", "2015-08-07 21:05:47.690601"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335131, null, SocialNetworking::Profile, 2015-08-07 21:05:47.690601, 2015-08-07 21:05:47.690601, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 16ms (Views: 0.8ms | ActiveRecord: 2.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 23ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 38ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (6.8ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 21:07:09.403185"], ["updated_at", "2015-08-07 21:07:09.403185"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335132, null, SocialNetworking::Profile, 2015-08-07 21:07:09.403185, 2015-08-07 21:07:09.403185, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 91ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 21:07:09.428888"], ["updated_at", "2015-08-07 21:07:09.428888"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335133, null, SocialNetworking::Profile, 2015-08-07 21:07:09.428888, 2015-08-07 21:07:09.428888, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 12ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.8ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.9ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 21:07:16.338625"], ["updated_at", "2015-08-07 21:07:16.338625"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335134, null, SocialNetworking::Profile, 2015-08-07 21:07:16.338625, 2015-08-07 21:07:16.338625, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 97ms (Views: 20.4ms | ActiveRecord: 7.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1 SQL (0.8ms) INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 1], ["created_at", "2015-08-07 21:07:16.384357"], ["updated_at", "2015-08-07 21:07:16.384357"]] PG::NotNullViolation: ERROR: null value in column "item_id" violates not-null constraint DETAIL: Failing row contains (809335135, null, SocialNetworking::Profile, 2015-08-07 21:07:16.384357, 2015-08-07 21:07:16.384357, t, Shared, null, 1). : INSERT INTO "social_networking_shared_items" ("item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Shared item already created for existing profile.  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.6ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:07:16.394014') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 19ms (Views: 1.4ms | ActiveRecord: 2.9ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:07:16.406078') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.9ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 67ms (Views: 12.1ms | ActiveRecord: 4.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:08:04.765754') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 9ms (Views: 1.0ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:08:04.776777') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 64ms (Views: 12.3ms | ActiveRecord: 4.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.8ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:09:15.178069') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.7ms) Completed 200 OK in 12ms (Views: 1.7ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:09:15.190265') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.6ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:10:40.611200') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 32ms (Views: 11.6ms | ActiveRecord: 2.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:10:40.670897') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 37ms (Views: 1.3ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 12ms (Views: 0.8ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:10:49.889581') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 33ms (Views: 11.4ms | ActiveRecord: 2.6ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (1.0ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:11:07.363937') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 38ms (Views: 15.2ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (1.1ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:11:24.515605') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 34ms (Views: 11.2ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:12:29.508620') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 33ms (Views: 12.1ms | ActiveRecord: 2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:12:45.744141') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 32ms (Views: 11.5ms | ActiveRecord: 2.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:12:53.895996') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 33ms (Views: 11.4ms | ActiveRecord: 2.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:12:53.954923') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 38ms (Views: 1.0ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 12ms (Views: 0.9ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (1.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:13:07.568246') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 33ms (Views: 11.5ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:13:07.634438') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.5ms) Completed 200 OK in 43ms (Views: 2.2ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 17ms (Views: 1.2ms | ActiveRecord: 2.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 56ms (Views: 11.6ms | ActiveRecord: 3.7ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:13:53.894563') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 1.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:13:53.907496') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:15:16.666148') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 33ms (Views: 11.7ms | ActiveRecord: 2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:15:16.693986') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.8ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 66ms (Views: 13.1ms | ActiveRecord: 4.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:15:32.941623') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:15:32.955231') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:16:21.170064') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 33ms (Views: 11.8ms | ActiveRecord: 2.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:16:21.195840') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.6ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 23ms (Views: 11.5ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:18:10.641621') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 42ms (Views: 0.9ms | ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:18:10.652651') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:18:28.707843') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 54ms (Views: 11.4ms | ActiveRecord: 6.5ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:18:28.766101') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 36ms (Views: 1.1ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 7ms (Views: 1.1ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (2.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-07', '2015-08-07 21:47:53', '2015-08-07 21:47:53', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-07 21:47:53.000000', '2015-08-07', '2015-08-07 21:47:53', '2015-08-07 21:47:53', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-07', '2015-08-07 21:47:53', '2015-08-07 21:47:53', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-07 21:47:53', '2015-08-07 21:47:53', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-07 21:47:53.000000', '2015-08-07', '2015-08-07 21:47:53', '2015-08-07 21:47:53', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-06', '2015-08-07 21:47:53', '2015-08-07 21:47:53', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-05', '2015-08-07 21:47:53', '2015-08-07 21:47:53', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-07 21:47:53.000000', '2015-08-07', '2015-08-07 21:47:53', '2015-08-07 21:47:53', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-07', '2015-08-07 21:47:53', '2015-08-07 21:47:53', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-07 21:47:53.000000', '2015-08-07', '2015-08-07 21:47:53', '2015-08-07 21:47:53', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-07', '2015-08-07 21:47:53', '2015-08-07 21:47:53', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-07 21:47:53.000000', '2015-08-07', '2015-08-07 21:47:53', '2015-08-07 21:47:53', 16804933, 816972181)  (5.7ms) COMMIT  (5.8ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 21:47:53.493277"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 21:47:53.497011"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-31 00:00:00.000000')  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 21:47:53.507087"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-07 23:59:59.999999')  (0.1ms) ROLLBACK  (4.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-07 21:47:53', '2015-08-07 21:47:53', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-07 21:47:53', '2015-08-07 21:47:53', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 21:47:53.000000', '2015-08-07 21:47:53', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 21:47:53.000000', '2015-08-07 21:47:53', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 21:47:53.000000', '2015-08-07 21:47:53', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 21:47:53.000000', '2015-08-07 21:47:53', 316146702, 816972181, 700141617) Fixture Delete (0.6ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-07 21:47:53', '2015-08-07 21:47:53', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-07 21:47:53', '2015-08-07 21:47:53', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-07 21:47:53', '2015-08-07 21:47:53', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-07 21:47:53', '2015-08-07 21:47:53', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-07 21:47:53', '2015-08-07 21:47:53', 10484799, 183235640) Fixture Delete (0.8ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-07 21:47:53', '2015-08-07 21:47:53', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-07 21:47:53', '2015-08-07 21:47:53', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-07 21:47:53', '2015-08-07 21:47:53', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-07 21:47:53', '2015-08-07 21:47:53', 183235640, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.4ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-07 21:47:53', '2015-08-07 21:47:53', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.8ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-07 21:47:53.584360"], ["updated_at", "2015-08-07 21:47:53.584360"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-07 21:47:53.591890"], ["updated_at", "2015-08-07 21:47:53.591890"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.9ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 21:47:53.702468"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 21:47:53.725142"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-07 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 21:47:53.781283"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-31 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 21:47:53.789211"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 21:47:53.793298"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-07 23:59:59.999999' AND created_at >= '2015-08-07 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 21:47:53.804081"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-07 23:59:59.999999' AND created_at >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:47:53.826054') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 21ms (Views: 7.6ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:47:53.847193') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-07 21:47:53.867546"], ["updated_at", "2015-08-07 21:47:53.867546"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-07 21:47:53.872356"], ["updated_at", "2015-08-07 21:47:53.872356"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-07 21:47:53.888651"], ["updated_at", "2015-08-07 21:47:53.888651"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235643]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 21:47:53.905850"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 21:47:53.910663"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-31 00:00:00.000000')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 21:47:53.920808"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-07 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-08"], ["created_at", "2015-08-07 21:47:53.933144"], ["updated_at", "2015-08-07 21:47:53.933144"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-07 21:47:53.937543"], ["updated_at", "2015-08-07 21:47:53.937543"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-07"], ["completed_at", "2015-08-05 00:00:00.000000"], ["created_at", "2015-08-07 21:47:53.941782"], ["updated_at", "2015-08-07 21:47:53.941782"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-07 21:47:53.945212') AND ("social_networking_goals"."due_on" >= '2015-08-06 21:47:53.945245') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-07 21:47:53.948422') AND ("social_networking_goals"."due_on" >= '2015-08-06 21:47:53.948441')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-07 21:47:53.950095') AND ("social_networking_goals"."due_on" >= '2015-08-06 21:47:53.950112')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 21:47:53.957696"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 21:47:53.961221"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 21:47:53.967810"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-07 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (2.7ms) Sent mail to obama@ex.co (8.3ms) Date: Fri, 07 Aug 2015 16:47:54 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c5278a3d154_120be3fc209c5020016265@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 230.7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 07 Aug 2015 16:47:54 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c5278a3f028_120be3fc209c5020016371@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Fri, 07 Aug 2015 16:47:54 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c5278a40044_120be3fc209c5020016437@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-07 21:47:54.304527"], ["updated_at", "2015-08-07 21:47:54.304527"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-07 21:47:54.309585"], ["updated_at", "2015-08-07 21:47:54.309585"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-07 21:47:54.312065"], ["updated_at", "2015-08-07 21:47:54.312065"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (2.7ms) Date: Fri, 07 Aug 2015 16:47:54 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c5278a68e6a_120be3fc209c50200165ab@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 42.4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.8ms) Date: Fri, 07 Aug 2015 16:47:54 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c5278a6a4aa_120be3fc209c502001667b@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 4.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.5ms) Date: Fri, 07 Aug 2015 16:47:54 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c5278a6bc61_120be3fc209c502001673c@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 4.5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 07 Aug 2015 16:47:54 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c5278a7a692_120be3fc209c50200168fb@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 38.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Fri, 07 Aug 2015 16:47:54 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c5278a7b87f_120be3fc209c5020016922@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 07 Aug 2015 16:47:54 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c5278a7ca56_120be3fc209c502001709e@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 16:47:55 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.9ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.1ms) Completed 200 OK in 100ms (Views: 77.2ms | ActiveRecord: 5.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-07 16:47:55 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-07 16:47:55 -0500  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 16:47:55 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 1.8ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-07 16:47:56 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-21", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-21"], ["created_at", "2015-08-07 21:47:56.131887"], ["updated_at", "2015-08-07 21:47:56.131887"]]  (6.1ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-07 21:47:56.141217"], ["updated_at", "2015-08-07 21:47:56.141217"]]  (6.2ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 22ms (Views: 0.2ms | ActiveRecord: 14.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 16:47:56 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 25ms (Views: 2.3ms | ActiveRecord: 2.8ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-07 16:47:56 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-07", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-07 21:47:56.441871"], ["updated_at", "2015-08-07 21:47:56.444698"], ["id", 809335042]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-07 21:47:56.450502"], ["updated_at", "2015-08-07 21:47:56.450502"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.4ms | ActiveRecord: 4.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 16:47:56 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 16ms (Views: 2.2ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-07 16:47:56 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-07", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-07 21:47:56.599323"], ["updated_at", "2015-08-07 21:47:56.601915"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 16:47:56 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.2ms) Completed 200 OK in 20ms (Views: 3.1ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-07 16:47:56 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-04", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-04"], ["updated_at", "2015-08-07 21:47:56.956836"], ["id", 53334230]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 75ms (Views: 12.7ms | ActiveRecord: 4.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:48:09.647621') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:48:09.659966') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:48:28.416714') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 72ms (Views: 11.3ms | ActiveRecord: 2.7ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:50:08.911347') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 67ms (Views: 11.1ms | ActiveRecord: 3.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:50:27.570904') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 69ms (Views: 11.1ms | ActiveRecord: 2.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:51:06.065155') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 73ms (Views: 11.4ms | ActiveRecord: 3.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 26ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:51:49.135417') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 69ms (Views: 11.2ms | ActiveRecord: 2.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.8ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:52:10.140274') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 70ms (Views: 11.0ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.5ms) SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:52:39.997063') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 101ms (Views: 15.9ms | ActiveRecord: 8.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 23ms (Views: 11.6ms | ActiveRecord: 2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]] SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:54:09.540000') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 14ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:54:09.549413') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 26ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:54:38.807629') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 68ms (Views: 10.6ms | ActiveRecord: 2.6ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 28ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.8ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (1.1ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:55:12.433555') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 85ms (Views: 14.7ms | ActiveRecord: 3.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 25ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.9ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:55:28.030634') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 68ms (Views: 11.0ms | ActiveRecord: 3.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:55:45.693469') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 40ms (Views: 11.4ms | ActiveRecord: 2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:55:45.762661') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 49ms (Views: 1.4ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:56:09.303939') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 40ms (Views: 11.5ms | ActiveRecord: 2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:56:09.372773') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 48ms (Views: 1.3ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 16ms (Views: 11.0ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:56:36.424056') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 55ms (Views: 0.9ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:56:36.434471') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 6ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:57:33.012087') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 24ms (Views: 11.5ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 19ms (Views: 13.1ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 21:58:38.828012') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 10ms (Views: 0.8ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 77ms (Views: 12.1ms | ActiveRecord: 2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 22:03:05.241339') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 22:03:05.251626') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 14ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 67ms (Views: 10.8ms | ActiveRecord: 2.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 22:03:45.808562') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 37ms (Views: 10.7ms | ActiveRecord: 2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 22:03:45.831800') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 52ms (Views: 0.8ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 22:03:45.897704') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 10ms (Views: 0.2ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 22:22:05.048156') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 19ms (Views: 11.4ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 22:24:30.828000') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 39ms (Views: 11.4ms | ActiveRecord: 2.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 22:24:30.852186') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 22:24:30.869972') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 22:25:31.826250') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 46ms (Views: 11.7ms | ActiveRecord: 3.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 22:25:31.863415') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 22:25:31.872388') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (1.8ms) Sent mail to obama@ex.co (8.4ms) Date: Fri, 07 Aug 2015 17:28:21 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c531059e589_1702a3ffe2446020098360@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 211.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Fri, 07 Aug 2015 17:28:21 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c531059ffc9_1702a3ffe24460200984de@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 07 Aug 2015 17:28:21 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c53105a174f_1702a3ffe24460200985ac@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (2.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-07 22:28:21', '2015-08-07 22:28:21', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-07', '2015-08-07 22:28:21', '2015-08-07 22:28:21', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-07 22:28:21.000000', '2015-08-07', '2015-08-07 22:28:21', '2015-08-07 22:28:21', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-07', '2015-08-07 22:28:21', '2015-08-07 22:28:21', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-07 22:28:21', '2015-08-07 22:28:21', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-07 22:28:21.000000', '2015-08-07', '2015-08-07 22:28:21', '2015-08-07 22:28:21', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-06', '2015-08-07 22:28:21', '2015-08-07 22:28:21', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-05', '2015-08-07 22:28:21', '2015-08-07 22:28:21', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-07 22:28:21.000000', '2015-08-07', '2015-08-07 22:28:21', '2015-08-07 22:28:21', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-07', '2015-08-07 22:28:21', '2015-08-07 22:28:21', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-07 22:28:21.000000', '2015-08-07', '2015-08-07 22:28:21', '2015-08-07 22:28:21', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-07', '2015-08-07 22:28:21', '2015-08-07 22:28:21', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-07 22:28:21.000000', '2015-08-07', '2015-08-07 22:28:21', '2015-08-07 22:28:21', 16804933, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-07 22:28:21', '2015-08-07 22:28:21', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 22:28:21.000000', '2015-08-07 22:28:21', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 22:28:21.000000', '2015-08-07 22:28:21', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 22:28:21.000000', '2015-08-07 22:28:21', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 22:28:21.000000', '2015-08-07 22:28:21', 316146702, 816972181, 700141617) Fixture Delete (0.6ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-07 22:28:21', '2015-08-07 22:28:21', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-07 22:28:21', '2015-08-07 22:28:21', 369066228, 816972181) Fixture Delete (0.8ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-07 22:28:21', '2015-08-07 22:28:21', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-07 22:28:21', '2015-08-07 22:28:21', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-07 22:28:21', '2015-08-07 22:28:21', 10484799, 183235640) Fixture Delete (0.6ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-07 22:28:21', '2015-08-07 22:28:21', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-07 22:28:21', '2015-08-07 22:28:21', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-07 22:28:21', '2015-08-07 22:28:21', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-07 22:28:21', '2015-08-07 22:28:21', 183235640, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-07 22:28:21', '2015-08-07 22:28:21', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.5ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.7ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 22:28:21.983575"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-07 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 22:28:21.993276"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 22:28:21.997419"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 22:28:22.017355"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-07 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 22:28:22.025505"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-07-31 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.5ms) Date: Fri, 07 Aug 2015 17:28:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c5310626307_1702a3ffe24460200986f0@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 42.4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Fri, 07 Aug 2015 17:28:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c531062756c_1702a3ffe244602009878f@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.2ms) Date: Fri, 07 Aug 2015 17:28:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c5310628ee2_1702a3ffe24460200988e1@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 6.0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-07 22:28:22.188875"], ["updated_at", "2015-08-07 22:28:22.188875"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-07 22:28:22.197496"], ["updated_at", "2015-08-07 22:28:22.197496"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-07 22:28:22.200516"], ["updated_at", "2015-08-07 22:28:22.200516"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.5ms) Date: Fri, 07 Aug 2015 17:28:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c531063bbad_1702a3ffe24460200989bc@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 42.1ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.1ms) Date: Fri, 07 Aug 2015 17:28:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c531063da42_1702a3ffe24460200990aa@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 6.5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 07 Aug 2015 17:28:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55c531063f511_1702a3ffe2446020099112@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 4.3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 22:28:22.278626') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 14ms (Views: 11.3ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 22:28:22.308064') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-06 22:28:22.316648') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 17:28:22 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.5ms) Completed 200 OK in 105ms (Views: 75.9ms | ActiveRecord: 4.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-07 17:28:22 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-07 17:28:22 -0500 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-07 17:28:23 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-07", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-07 22:28:23.232104"], ["updated_at", "2015-08-07 22:28:23.235124"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 17:28:23 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.9ms) Completed 200 OK in 18ms (Views: 4.2ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-07 17:28:23 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-04", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-04"], ["updated_at", "2015-08-07 22:28:23.472282"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.6ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 17:28:23 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.1ms) Completed 200 OK in 21ms (Views: 3.0ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 17:28:23 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 15ms (Views: 2.0ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-07 17:28:23 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-07", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (1.0ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-07 22:28:23.776547"], ["updated_at", "2015-08-07 22:28:23.779185"], ["id", 809335042]]  (1.5ms) COMMIT  (0.3ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-07 22:28:23.784838"], ["updated_at", "2015-08-07 22:28:23.784838"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 4.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-07 17:28:23 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 15ms (Views: 2.2ms | ActiveRecord: 1.6ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-07 17:28:24 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-21", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-21"], ["created_at", "2015-08-07 22:28:24.017914"], ["updated_at", "2015-08-07 22:28:24.017914"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-07 22:28:24.023343"], ["updated_at", "2015-08-07 22:28:24.023343"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.6ms)  (0.2ms) ROLLBACK  (1.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.1ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-07 22:28:24', '2015-08-07 22:28:24', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-07', '2015-08-07 22:28:24', '2015-08-07 22:28:24', 809335042, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-07 22:28:24.000000', '2015-08-07', '2015-08-07 22:28:24', '2015-08-07 22:28:24', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-07', '2015-08-07 22:28:24', '2015-08-07 22:28:24', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-07 22:28:24', '2015-08-07 22:28:24', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-07 22:28:24.000000', '2015-08-07', '2015-08-07 22:28:24', '2015-08-07 22:28:24', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-06', '2015-08-07 22:28:24', '2015-08-07 22:28:24', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-05', '2015-08-07 22:28:24', '2015-08-07 22:28:24', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-07 22:28:24.000000', '2015-08-07', '2015-08-07 22:28:24', '2015-08-07 22:28:24', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-07', '2015-08-07 22:28:24', '2015-08-07 22:28:24', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-07 22:28:24.000000', '2015-08-07', '2015-08-07 22:28:24', '2015-08-07 22:28:24', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-07', '2015-08-07 22:28:24', '2015-08-07 22:28:24', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-07 22:28:24.000000', '2015-08-07', '2015-08-07 22:28:24', '2015-08-07 22:28:24', 16804933, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-07 22:28:24', '2015-08-07 22:28:24', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 22:28:24.000000', '2015-08-07 22:28:24', 503297012, 700141617, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 22:28:24.000000', '2015-08-07 22:28:24', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-06 22:28:24.000000', '2015-08-07 22:28:24', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-07 22:28:24.000000', '2015-08-07 22:28:24', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-07 22:28:24', '2015-08-07 22:28:24', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-07 22:28:24', '2015-08-07 22:28:24', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-07 22:28:24', '2015-08-07 22:28:24', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-07 22:28:24', '2015-08-07 22:28:24', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-07 22:28:24', '2015-08-07 22:28:24', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-07 22:28:24', '2015-08-07 22:28:24', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-07 22:28:24', '2015-08-07 22:28:24', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-07 22:28:24', '2015-08-07 22:28:24', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-07 22:28:24', '2015-08-07 22:28:24', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-07 22:28:24', '2015-08-07 22:28:24', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-07 22:28:24.183125"], ["updated_at", "2015-08-07 22:28:24.183125"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-07 22:28:24.186025"], ["updated_at", "2015-08-07 22:28:24.186025"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.9ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 22:28:24.300705"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-07 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 22:28:24.312921"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 22:28:24.316257"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-07 22:28:24.320388') AND ("social_networking_goals"."due_on" >= '2015-08-06 22:28:24.320426')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-07 22:28:24.326660') AND ("social_networking_goals"."due_on" >= '2015-08-06 22:28:24.326689') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-07 22:28:24.329737') AND ("social_networking_goals"."due_on" >= '2015-08-06 22:28:24.329755')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-07 22:28:24.335762"], ["updated_at", "2015-08-07 22:28:24.335762"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-07"], ["completed_at", "2015-08-05 00:00:00.000000"], ["created_at", "2015-08-07 22:28:24.340395"], ["updated_at", "2015-08-07 22:28:24.340395"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-08"], ["created_at", "2015-08-07 22:28:24.345288"], ["updated_at", "2015-08-07 22:28:24.345288"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-31 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 22:28:24.351313"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 22:28:24.355586"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-07-31 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 22:28:24.363936"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-07 23:59:59.999999' AND created_at >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 22:28:24.370790"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-07 23:59:59.999999' AND created_at >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-07 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-07 00:00:00.000000"], ["updated_at", "2015-08-07 22:28:24.436758"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-07 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-31 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-07 22:28:24.445212"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-07-30 00:00:00.000000"], ["updated_at", "2015-08-07 22:28:24.449110"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-07-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-07 22:28:24.460026"], ["updated_at", "2015-08-07 22:28:24.460026"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235641]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-07 22:28:24.476704"], ["updated_at", "2015-08-07 22:28:24.476704"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-07 22:28:24.482212"], ["updated_at", "2015-08-07 22:28:24.482212"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (6.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (6.9ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 14:40:31.805355') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 111ms (Views: 14.6ms | ActiveRecord: 16.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 14:40:31.846995') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 14:40:31.856285') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 AND "social_networking_profiles"."active" = 't' LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 14:41:57.895301') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 88ms (Views: 11.3ms | ActiveRecord: 3.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 14:41:57.916575') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 9ms (Views: 1.0ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 14:41:57.948241') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 14:42:21.591409') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 51ms (Views: 11.3ms | ActiveRecord: 7.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 14:42:21.615744') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Nudge Load (0.6ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 14:42:21.623624') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 14:48:40.568079') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.5ms) Completed 200 OK in 51ms (Views: 15.3ms | ActiveRecord: 2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 14:48:40.612327') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 14:48:40.622899') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 14:49:05.510944') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 40ms (Views: 11.3ms | ActiveRecord: 2.6ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 14:49:05.553442') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 23ms (Views: 11.8ms | ActiveRecord: 2.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 61ms (Views: 0.8ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 8ms (Views: 1.4ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 24ms (Views: 11.8ms | ActiveRecord: 2.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 56ms (Views: 1.1ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 23ms (Views: 11.9ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 26ms (Views: 11.4ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 23ms (Views: 11.5ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 23ms (Views: 12.0ms | ActiveRecord: 2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 23ms (Views: 11.1ms | ActiveRecord: 2.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 26ms (Views: 13.0ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.5ms) Completed 200 OK in 21ms (Views: 14.1ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (2.1ms) Sent mail to obama@ex.co (6.6ms) Date: Wed, 12 Aug 2015 10:13:13 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb62895754d_3f153fdabdc2020430997@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 225.6ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.1ms) Date: Wed, 12 Aug 2015 10:13:13 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb628959815_3f153fdabdc2020431037@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 6.3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Wed, 12 Aug 2015 10:13:13 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb62895adf8_3f153fdabdc20204311ad@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.4ms  (0.2ms) ROLLBACK  (7.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (1.0ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 15:13:13', '2015-08-12 15:13:13', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (6.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.7ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 15:13:13', '2015-08-12 15:13:13', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.7ms) DELETE FROM "social_networking_goals" Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 15:13:13', '2015-08-12 15:13:13', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 15:13:13.000000', '2015-08-12', '2015-08-12 15:13:13', '2015-08-12 15:13:13', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 15:13:13', '2015-08-12 15:13:13', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 15:13:13', '2015-08-12 15:13:13', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 15:13:13.000000', '2015-08-12', '2015-08-12 15:13:13', '2015-08-12 15:13:13', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 15:13:13', '2015-08-12 15:13:13', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 15:13:13', '2015-08-12 15:13:13', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 15:13:13.000000', '2015-08-12', '2015-08-12 15:13:13', '2015-08-12 15:13:13', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 15:13:13', '2015-08-12 15:13:13', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 15:13:13.000000', '2015-08-12', '2015-08-12 15:13:13', '2015-08-12 15:13:13', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 15:13:13', '2015-08-12 15:13:13', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 15:13:13.000000', '2015-08-12', '2015-08-12 15:13:13', '2015-08-12 15:13:13', 16804933, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 15:13:13.000000', '2015-08-12 15:13:13', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 15:13:13.000000', '2015-08-12 15:13:13', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 15:13:13.000000', '2015-08-12 15:13:13', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 15:13:13.000000', '2015-08-12 15:13:13', 316146702, 816972181, 700141617) Fixture Delete (0.6ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 15:13:13', '2015-08-12 15:13:13', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 15:13:13', '2015-08-12 15:13:13', 369066228, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 15:13:13', '2015-08-12 15:13:13', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 15:13:13', '2015-08-12 15:13:13', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 15:13:13', '2015-08-12 15:13:13', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 15:13:13', '2015-08-12 15:13:13', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 15:13:13', '2015-08-12 15:13:13', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 15:13:13', '2015-08-12 15:13:13', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 15:13:13', '2015-08-12 15:13:13', 183235640, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 15:13:13', '2015-08-12 15:13:13', 809335042, 'SocialNetworking::Goal', 809335042)  (0.7ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 15:13:13.524772"], ["updated_at", "2015-08-12 15:13:13.524772"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 15:13:13.531475"], ["updated_at", "2015-08-12 15:13:13.531475"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.6ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 15:13:13.548298"], ["updated_at", "2015-08-12 15:13:13.548298"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235643]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-12 15:13:13.562374"], ["updated_at", "2015-08-12 15:13:13.562374"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-12 15:13:13.572643"], ["updated_at", "2015-08-12 15:13:13.572643"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 15:13:13.609752"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 15:13:13.613319"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 15:13:13.638235"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-12 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-13"], ["created_at", "2015-08-12 15:13:13.643453"], ["updated_at", "2015-08-12 15:13:13.643453"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-12"], ["completed_at", "2015-08-10 00:00:00.000000"], ["created_at", "2015-08-12 15:13:13.647628"], ["updated_at", "2015-08-12 15:13:13.647628"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-12 15:13:13.654139"], ["updated_at", "2015-08-12 15:13:13.654139"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-12 15:13:13.659474') AND ("social_networking_goals"."due_on" >= '2015-08-11 15:13:13.659506') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-12 15:13:13.663036') AND ("social_networking_goals"."due_on" >= '2015-08-11 15:13:13.663055')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-12 15:13:13.664814') AND ("social_networking_goals"."due_on" >= '2015-08-11 15:13:13.664830')  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-12 23:59:59.999999' AND created_at >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 15:13:13.726976"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-12 23:59:59.999999' AND created_at >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-05 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 15:13:13.733405"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 15:13:13.736808"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 15:13:13.742164"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 15:13:13.815958"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 15:13:13.820315"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 15:13:13.828527"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-12 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-12 15:13:13.888748"], ["updated_at", "2015-08-12 15:13:13.888748"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-12 15:13:13.893936"], ["updated_at", "2015-08-12 15:13:13.893936"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-12 15:13:13.896692"], ["updated_at", "2015-08-12 15:13:13.896692"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 15:13:13.905778"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-05 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 15:13:13.920103"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-12 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.3ms) Date: Wed, 12 Aug 2015 10:13:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb628a11b5a_3f153fdabdc20204312d@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 44.3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Wed, 12 Aug 2015 10:13:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb628a12db7_3f153fdabdc20204313e6@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.6ms) Date: Wed, 12 Aug 2015 10:13:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb628a13fd1_3f153fdabdc20204314c0@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 15:13:14.110279"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 15:13:14.114070"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 15:13:14.121711"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-12 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.8ms) Date: Wed, 12 Aug 2015 10:13:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb628a297d2_3f153fdabdc2020431520@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 39.7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.7ms) Date: Wed, 12 Aug 2015 10:13:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb628a2ae7c_3f153fdabdc202043169c@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.9ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.4ms) Date: Wed, 12 Aug 2015 10:13:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb628a2c14d_3f153fdabdc202043173c@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 10:13:14 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.6ms) Completed 200 OK in 94ms (Views: 73.2ms | ActiveRecord: 4.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-12 10:13:14 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-12 10:13:14 -0500 Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-12 10:13:15 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-26", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-26"], ["created_at", "2015-08-12 15:13:15.161235"], ["updated_at", "2015-08-12 15:13:15.161235"]]  (5.8ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-12 15:13:15.171093"], ["updated_at", "2015-08-12 15:13:15.171093"]]  (4.9ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 22ms (Views: 0.3ms | ActiveRecord: 12.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 10:13:15 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 17ms (Views: 2.4ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-12 10:13:15 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-12", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-12 15:13:15.458022"], ["updated_at", "2015-08-12 15:13:15.460847"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 10:13:15 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 2.0ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-12 10:13:15 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-09", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-09"], ["updated_at", "2015-08-12 15:13:15.670585"], ["id", 53334230]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 10:13:15 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 17ms (Views: 1.9ms | ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 10:13:15 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.9ms) Completed 200 OK in 18ms (Views: 4.1ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-12 10:13:16 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-12", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-12 15:13:16.013996"], ["updated_at", "2015-08-12 15:13:16.016864"], ["id", 809335042]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-12 15:13:16.023092"], ["updated_at", "2015-08-12 15:13:16.023092"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 4.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (3.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 15:18:08', '2015-08-12 15:18:08', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 15:18:08', '2015-08-12 15:18:08', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 15:18:08.000000', '2015-08-12', '2015-08-12 15:18:08', '2015-08-12 15:18:08', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 15:18:08', '2015-08-12 15:18:08', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 15:18:08', '2015-08-12 15:18:08', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 15:18:08.000000', '2015-08-12', '2015-08-12 15:18:08', '2015-08-12 15:18:08', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 15:18:08', '2015-08-12 15:18:08', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 15:18:08', '2015-08-12 15:18:08', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 15:18:08.000000', '2015-08-12', '2015-08-12 15:18:08', '2015-08-12 15:18:08', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 15:18:08', '2015-08-12 15:18:08', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 15:18:08.000000', '2015-08-12', '2015-08-12 15:18:08', '2015-08-12 15:18:08', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 15:18:08', '2015-08-12 15:18:08', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 15:18:08.000000', '2015-08-12', '2015-08-12 15:18:08', '2015-08-12 15:18:08', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 15:18:09', '2015-08-12 15:18:09', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 15:18:08.000000', '2015-08-12 15:18:09', 503297012, 700141617, 816972181) Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 15:18:08.000000', '2015-08-12 15:18:09', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 15:18:08.000000', '2015-08-12 15:18:09', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 15:18:08.000000', '2015-08-12 15:18:09', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 15:18:09', '2015-08-12 15:18:09', 576803333, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 15:18:09', '2015-08-12 15:18:09', 369066228, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 15:18:09', '2015-08-12 15:18:09', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 15:18:09', '2015-08-12 15:18:09', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 15:18:09', '2015-08-12 15:18:09', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 15:18:09', '2015-08-12 15:18:09', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 15:18:09', '2015-08-12 15:18:09', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 15:18:09', '2015-08-12 15:18:09', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 15:18:09', '2015-08-12 15:18:09', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 15:18:09', '2015-08-12 15:18:09', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 10:18:09 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.7ms) Completed 200 OK in 142ms (Views: 53.7ms | ActiveRecord: 6.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-12 10:18:09 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-12 10:18:09 -0500  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 10:18:10 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 16ms (Views: 2.0ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-12 10:18:10 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-09", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-09"], ["updated_at", "2015-08-12 15:18:10.220523"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 10:18:10 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 13ms (Views: 1.9ms | ActiveRecord: 1.6ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-12 10:18:10 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-26", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-26"], ["created_at", "2015-08-12 15:18:10.476236"], ["updated_at", "2015-08-12 15:18:10.476236"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-12 15:18:10.489370"], ["updated_at", "2015-08-12 15:18:10.489370"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 20ms (Views: 0.3ms | ActiveRecord: 5.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 10:18:10 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-12 10:18:10 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-12", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-12 15:18:10.766023"], ["updated_at", "2015-08-12 15:18:10.768396"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 2.8ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 10:18:10 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 17ms (Views: 1.9ms | ActiveRecord: 2.5ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-12 10:18:11 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-12", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-12 15:18:11.066413"], ["updated_at", "2015-08-12 15:18:11.069126"], ["id", 809335042]]  (0.7ms) COMMIT  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-12 15:18:11.073233"], ["updated_at", "2015-08-12 15:18:11.073233"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.2ms)  (0.2ms) ROLLBACK  (1.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 15:18:11', '2015-08-12 15:18:11', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 15:18:11.000000', '2015-08-12', '2015-08-12 15:18:11', '2015-08-12 15:18:11', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 15:18:11', '2015-08-12 15:18:11', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 15:18:11', '2015-08-12 15:18:11', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 15:18:11.000000', '2015-08-12', '2015-08-12 15:18:11', '2015-08-12 15:18:11', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 15:18:11', '2015-08-12 15:18:11', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 15:18:11', '2015-08-12 15:18:11', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 15:18:11.000000', '2015-08-12', '2015-08-12 15:18:11', '2015-08-12 15:18:11', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 15:18:11', '2015-08-12 15:18:11', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 15:18:11.000000', '2015-08-12', '2015-08-12 15:18:11', '2015-08-12 15:18:11', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 15:18:11', '2015-08-12 15:18:11', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 15:18:11.000000', '2015-08-12', '2015-08-12 15:18:11', '2015-08-12 15:18:11', 16804933, 816972181)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 15:18:11.134799"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-05 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 15:18:11.157485"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-12 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (1.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 15:18:11', '2015-08-12 15:18:11', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 15:18:11', '2015-08-12 15:18:11', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 15:18:11.000000', '2015-08-12 15:18:11', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 15:18:11.000000', '2015-08-12 15:18:11', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 15:18:11.000000', '2015-08-12 15:18:11', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 15:18:11.000000', '2015-08-12 15:18:11', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 15:18:11', '2015-08-12 15:18:11', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 15:18:11', '2015-08-12 15:18:11', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 15:18:11', '2015-08-12 15:18:11', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 15:18:11', '2015-08-12 15:18:11', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 15:18:11', '2015-08-12 15:18:11', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 15:18:11', '2015-08-12 15:18:11', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 15:18:11', '2015-08-12 15:18:11', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 15:18:11', '2015-08-12 15:18:11', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 15:18:11', '2015-08-12 15:18:11', 183235640, 816972181) Fixture Delete (0.1ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 15:18:11', '2015-08-12 15:18:11', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-12 15:18:11.363365"], ["updated_at", "2015-08-12 15:18:11.363365"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-12 15:18:11.372786"], ["updated_at", "2015-08-12 15:18:11.372786"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-12 15:18:11.376372"], ["updated_at", "2015-08-12 15:18:11.376372"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 15:18:11.451586"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 15:18:11.455517"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 15:18:11.462458"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-12 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-12 23:59:59.999999' AND created_at >= '2015-08-12 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 15:18:11.469217"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-12 23:59:59.999999' AND created_at >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-05 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 15:18:11.476323"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 15:18:11.479430"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 15:18:11.484641"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (7.1ms) Date: Wed, 12 Aug 2015 10:18:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb63b3aa750_42f33fe23a0602009106c@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 212.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Wed, 12 Aug 2015 10:18:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb63b3ac28b_42f33fe23a06020091184@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Wed, 12 Aug 2015 10:18:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb63b3ad4c7_42f33fe23a06020091234@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.6ms) Date: Wed, 12 Aug 2015 10:18:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb63b3c3d69_42f33fe23a060200913f7@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 39.4ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.6ms) Date: Wed, 12 Aug 2015 10:18:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb63b3c53a4_42f33fe23a0602009142b@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 4.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Wed, 12 Aug 2015 10:18:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb63b3c6692_42f33fe23a06020091574@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.5ms) Date: Wed, 12 Aug 2015 10:18:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb63b3d04e8_42f33fe23a0602009169f@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 38.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.5ms) Date: Wed, 12 Aug 2015 10:18:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb63b3d1ab6_42f33fe23a060200917d3@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 4.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.6ms) Date: Wed, 12 Aug 2015 10:18:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb63b3d2ccc_42f33fe23a06020091855@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 15:18:11.924603"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 15:18:11.928590"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 15:18:11.936370"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-12 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-12 15:18:11.943087"], ["updated_at", "2015-08-12 15:18:11.943087"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-12 15:18:11.945840"], ["updated_at", "2015-08-12 15:18:11.945840"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 15:18:12.113194') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 10ms (Views: 7.4ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 15:18:12.130159') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 15:18:12.148447"], ["updated_at", "2015-08-12 15:18:12.148447"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 15:18:12.154027"], ["updated_at", "2015-08-12 15:18:12.154027"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 15:18:12.164331"], ["updated_at", "2015-08-12 15:18:12.164331"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235643]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 15:18:12.195006"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 15:18:12.198364"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 15:18:12.208360"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-12 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-13"], ["created_at", "2015-08-12 15:18:12.215958"], ["updated_at", "2015-08-12 15:18:12.215958"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-12"], ["completed_at", "2015-08-10 00:00:00.000000"], ["created_at", "2015-08-12 15:18:12.220168"], ["updated_at", "2015-08-12 15:18:12.220168"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-12 15:18:12.224581"], ["updated_at", "2015-08-12 15:18:12.224581"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-12 15:18:12.227595') AND ("social_networking_goals"."due_on" >= '2015-08-11 15:18:12.227627') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-12 15:18:12.230553') AND ("social_networking_goals"."due_on" >= '2015-08-11 15:18:12.230571')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-12 15:18:12.232241') AND ("social_networking_goals"."due_on" >= '2015-08-11 15:18:12.232257')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (1.5ms) Sent mail to obama@ex.co (6.7ms) Date: Wed, 12 Aug 2015 10:19:07 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb63eba88e0_456f3ff4a644c200824c4@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 242.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Wed, 12 Aug 2015 10:19:07 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb63ebaa308_456f3ff4a644c20082588@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Wed, 12 Aug 2015 10:19:07 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb63ebab66c_456f3ff4a644c200826b6@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.1ms  (0.1ms) ROLLBACK  (3.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 15:19:07', '2015-08-12 15:19:07', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 15:19:07', '2015-08-12 15:19:07', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 15:19:07.000000', '2015-08-12', '2015-08-12 15:19:07', '2015-08-12 15:19:07', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 15:19:07', '2015-08-12 15:19:07', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 15:19:07', '2015-08-12 15:19:07', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 15:19:07.000000', '2015-08-12', '2015-08-12 15:19:07', '2015-08-12 15:19:07', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 15:19:07', '2015-08-12 15:19:07', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 15:19:07', '2015-08-12 15:19:07', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 15:19:07.000000', '2015-08-12', '2015-08-12 15:19:07', '2015-08-12 15:19:07', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 15:19:07', '2015-08-12 15:19:07', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 15:19:07.000000', '2015-08-12', '2015-08-12 15:19:07', '2015-08-12 15:19:07', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 15:19:07', '2015-08-12 15:19:07', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 15:19:07.000000', '2015-08-12', '2015-08-12 15:19:07', '2015-08-12 15:19:07', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 15:19:07', '2015-08-12 15:19:07', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 15:19:07.000000', '2015-08-12 15:19:07', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 15:19:07.000000', '2015-08-12 15:19:07', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 15:19:07.000000', '2015-08-12 15:19:07', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 15:19:07.000000', '2015-08-12 15:19:07', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 15:19:07', '2015-08-12 15:19:07', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 15:19:07', '2015-08-12 15:19:07', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 15:19:07', '2015-08-12 15:19:07', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 15:19:07', '2015-08-12 15:19:07', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 15:19:07', '2015-08-12 15:19:07', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 15:19:07', '2015-08-12 15:19:07', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 15:19:07', '2015-08-12 15:19:07', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 15:19:07', '2015-08-12 15:19:07', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 15:19:07', '2015-08-12 15:19:07', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 15:19:07', '2015-08-12 15:19:07', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 15:19:07.830815"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-12 23:59:59.999999' AND created_at >= '2015-08-12 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 15:19:07.837182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-12 23:59:59.999999' AND created_at >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 15:19:07.843074"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 15:19:07.845977"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-12 15:19:07.861867"], ["updated_at", "2015-08-12 15:19:07.861867"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-12 15:19:07.867003"], ["updated_at", "2015-08-12 15:19:07.867003"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-12 15:19:07.869914"], ["updated_at", "2015-08-12 15:19:07.869914"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 15:19:07.912718"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-12 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 15:19:07.921481"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 15:19:07.925166"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-05 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 15:19:07.941223"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 15:19:07.944273"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 15:19:07.958309"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-12 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-12 15:19:07.966346') AND ("social_networking_goals"."due_on" >= '2015-08-11 15:19:07.966382')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-12 15:19:07.968908') AND ("social_networking_goals"."due_on" >= '2015-08-11 15:19:07.968926') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-12 15:19:07.971611') AND ("social_networking_goals"."due_on" >= '2015-08-11 15:19:07.971631')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-13"], ["created_at", "2015-08-12 15:19:07.974986"], ["updated_at", "2015-08-12 15:19:07.974986"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-12"], ["completed_at", "2015-08-10 00:00:00.000000"], ["created_at", "2015-08-12 15:19:07.979701"], ["updated_at", "2015-08-12 15:19:07.979701"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-12 15:19:07.983871"], ["updated_at", "2015-08-12 15:19:07.983871"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.4ms) Date: Wed, 12 Aug 2015 10:19:08 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb63ec16ace_456f3ff4a644c2008276a@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 39.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Wed, 12 Aug 2015 10:19:08 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb63ec17c9b_456f3ff4a644c200828b3@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Wed, 12 Aug 2015 10:19:08 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb63ec18d0d_456f3ff4a644c200829df@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-12 15:19:08.113857"], ["updated_at", "2015-08-12 15:19:08.113857"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-12 15:19:08.116692"], ["updated_at", "2015-08-12 15:19:08.116692"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 10:19:08 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.5ms) Completed 200 OK in 82ms (Views: 49.5ms | ActiveRecord: 5.6ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-12 10:19:08 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-12 10:19:08 -0500 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-12 10:19:09 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-09", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-09"], ["updated_at", "2015-08-12 15:19:09.158951"], ["id", 53334230]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 10:19:09 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 17ms (Views: 2.0ms | ActiveRecord: 2.2ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-12 10:19:09 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-12", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-12 15:19:09.351134"], ["updated_at", "2015-08-12 15:19:09.353871"], ["id", 614371357]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 10:19:09 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 1.8ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-12 10:19:09 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-26", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-26"], ["created_at", "2015-08-12 15:19:09.564375"], ["updated_at", "2015-08-12 15:19:09.564375"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-12 15:19:09.569981"], ["updated_at", "2015-08-12 15:19:09.569981"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 4.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 10:19:09 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 27ms (Views: 2.1ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 10:19:09 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 1.9ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-12 10:19:10 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-12", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-12 15:19:10.010840"], ["updated_at", "2015-08-12 15:19:10.013515"], ["id", 809335042]]  (1.3ms) COMMIT  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-12 15:19:10.018655"], ["updated_at", "2015-08-12 15:19:10.018655"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 4.0ms)  (0.2ms) ROLLBACK  (1.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.5ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 15:19:10', '2015-08-12 15:19:10', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 15:19:10', '2015-08-12 15:19:10', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 15:19:10.000000', '2015-08-12', '2015-08-12 15:19:10', '2015-08-12 15:19:10', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 15:19:10', '2015-08-12 15:19:10', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 15:19:10', '2015-08-12 15:19:10', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 15:19:10.000000', '2015-08-12', '2015-08-12 15:19:10', '2015-08-12 15:19:10', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 15:19:10', '2015-08-12 15:19:10', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 15:19:10', '2015-08-12 15:19:10', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 15:19:10.000000', '2015-08-12', '2015-08-12 15:19:10', '2015-08-12 15:19:10', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 15:19:10', '2015-08-12 15:19:10', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 15:19:10.000000', '2015-08-12', '2015-08-12 15:19:10', '2015-08-12 15:19:10', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 15:19:10', '2015-08-12 15:19:10', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 15:19:10.000000', '2015-08-12', '2015-08-12 15:19:10', '2015-08-12 15:19:10', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 15:19:10', '2015-08-12 15:19:10', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 15:19:10.000000', '2015-08-12 15:19:10', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 15:19:10.000000', '2015-08-12 15:19:10', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 15:19:10.000000', '2015-08-12 15:19:10', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 15:19:10.000000', '2015-08-12 15:19:10', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 15:19:10', '2015-08-12 15:19:10', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 15:19:10', '2015-08-12 15:19:10', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 15:19:10', '2015-08-12 15:19:10', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 15:19:10', '2015-08-12 15:19:10', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 15:19:10', '2015-08-12 15:19:10', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 15:19:10', '2015-08-12 15:19:10', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 15:19:10', '2015-08-12 15:19:10', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 15:19:10', '2015-08-12 15:19:10', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 15:19:10', '2015-08-12 15:19:10', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 15:19:10', '2015-08-12 15:19:10', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.4ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 15:19:10.205070"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-12 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.6ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 15:19:10.214248"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 15:19:10.219364"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.5ms) Date: Wed, 12 Aug 2015 10:19:10 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb63ee45d43_456f3ff4a644c20083087@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 38.3ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Wed, 12 Aug 2015 10:19:10 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb63ee47266_456f3ff4a644c20083194@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Wed, 12 Aug 2015 10:19:10 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb63ee483da_456f3ff4a644c20083223@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 17ms (Views: 8.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 15:19:10.350639') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 15:19:10.360559') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 15:19:10.371447"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-12 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 15:19:10.379603"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 6ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 15:19:10.585050"], ["updated_at", "2015-08-12 15:19:10.585050"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235641]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 15:19:10.596628"], ["updated_at", "2015-08-12 15:19:10.596628"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 15:19:10.602091"], ["updated_at", "2015-08-12 15:19:10.602091"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 25ms (Views: 12.7ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 49ms (Views: 1.1ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 15:19:23.636827') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 15:19:23.647692') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 28ms (Views: 16.6ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" IS NULL AND "social_networking_profiles"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.6ms) Completed 200 OK in 46ms (Views: 1.6ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.7ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 15:19:43.354827') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 15:19:43.366166') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 27ms (Views: 12.4ms | ActiveRecord: 3.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 15:20:13.558321') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 12ms (Views: 0.9ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 15:20:13.574305') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.5ms) Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.9ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 15:21:06.552972') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 43ms (Views: 12.2ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 15:21:06.580235') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 19ms (Views: 12.9ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.6ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 15:23:31.725692') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 13ms (Views: 1.0ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 15:23:31.741692') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (3.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 15:24:43', '2015-08-12 15:24:43', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 15:24:43.000000', '2015-08-12', '2015-08-12 15:24:43', '2015-08-12 15:24:43', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 15:24:43', '2015-08-12 15:24:43', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 15:24:43', '2015-08-12 15:24:43', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 15:24:43.000000', '2015-08-12', '2015-08-12 15:24:43', '2015-08-12 15:24:43', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 15:24:43', '2015-08-12 15:24:43', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 15:24:43', '2015-08-12 15:24:43', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 15:24:43.000000', '2015-08-12', '2015-08-12 15:24:43', '2015-08-12 15:24:43', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 15:24:43', '2015-08-12 15:24:43', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 15:24:43.000000', '2015-08-12', '2015-08-12 15:24:43', '2015-08-12 15:24:43', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 15:24:43', '2015-08-12 15:24:43', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 15:24:43.000000', '2015-08-12', '2015-08-12 15:24:43', '2015-08-12 15:24:43', 16804933, 816972181)  (0.3ms) COMMIT  (1.7ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-12 15:24:43.453996"], ["updated_at", "2015-08-12 15:24:43.453996"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-12 15:24:43.477504"], ["updated_at", "2015-08-12 15:24:43.477504"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-12 15:24:43.481412"], ["updated_at", "2015-08-12 15:24:43.481412"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 9ms (Views: 7.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (1.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 15:24:43', '2015-08-12 15:24:43', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 15:24:43', '2015-08-12 15:24:43', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 15:24:43.000000', '2015-08-12 15:24:43', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 15:24:43.000000', '2015-08-12 15:24:43', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 15:24:43.000000', '2015-08-12 15:24:43', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 15:24:43.000000', '2015-08-12 15:24:43', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 15:24:43', '2015-08-12 15:24:43', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 15:24:43', '2015-08-12 15:24:43', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 15:24:43', '2015-08-12 15:24:43', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 15:24:43', '2015-08-12 15:24:43', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 15:24:43', '2015-08-12 15:24:43', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 15:24:43', '2015-08-12 15:24:43', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 15:24:43', '2015-08-12 15:24:43', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 15:24:43', '2015-08-12 15:24:43', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 15:24:43', '2015-08-12 15:24:43', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 15:24:43', '2015-08-12 15:24:43', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 10:24:44 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.0ms) Completed 200 OK in 90ms (Views: 54.9ms | ActiveRecord: 6.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-12 10:24:44 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-12 10:24:44 -0500  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 10:24:44 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 17ms (Views: 1.8ms | ActiveRecord: 2.5ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-12 10:24:44 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-12", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-12 15:24:44.733344"], ["updated_at", "2015-08-12 15:24:44.736091"], ["id", 614371357]]  (6.0ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 7.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 10:24:44 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-12 10:24:44 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-12", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-12 15:24:44.893122"], ["updated_at", "2015-08-12 15:24:44.895330"], ["id", 809335042]]  (1.4ms) COMMIT  (0.3ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-12 15:24:44.900811"], ["updated_at", "2015-08-12 15:24:44.900811"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 4.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 10:24:44 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 13ms (Views: 2.1ms | ActiveRecord: 1.5ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-12 10:24:45 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-26", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-26"], ["created_at", "2015-08-12 15:24:45.200800"], ["updated_at", "2015-08-12 15:24:45.200800"]]  (12.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-12 15:24:45.216776"], ["updated_at", "2015-08-12 15:24:45.216776"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 22ms (Views: 0.2ms | ActiveRecord: 14.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 10:24:45 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 16ms (Views: 2.2ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-12 10:24:45 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-09", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-09"], ["updated_at", "2015-08-12 15:24:45.483273"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.2ms)  (0.1ms) ROLLBACK  (1.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 15:24:45', '2015-08-12 15:24:45', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 15:24:45.000000', '2015-08-12', '2015-08-12 15:24:45', '2015-08-12 15:24:45', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 15:24:45', '2015-08-12 15:24:45', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 15:24:45', '2015-08-12 15:24:45', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 15:24:45.000000', '2015-08-12', '2015-08-12 15:24:45', '2015-08-12 15:24:45', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 15:24:45', '2015-08-12 15:24:45', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 15:24:45', '2015-08-12 15:24:45', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 15:24:45.000000', '2015-08-12', '2015-08-12 15:24:45', '2015-08-12 15:24:45', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 15:24:45', '2015-08-12 15:24:45', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 15:24:45.000000', '2015-08-12', '2015-08-12 15:24:45', '2015-08-12 15:24:45', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 15:24:45', '2015-08-12 15:24:45', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 15:24:45.000000', '2015-08-12', '2015-08-12 15:24:45', '2015-08-12 15:24:45', 16804933, 816972181)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.8ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 15:24:45.584725"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 15:24:45.607291"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-12 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 15:24:45.640891"], ["updated_at", "2015-08-12 15:24:45.640891"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 15:24:45.648115"], ["updated_at", "2015-08-12 15:24:45.648115"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 15:24:45.658913"], ["updated_at", "2015-08-12 15:24:45.658913"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235643]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 11ms (Views: 6.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 15:24:45.691270') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 15:24:45.701877') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (1.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 15:24:45', '2015-08-12 15:24:45', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 15:24:45', '2015-08-12 15:24:45', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 15:24:45.000000', '2015-08-12 15:24:45', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 15:24:45.000000', '2015-08-12 15:24:45', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 15:24:45.000000', '2015-08-12 15:24:45', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 15:24:45.000000', '2015-08-12 15:24:45', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 15:24:45', '2015-08-12 15:24:45', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 15:24:45', '2015-08-12 15:24:45', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 15:24:45', '2015-08-12 15:24:45', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 15:24:45', '2015-08-12 15:24:45', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 15:24:45', '2015-08-12 15:24:45', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 15:24:45', '2015-08-12 15:24:45', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 15:24:45', '2015-08-12 15:24:45', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 15:24:45', '2015-08-12 15:24:45', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 15:24:45', '2015-08-12 15:24:45', 183235640, 816972181) Fixture Delete (0.1ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 15:24:45', '2015-08-12 15:24:45', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 15:24:45.865947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 15:24:45.869844"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 15:24:45.877469"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-12 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (8.3ms) Date: Wed, 12 Aug 2015 10:24:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb653e11c76_4f2d3fe478c6020435949@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 193.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Wed, 12 Aug 2015 10:24:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb653e134e8_4f2d3fe478c6020436090@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.0ms) Date: Wed, 12 Aug 2015 10:24:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb653e152a7_4f2d3fe478c602043616c@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 6.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-05 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 15:24:46.204791"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 15:24:46.208780"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-05 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 15:24:46.214934"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-12 23:59:59.999999' AND created_at >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 15:24:46.220476"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-12 23:59:59.999999' AND created_at >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-12 15:24:46.260220"], ["updated_at", "2015-08-12 15:24:46.260220"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-12 15:24:46.263433"], ["updated_at", "2015-08-12 15:24:46.263433"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.4ms) Date: Wed, 12 Aug 2015 10:24:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb653e4c556_4f2d3fe478c60204362e6@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 38.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Wed, 12 Aug 2015 10:24:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb653e4d804_4f2d3fe478c60204363d2@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.7ms) Date: Wed, 12 Aug 2015 10:24:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb653e4eb55_4f2d3fe478c6020436445@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.9ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.4ms) Date: Wed, 12 Aug 2015 10:24:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb653e595e5_4f2d3fe478c60204365e4@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 38.8ms  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Wed, 12 Aug 2015 10:24:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb653e5a8e1_4f2d3fe478c602043660@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.3ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Wed, 12 Aug 2015 10:24:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb653e5be3b_4f2d3fe478c602043675@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 15:24:46.419558"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-12 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 15:24:46.430676"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 15:24:46.433707"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-12 15:24:46.442062"], ["updated_at", "2015-08-12 15:24:46.442062"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-13"], ["created_at", "2015-08-12 15:24:46.448155"], ["updated_at", "2015-08-12 15:24:46.448155"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-12"], ["completed_at", "2015-08-10 00:00:00.000000"], ["created_at", "2015-08-12 15:24:46.452246"], ["updated_at", "2015-08-12 15:24:46.452246"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-12 15:24:46.455449') AND ("social_networking_goals"."due_on" >= '2015-08-11 15:24:46.455480') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-12 15:24:46.458421') AND ("social_networking_goals"."due_on" >= '2015-08-11 15:24:46.458438')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-12 15:24:46.460526') AND ("social_networking_goals"."due_on" >= '2015-08-11 15:24:46.460544')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (1.0ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 15:24:46.467509"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 15:24:46.473231"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 15:24:46.482293"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-12 23:59:59.999999')  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 24ms (Views: 13.0ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 15:38:23.616289') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 13ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 15:38:23.631129') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 18ms (Views: 11.9ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 15:41:01.675445') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 13ms (Views: 0.9ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 15:41:01.693244') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.5ms) Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 23ms (Views: 11.3ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.6ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 16:23:24.690073') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 13ms (Views: 0.9ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 16:23:24.704047') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (3.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 16:26:00', '2015-08-12 16:26:00', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 16:26:00', '2015-08-12 16:26:00', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 16:26:00.000000', '2015-08-12', '2015-08-12 16:26:00', '2015-08-12 16:26:00', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 16:26:00', '2015-08-12 16:26:00', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 16:26:00', '2015-08-12 16:26:00', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 16:26:00.000000', '2015-08-12', '2015-08-12 16:26:00', '2015-08-12 16:26:00', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 16:26:00', '2015-08-12 16:26:00', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 16:26:00', '2015-08-12 16:26:00', 938656909, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 16:26:00.000000', '2015-08-12', '2015-08-12 16:26:00', '2015-08-12 16:26:00', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 16:26:00', '2015-08-12 16:26:00', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 16:26:00.000000', '2015-08-12', '2015-08-12 16:26:00', '2015-08-12 16:26:00', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 16:26:00', '2015-08-12 16:26:00', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 16:26:00.000000', '2015-08-12', '2015-08-12 16:26:00', '2015-08-12 16:26:00', 16804933, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 16:26:00', '2015-08-12 16:26:00', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 16:26:00.000000', '2015-08-12 16:26:00', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:26:00.000000', '2015-08-12 16:26:00', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 16:26:00.000000', '2015-08-12 16:26:00', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:26:00.000000', '2015-08-12 16:26:00', 316146702, 816972181, 700141617) Fixture Delete (0.6ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 16:26:00', '2015-08-12 16:26:00', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 16:26:00', '2015-08-12 16:26:00', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 16:26:00', '2015-08-12 16:26:00', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 16:26:00', '2015-08-12 16:26:00', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 16:26:00', '2015-08-12 16:26:00', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 16:26:00', '2015-08-12 16:26:00', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 16:26:00', '2015-08-12 16:26:00', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 16:26:00', '2015-08-12 16:26:00', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 16:26:00', '2015-08-12 16:26:00', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 16:26:00', '2015-08-12 16:26:00', 809335042, 'SocialNetworking::Goal', 809335042)  (1.7ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:26:00.768836"], ["updated_at", "2015-08-12 16:26:00.768836"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:26:00.792239"], ["updated_at", "2015-08-12 16:26:00.792239"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (3.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 16:26:17', '2015-08-12 16:26:17', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 16:26:17', '2015-08-12 16:26:17', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 16:26:17.000000', '2015-08-12', '2015-08-12 16:26:17', '2015-08-12 16:26:17', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 16:26:17', '2015-08-12 16:26:17', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 16:26:17', '2015-08-12 16:26:17', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 16:26:17.000000', '2015-08-12', '2015-08-12 16:26:17', '2015-08-12 16:26:17', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 16:26:17', '2015-08-12 16:26:17', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 16:26:17', '2015-08-12 16:26:17', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 16:26:17.000000', '2015-08-12', '2015-08-12 16:26:17', '2015-08-12 16:26:17', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 16:26:17', '2015-08-12 16:26:17', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 16:26:17.000000', '2015-08-12', '2015-08-12 16:26:17', '2015-08-12 16:26:17', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 16:26:17', '2015-08-12 16:26:17', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 16:26:17.000000', '2015-08-12', '2015-08-12 16:26:17', '2015-08-12 16:26:17', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 16:26:17', '2015-08-12 16:26:17', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 16:26:17.000000', '2015-08-12 16:26:17', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:26:17.000000', '2015-08-12 16:26:17', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 16:26:17.000000', '2015-08-12 16:26:17', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:26:17.000000', '2015-08-12 16:26:17', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 16:26:17', '2015-08-12 16:26:17', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 16:26:17', '2015-08-12 16:26:17', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 16:26:17', '2015-08-12 16:26:17', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 16:26:17', '2015-08-12 16:26:17', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 16:26:17', '2015-08-12 16:26:17', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 16:26:17', '2015-08-12 16:26:17', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 16:26:17', '2015-08-12 16:26:17', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 16:26:17', '2015-08-12 16:26:17', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 16:26:17', '2015-08-12 16:26:17', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 16:26:17', '2015-08-12 16:26:17', 809335042, 'SocialNetworking::Goal', 809335042)  (1.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:26:17.385459"], ["updated_at", "2015-08-12 16:26:17.385459"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (2.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 16:28:09', '2015-08-12 16:28:09', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 16:28:09', '2015-08-12 16:28:09', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 16:28:09.000000', '2015-08-12', '2015-08-12 16:28:09', '2015-08-12 16:28:09', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 16:28:09', '2015-08-12 16:28:09', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 16:28:09', '2015-08-12 16:28:09', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 16:28:09.000000', '2015-08-12', '2015-08-12 16:28:09', '2015-08-12 16:28:09', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 16:28:09', '2015-08-12 16:28:09', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 16:28:09', '2015-08-12 16:28:09', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 16:28:09.000000', '2015-08-12', '2015-08-12 16:28:09', '2015-08-12 16:28:09', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 16:28:09', '2015-08-12 16:28:09', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 16:28:09.000000', '2015-08-12', '2015-08-12 16:28:09', '2015-08-12 16:28:09', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 16:28:09', '2015-08-12 16:28:09', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 16:28:09.000000', '2015-08-12', '2015-08-12 16:28:09', '2015-08-12 16:28:09', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 16:28:09', '2015-08-12 16:28:09', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 16:28:09.000000', '2015-08-12 16:28:09', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:28:09.000000', '2015-08-12 16:28:09', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 16:28:09.000000', '2015-08-12 16:28:09', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:28:09.000000', '2015-08-12 16:28:09', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 16:28:09', '2015-08-12 16:28:09', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 16:28:09', '2015-08-12 16:28:09', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 16:28:09', '2015-08-12 16:28:09', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 16:28:09', '2015-08-12 16:28:09', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 16:28:09', '2015-08-12 16:28:09', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 16:28:09', '2015-08-12 16:28:09', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 16:28:09', '2015-08-12 16:28:09', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 16:28:09', '2015-08-12 16:28:09', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 16:28:09', '2015-08-12 16:28:09', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 16:28:09', '2015-08-12 16:28:09', 809335042, 'SocialNetworking::Goal', 809335042)  (1.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:28:09.719094"], ["updated_at", "2015-08-12 16:28:09.719094"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:28:09.742029"], ["updated_at", "2015-08-12 16:28:09.742029"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (2.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.6ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.6ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 16:28:14', '2015-08-12 16:28:14', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 16:28:14', '2015-08-12 16:28:14', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 16:28:14.000000', '2015-08-12', '2015-08-12 16:28:14', '2015-08-12 16:28:14', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 16:28:14', '2015-08-12 16:28:14', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 16:28:14', '2015-08-12 16:28:14', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 16:28:14.000000', '2015-08-12', '2015-08-12 16:28:14', '2015-08-12 16:28:14', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 16:28:14', '2015-08-12 16:28:14', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 16:28:14', '2015-08-12 16:28:14', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 16:28:14.000000', '2015-08-12', '2015-08-12 16:28:14', '2015-08-12 16:28:14', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 16:28:14', '2015-08-12 16:28:14', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 16:28:14.000000', '2015-08-12', '2015-08-12 16:28:14', '2015-08-12 16:28:14', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 16:28:14', '2015-08-12 16:28:14', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 16:28:14.000000', '2015-08-12', '2015-08-12 16:28:14', '2015-08-12 16:28:14', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 16:28:14', '2015-08-12 16:28:14', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 16:28:14.000000', '2015-08-12 16:28:14', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:28:14.000000', '2015-08-12 16:28:14', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 16:28:14.000000', '2015-08-12 16:28:14', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:28:14.000000', '2015-08-12 16:28:14', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 16:28:14', '2015-08-12 16:28:14', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 16:28:14', '2015-08-12 16:28:14', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 16:28:14', '2015-08-12 16:28:14', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 16:28:14', '2015-08-12 16:28:14', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 16:28:14', '2015-08-12 16:28:14', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 16:28:14', '2015-08-12 16:28:14', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 16:28:14', '2015-08-12 16:28:14', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 16:28:14', '2015-08-12 16:28:14', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 16:28:14', '2015-08-12 16:28:14', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 16:28:14', '2015-08-12 16:28:14', 809335042, 'SocialNetworking::Goal', 809335042)  (1.5ms) COMMIT  (1.5ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:28:15.033577"], ["updated_at", "2015-08-12 16:28:15.033577"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:28:15.060641"], ["updated_at", "2015-08-12 16:28:15.060641"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:28:15.074751"], ["updated_at", "2015-08-12 16:28:15.074751"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:28:15.078832"], ["updated_at", "2015-08-12 16:28:15.078832"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:28:15.087538"], ["updated_at", "2015-08-12 16:28:15.087538"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:28:15.089787"], ["updated_at", "2015-08-12 16:28:15.089787"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:28:15.106055"], ["updated_at", "2015-08-12 16:28:15.106055"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:28:15.108604"], ["updated_at", "2015-08-12 16:28:15.108604"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 19ms (Views: 11.8ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.6ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 16:28:23.283191') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 13ms (Views: 1.1ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 16:28:23.299023') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (7.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 16:47:37', '2015-08-12 16:47:37', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.7ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 16:47:37', '2015-08-12 16:47:37', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 16:47:37.000000', '2015-08-12', '2015-08-12 16:47:37', '2015-08-12 16:47:37', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 16:47:37', '2015-08-12 16:47:37', 614371357, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 16:47:37', '2015-08-12 16:47:37', 53334230, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 16:47:37.000000', '2015-08-12', '2015-08-12 16:47:37', '2015-08-12 16:47:37', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 16:47:37', '2015-08-12 16:47:37', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 16:47:37', '2015-08-12 16:47:37', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 16:47:37.000000', '2015-08-12', '2015-08-12 16:47:37', '2015-08-12 16:47:37', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 16:47:37', '2015-08-12 16:47:37', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 16:47:37.000000', '2015-08-12', '2015-08-12 16:47:37', '2015-08-12 16:47:37', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 16:47:37', '2015-08-12 16:47:37', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 16:47:37.000000', '2015-08-12', '2015-08-12 16:47:37', '2015-08-12 16:47:37', 16804933, 816972181) Fixture Delete (1.1ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 16:47:37', '2015-08-12 16:47:37', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.9ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 16:47:37.000000', '2015-08-12 16:47:37', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:47:37.000000', '2015-08-12 16:47:37', 366290861, 700141617, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 16:47:37.000000', '2015-08-12 16:47:37', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:47:37.000000', '2015-08-12 16:47:37', 316146702, 816972181, 700141617) Fixture Delete (0.6ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 16:47:37', '2015-08-12 16:47:37', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 16:47:37', '2015-08-12 16:47:37', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 16:47:37', '2015-08-12 16:47:37', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 16:47:37', '2015-08-12 16:47:37', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 16:47:37', '2015-08-12 16:47:37', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 16:47:37', '2015-08-12 16:47:37', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 16:47:37', '2015-08-12 16:47:37', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 16:47:37', '2015-08-12 16:47:37', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 16:47:37', '2015-08-12 16:47:37', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 16:47:37', '2015-08-12 16:47:37', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:47:37.270838"], ["updated_at", "2015-08-12 16:47:37.270838"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:47:37.277615"], ["updated_at", "2015-08-12 16:47:37.277615"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:47:37.312704"], ["updated_at", "2015-08-12 16:47:37.312704"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:47:37.320962"], ["updated_at", "2015-08-12 16:47:37.320962"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (3.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 16:47:48', '2015-08-12 16:47:48', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 16:47:48', '2015-08-12 16:47:48', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 16:47:48.000000', '2015-08-12', '2015-08-12 16:47:48', '2015-08-12 16:47:48', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 16:47:48', '2015-08-12 16:47:48', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 16:47:48', '2015-08-12 16:47:48', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 16:47:48.000000', '2015-08-12', '2015-08-12 16:47:48', '2015-08-12 16:47:48', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 16:47:48', '2015-08-12 16:47:48', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 16:47:48', '2015-08-12 16:47:48', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 16:47:48.000000', '2015-08-12', '2015-08-12 16:47:48', '2015-08-12 16:47:48', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 16:47:48', '2015-08-12 16:47:48', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 16:47:48.000000', '2015-08-12', '2015-08-12 16:47:48', '2015-08-12 16:47:48', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 16:47:48', '2015-08-12 16:47:48', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 16:47:48.000000', '2015-08-12', '2015-08-12 16:47:48', '2015-08-12 16:47:48', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 16:47:48', '2015-08-12 16:47:48', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 16:47:48.000000', '2015-08-12 16:47:48', 503297012, 700141617, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:47:48.000000', '2015-08-12 16:47:48', 366290861, 700141617, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 16:47:48.000000', '2015-08-12 16:47:48', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:47:48.000000', '2015-08-12 16:47:48', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 16:47:48', '2015-08-12 16:47:48', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 16:47:48', '2015-08-12 16:47:48', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 16:47:48', '2015-08-12 16:47:48', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 16:47:48', '2015-08-12 16:47:48', 45443486, 333620620) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 16:47:48', '2015-08-12 16:47:48', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 16:47:48', '2015-08-12 16:47:48', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 16:47:48', '2015-08-12 16:47:48', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 16:47:48', '2015-08-12 16:47:48', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 16:47:48', '2015-08-12 16:47:48', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 16:47:48', '2015-08-12 16:47:48', 809335042, 'SocialNetworking::Goal', 809335042)  (1.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:47:48.490449"], ["updated_at", "2015-08-12 16:47:48.490449"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:47:48.517157"], ["updated_at", "2015-08-12 16:47:48.517157"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:47:48.530496"], ["updated_at", "2015-08-12 16:47:48.530496"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:47:48.532835"], ["updated_at", "2015-08-12 16:47:48.532835"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:47:48.539414"], ["updated_at", "2015-08-12 16:47:48.539414"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:47:48.541628"], ["updated_at", "2015-08-12 16:47:48.541628"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:47:48.558357"], ["updated_at", "2015-08-12 16:47:48.558357"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:47:48.560649"], ["updated_at", "2015-08-12 16:47:48.560649"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 16:47:59', '2015-08-12 16:47:59', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 16:47:59', '2015-08-12 16:47:59', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 16:47:59.000000', '2015-08-12', '2015-08-12 16:47:59', '2015-08-12 16:47:59', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 16:47:59', '2015-08-12 16:47:59', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 16:47:59', '2015-08-12 16:47:59', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 16:47:59.000000', '2015-08-12', '2015-08-12 16:47:59', '2015-08-12 16:47:59', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 16:47:59', '2015-08-12 16:47:59', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 16:47:59', '2015-08-12 16:47:59', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 16:47:59.000000', '2015-08-12', '2015-08-12 16:47:59', '2015-08-12 16:47:59', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 16:47:59', '2015-08-12 16:47:59', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 16:47:59.000000', '2015-08-12', '2015-08-12 16:47:59', '2015-08-12 16:47:59', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 16:47:59', '2015-08-12 16:47:59', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 16:47:59.000000', '2015-08-12', '2015-08-12 16:47:59', '2015-08-12 16:47:59', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 16:47:59', '2015-08-12 16:47:59', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 16:47:59.000000', '2015-08-12 16:47:59', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:47:59.000000', '2015-08-12 16:47:59', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 16:47:59.000000', '2015-08-12 16:47:59', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:47:59.000000', '2015-08-12 16:47:59', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 16:47:59', '2015-08-12 16:47:59', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 16:47:59', '2015-08-12 16:47:59', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 16:47:59', '2015-08-12 16:47:59', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 16:47:59', '2015-08-12 16:47:59', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 16:47:59', '2015-08-12 16:47:59', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 16:47:59', '2015-08-12 16:47:59', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 16:47:59', '2015-08-12 16:47:59', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 16:47:59', '2015-08-12 16:47:59', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 16:47:59', '2015-08-12 16:47:59', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 16:47:59', '2015-08-12 16:47:59', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:47:59.442134"], ["updated_at", "2015-08-12 16:47:59.442134"]] SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:47:59.464303"], ["updated_at", "2015-08-12 16:47:59.464303"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:47:59.472477"], ["updated_at", "2015-08-12 16:47:59.472477"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:47:59.474655"], ["updated_at", "2015-08-12 16:47:59.474655"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:47:59.499950"], ["updated_at", "2015-08-12 16:47:59.499950"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:47:59.502291"], ["updated_at", "2015-08-12 16:47:59.502291"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:47:59.508387"], ["updated_at", "2015-08-12 16:47:59.508387"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:47:59.510568"], ["updated_at", "2015-08-12 16:47:59.510568"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (3.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 16:49:24', '2015-08-12 16:49:24', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 16:49:24', '2015-08-12 16:49:24', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 16:49:24.000000', '2015-08-12', '2015-08-12 16:49:24', '2015-08-12 16:49:24', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 16:49:24', '2015-08-12 16:49:24', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 16:49:24', '2015-08-12 16:49:24', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 16:49:24.000000', '2015-08-12', '2015-08-12 16:49:24', '2015-08-12 16:49:24', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 16:49:24', '2015-08-12 16:49:24', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 16:49:24', '2015-08-12 16:49:24', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 16:49:24.000000', '2015-08-12', '2015-08-12 16:49:24', '2015-08-12 16:49:24', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 16:49:24', '2015-08-12 16:49:24', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 16:49:24.000000', '2015-08-12', '2015-08-12 16:49:24', '2015-08-12 16:49:24', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 16:49:24', '2015-08-12 16:49:24', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 16:49:24.000000', '2015-08-12', '2015-08-12 16:49:24', '2015-08-12 16:49:24', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 16:49:24', '2015-08-12 16:49:24', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 16:49:24.000000', '2015-08-12 16:49:24', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:49:24.000000', '2015-08-12 16:49:24', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 16:49:24.000000', '2015-08-12 16:49:24', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:49:24.000000', '2015-08-12 16:49:24', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 16:49:24', '2015-08-12 16:49:24', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 16:49:24', '2015-08-12 16:49:24', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 16:49:24', '2015-08-12 16:49:24', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 16:49:24', '2015-08-12 16:49:24', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 16:49:24', '2015-08-12 16:49:24', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 16:49:24', '2015-08-12 16:49:24', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 16:49:24', '2015-08-12 16:49:24', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 16:49:24', '2015-08-12 16:49:24', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.5ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 16:49:24', '2015-08-12 16:49:24', 183235640, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 16:49:24', '2015-08-12 16:49:24', 809335042, 'SocialNetworking::Goal', 809335042)  (1.7ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:49:24.719068"], ["updated_at", "2015-08-12 16:49:24.719068"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:49:24.742837"], ["updated_at", "2015-08-12 16:49:24.742837"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.4ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "active", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["active", "f"], ["created_at", "2015-08-12 16:49:24.751661"], ["updated_at", "2015-08-12 16:49:24.751661"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:49:24.754279"], ["updated_at", "2015-08-12 16:49:24.754279"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."id" != 183235642 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) UPDATE "social_networking_profiles" SET "active" = $1, "updated_at" = $2 WHERE "social_networking_profiles"."id" = $3 [["active", "t"], ["updated_at", "2015-08-12 16:49:24.759982"], ["id", 183235642]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:49:24.762583"], ["updated_at", "2015-08-12 16:49:24.762583"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:49:24.768297"], ["updated_at", "2015-08-12 16:49:24.768297"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:49:24.770562"], ["updated_at", "2015-08-12 16:49:24.770562"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235643]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:49:24.796471"], ["updated_at", "2015-08-12 16:49:24.796471"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:49:24.799043"], ["updated_at", "2015-08-12 16:49:24.799043"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:49:24.805547"], ["updated_at", "2015-08-12 16:49:24.805547"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235645], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:49:24.808070"], ["updated_at", "2015-08-12 16:49:24.808070"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (4.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 16:49:35', '2015-08-12 16:49:35', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 16:49:35', '2015-08-12 16:49:35', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 16:49:35.000000', '2015-08-12', '2015-08-12 16:49:35', '2015-08-12 16:49:35', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 16:49:35', '2015-08-12 16:49:35', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 16:49:35', '2015-08-12 16:49:35', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 16:49:35.000000', '2015-08-12', '2015-08-12 16:49:35', '2015-08-12 16:49:35', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 16:49:35', '2015-08-12 16:49:35', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 16:49:35', '2015-08-12 16:49:35', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 16:49:35.000000', '2015-08-12', '2015-08-12 16:49:35', '2015-08-12 16:49:35', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 16:49:35', '2015-08-12 16:49:35', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 16:49:35.000000', '2015-08-12', '2015-08-12 16:49:35', '2015-08-12 16:49:35', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 16:49:35', '2015-08-12 16:49:35', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 16:49:35.000000', '2015-08-12', '2015-08-12 16:49:35', '2015-08-12 16:49:35', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 16:49:35', '2015-08-12 16:49:35', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 16:49:35.000000', '2015-08-12 16:49:35', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:49:35.000000', '2015-08-12 16:49:35', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 16:49:35.000000', '2015-08-12 16:49:35', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:49:35.000000', '2015-08-12 16:49:35', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 16:49:35', '2015-08-12 16:49:35', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 16:49:35', '2015-08-12 16:49:35', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 16:49:35', '2015-08-12 16:49:35', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 16:49:35', '2015-08-12 16:49:35', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 16:49:35', '2015-08-12 16:49:35', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 16:49:35', '2015-08-12 16:49:35', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 16:49:35', '2015-08-12 16:49:35', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 16:49:35', '2015-08-12 16:49:35', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 16:49:35', '2015-08-12 16:49:35', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 16:49:35', '2015-08-12 16:49:35', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:49:35.620492"], ["updated_at", "2015-08-12 16:49:35.620492"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:49:35.632440"], ["updated_at", "2015-08-12 16:49:35.632440"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "active", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["active", "f"], ["created_at", "2015-08-12 16:49:35.639931"], ["updated_at", "2015-08-12 16:49:35.639931"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:49:35.642344"], ["updated_at", "2015-08-12 16:49:35.642344"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."id" != 183235642 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) UPDATE "social_networking_profiles" SET "active" = $1, "updated_at" = $2 WHERE "social_networking_profiles"."id" = $3 [["active", "t"], ["updated_at", "2015-08-12 16:49:35.646389"], ["id", 183235642]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:49:35.652141"], ["updated_at", "2015-08-12 16:49:35.652141"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:49:35.654181"], ["updated_at", "2015-08-12 16:49:35.654181"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235643]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:49:35.679417"], ["updated_at", "2015-08-12 16:49:35.679417"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:49:35.681509"], ["updated_at", "2015-08-12 16:49:35.681509"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:49:35.688260"], ["updated_at", "2015-08-12 16:49:35.688260"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235645], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:49:35.690900"], ["updated_at", "2015-08-12 16:49:35.690900"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (2.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 16:53:08', '2015-08-12 16:53:08', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 16:53:08', '2015-08-12 16:53:08', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 16:53:08.000000', '2015-08-12', '2015-08-12 16:53:08', '2015-08-12 16:53:08', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 16:53:08', '2015-08-12 16:53:08', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 16:53:08', '2015-08-12 16:53:08', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 16:53:08.000000', '2015-08-12', '2015-08-12 16:53:08', '2015-08-12 16:53:08', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 16:53:08', '2015-08-12 16:53:08', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 16:53:08', '2015-08-12 16:53:08', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 16:53:08.000000', '2015-08-12', '2015-08-12 16:53:08', '2015-08-12 16:53:08', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 16:53:08', '2015-08-12 16:53:08', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 16:53:08.000000', '2015-08-12', '2015-08-12 16:53:08', '2015-08-12 16:53:08', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 16:53:08', '2015-08-12 16:53:08', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 16:53:08.000000', '2015-08-12', '2015-08-12 16:53:08', '2015-08-12 16:53:08', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 16:53:08', '2015-08-12 16:53:08', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 16:53:08.000000', '2015-08-12 16:53:08', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:53:08.000000', '2015-08-12 16:53:08', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 16:53:08.000000', '2015-08-12 16:53:08', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:53:08.000000', '2015-08-12 16:53:08', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 16:53:08', '2015-08-12 16:53:08', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 16:53:08', '2015-08-12 16:53:08', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 16:53:08', '2015-08-12 16:53:08', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 16:53:08', '2015-08-12 16:53:08', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 16:53:08', '2015-08-12 16:53:08', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 16:53:08', '2015-08-12 16:53:08', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 16:53:08', '2015-08-12 16:53:08', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 16:53:08', '2015-08-12 16:53:08', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 16:53:08', '2015-08-12 16:53:08', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 16:53:08', '2015-08-12 16:53:08', 809335042, 'SocialNetworking::Goal', 809335042)  (1.4ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "active", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["active", "f"], ["created_at", "2015-08-12 16:53:08.311752"], ["updated_at", "2015-08-12 16:53:08.311752"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:53:08.334593"], ["updated_at", "2015-08-12 16:53:08.334593"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."id" != 183235641 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) UPDATE "social_networking_profiles" SET "active" = $1, "updated_at" = $2 WHERE "social_networking_profiles"."id" = $3 [["active", "t"], ["updated_at", "2015-08-12 16:53:08.338705"], ["id", 183235641]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:53:08.341073"], ["updated_at", "2015-08-12 16:53:08.341073"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:53:08.347112"], ["updated_at", "2015-08-12 16:53:08.347112"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:53:08.349349"], ["updated_at", "2015-08-12 16:53:08.349349"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:53:08.362058"], ["updated_at", "2015-08-12 16:53:08.362058"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:53:08.364272"], ["updated_at", "2015-08-12 16:53:08.364272"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:53:08.372284"], ["updated_at", "2015-08-12 16:53:08.372284"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:53:08.374479"], ["updated_at", "2015-08-12 16:53:08.374479"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:53:08.393586"], ["updated_at", "2015-08-12 16:53:08.393586"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235645], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:53:08.395897"], ["updated_at", "2015-08-12 16:53:08.395897"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235645]]  (0.1ms) ROLLBACK  (3.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 16:55:51', '2015-08-12 16:55:51', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 16:55:51', '2015-08-12 16:55:51', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 16:55:51.000000', '2015-08-12', '2015-08-12 16:55:51', '2015-08-12 16:55:51', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 16:55:51', '2015-08-12 16:55:51', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 16:55:51', '2015-08-12 16:55:51', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 16:55:51.000000', '2015-08-12', '2015-08-12 16:55:51', '2015-08-12 16:55:51', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 16:55:51', '2015-08-12 16:55:51', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 16:55:51', '2015-08-12 16:55:51', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 16:55:51.000000', '2015-08-12', '2015-08-12 16:55:51', '2015-08-12 16:55:51', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 16:55:51', '2015-08-12 16:55:51', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 16:55:51.000000', '2015-08-12', '2015-08-12 16:55:51', '2015-08-12 16:55:51', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 16:55:51', '2015-08-12 16:55:51', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 16:55:51.000000', '2015-08-12', '2015-08-12 16:55:51', '2015-08-12 16:55:51', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 16:55:51', '2015-08-12 16:55:51', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 16:55:51.000000', '2015-08-12 16:55:51', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:55:51.000000', '2015-08-12 16:55:51', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 16:55:51.000000', '2015-08-12 16:55:51', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:55:51.000000', '2015-08-12 16:55:51', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 16:55:51', '2015-08-12 16:55:51', 576803333, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 16:55:51', '2015-08-12 16:55:51', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 16:55:51', '2015-08-12 16:55:51', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 16:55:51', '2015-08-12 16:55:51', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 16:55:51', '2015-08-12 16:55:51', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 16:55:51', '2015-08-12 16:55:51', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 16:55:51', '2015-08-12 16:55:51', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 16:55:51', '2015-08-12 16:55:51', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 16:55:51', '2015-08-12 16:55:51', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 16:55:51', '2015-08-12 16:55:51', 809335042, 'SocialNetworking::Goal', 809335042)  (1.7ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (1.1ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:55:51.268441"], ["updated_at", "2015-08-12 16:55:51.268441"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:55:51.295759"], ["updated_at", "2015-08-12 16:55:51.295759"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:55:51.308697"], ["updated_at", "2015-08-12 16:55:51.308697"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:55:51.311000"], ["updated_at", "2015-08-12 16:55:51.311000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:55:51.317973"], ["updated_at", "2015-08-12 16:55:51.317973"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:55:51.320586"], ["updated_at", "2015-08-12 16:55:51.320586"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:55:51.338083"], ["updated_at", "2015-08-12 16:55:51.338083"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:55:51.340225"], ["updated_at", "2015-08-12 16:55:51.340225"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.1ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 27ms (Views: 14.8ms | ActiveRecord: 2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 16:56:04.733512') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 12ms (Views: 0.9ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 16:56:04.748893') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (3.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 16:57:31', '2015-08-12 16:57:31', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 16:57:31', '2015-08-12 16:57:31', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 16:57:31.000000', '2015-08-12', '2015-08-12 16:57:31', '2015-08-12 16:57:31', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 16:57:31', '2015-08-12 16:57:31', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 16:57:31', '2015-08-12 16:57:31', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 16:57:31.000000', '2015-08-12', '2015-08-12 16:57:31', '2015-08-12 16:57:31', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 16:57:31', '2015-08-12 16:57:31', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 16:57:31', '2015-08-12 16:57:31', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 16:57:31.000000', '2015-08-12', '2015-08-12 16:57:31', '2015-08-12 16:57:31', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 16:57:31', '2015-08-12 16:57:31', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 16:57:31.000000', '2015-08-12', '2015-08-12 16:57:31', '2015-08-12 16:57:31', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 16:57:31', '2015-08-12 16:57:31', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 16:57:31.000000', '2015-08-12', '2015-08-12 16:57:31', '2015-08-12 16:57:31', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 16:57:31', '2015-08-12 16:57:31', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 16:57:31.000000', '2015-08-12 16:57:31', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:57:31.000000', '2015-08-12 16:57:31', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 16:57:31.000000', '2015-08-12 16:57:31', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:57:31.000000', '2015-08-12 16:57:31', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 16:57:31', '2015-08-12 16:57:31', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 16:57:31', '2015-08-12 16:57:31', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 16:57:31', '2015-08-12 16:57:31', 465319974, 333620620) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 16:57:31', '2015-08-12 16:57:31', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 16:57:31', '2015-08-12 16:57:31', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 16:57:31', '2015-08-12 16:57:31', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 16:57:31', '2015-08-12 16:57:31', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 16:57:31', '2015-08-12 16:57:31', 10484799) Fixture Delete (0.5ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 16:57:31', '2015-08-12 16:57:31', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 16:57:31', '2015-08-12 16:57:31', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:57:31.491006"], ["updated_at", "2015-08-12 16:57:31.491006"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:57:31.500680"], ["updated_at", "2015-08-12 16:57:31.500680"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:57:31.508350"], ["updated_at", "2015-08-12 16:57:31.508350"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:57:31.510650"], ["updated_at", "2015-08-12 16:57:31.510650"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:57:31.540915"], ["updated_at", "2015-08-12 16:57:31.540915"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:57:31.543571"], ["updated_at", "2015-08-12 16:57:31.543571"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 16:57:31.549654"], ["updated_at", "2015-08-12 16:57:31.549654"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:57:31.552004"], ["updated_at", "2015-08-12 16:57:31.552004"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 16:57:31.575378"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-12 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 16:57:31.584969"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 11:57:32 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.0ms) Completed 200 OK in 103ms (Views: 77.6ms | ActiveRecord: 5.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-12 11:57:32 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-12 11:57:32 -0500 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-12 11:57:32 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-09", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-09"], ["updated_at", "2015-08-12 16:57:32.969977"], ["id", 53334230]]  (5.8ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 9.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 11:57:33 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.0ms) Completed 200 OK in 14ms (Views: 1.6ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 11:57:33 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.0ms) Completed 200 OK in 12ms (Views: 1.5ms | ActiveRecord: 1.5ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-12 11:57:33 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-12", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-12 16:57:33.264716"], ["updated_at", "2015-08-12 16:57:33.267182"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 11:57:33 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 16ms (Views: 1.7ms | ActiveRecord: 2.0ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-12 11:57:33 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-26", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-26"], ["created_at", "2015-08-12 16:57:33.472047"], ["updated_at", "2015-08-12 16:57:33.472047"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:57:33.477316"], ["updated_at", "2015-08-12 16:57:33.477316"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 11:57:33 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.6ms | ActiveRecord: 1.6ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-12 11:57:33 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-12", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-12 16:57:33.704070"], ["updated_at", "2015-08-12 16:57:33.706472"], ["id", 809335042]]  (1.3ms) COMMIT  (0.3ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:57:33.711261"], ["updated_at", "2015-08-12 16:57:33.711261"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 4.0ms)  (0.2ms) ROLLBACK  (1.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 16:57:33', '2015-08-12 16:57:33', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 16:57:33', '2015-08-12 16:57:33', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 16:57:33.000000', '2015-08-12', '2015-08-12 16:57:33', '2015-08-12 16:57:33', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 16:57:33', '2015-08-12 16:57:33', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 16:57:33', '2015-08-12 16:57:33', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 16:57:33.000000', '2015-08-12', '2015-08-12 16:57:33', '2015-08-12 16:57:33', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 16:57:33', '2015-08-12 16:57:33', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 16:57:33', '2015-08-12 16:57:33', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 16:57:33.000000', '2015-08-12', '2015-08-12 16:57:33', '2015-08-12 16:57:33', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 16:57:33', '2015-08-12 16:57:33', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 16:57:33.000000', '2015-08-12', '2015-08-12 16:57:33', '2015-08-12 16:57:33', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 16:57:33', '2015-08-12 16:57:33', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 16:57:33.000000', '2015-08-12', '2015-08-12 16:57:33', '2015-08-12 16:57:33', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 16:57:33', '2015-08-12 16:57:33', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 16:57:33.000000', '2015-08-12 16:57:33', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:57:33.000000', '2015-08-12 16:57:33', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 16:57:33.000000', '2015-08-12 16:57:33', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:57:33.000000', '2015-08-12 16:57:33', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 16:57:33', '2015-08-12 16:57:33', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 16:57:33', '2015-08-12 16:57:33', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 16:57:33', '2015-08-12 16:57:33', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 16:57:33', '2015-08-12 16:57:33', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 16:57:33', '2015-08-12 16:57:33', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 16:57:33', '2015-08-12 16:57:33', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 16:57:33', '2015-08-12 16:57:33', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 16:57:33', '2015-08-12 16:57:33', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 16:57:33', '2015-08-12 16:57:33', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 16:57:33', '2015-08-12 16:57:33', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (8.3ms) Date: Wed, 12 Aug 2015 11:57:34 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb7afea05d_b9213fce4e06020080567@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 222.3ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Wed, 12 Aug 2015 11:57:34 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb7afebf9e_b9213fce4e0602008069@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.9ms) Date: Wed, 12 Aug 2015 11:57:34 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb7afed93b_b9213fce4e060200807c@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 4.9ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 16:57:34.171423"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-12 23:59:59.999999' AND created_at >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 16:57:34.177449"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-12 23:59:59.999999' AND created_at >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 16:57:34.183662"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 16:57:34.186770"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-12 16:57:34.246829"], ["updated_at", "2015-08-12 16:57:34.246829"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-12 16:57:34.251127"], ["updated_at", "2015-08-12 16:57:34.251127"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-12 16:57:34.253689"], ["updated_at", "2015-08-12 16:57:34.253689"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (2.8ms) Date: Wed, 12 Aug 2015 11:57:34 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb7afe55c2f_b9213fce4e060200808e5@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 42.3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Wed, 12 Aug 2015 11:57:34 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb7afe570a6_b9213fce4e06020080944@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Wed, 12 Aug 2015 11:57:34 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb7afe5840b_b9213fce4e06020081027@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 12ms (Views: 7.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 16:57:34.420019') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 16:57:34.429236') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 16:57:34.445567"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 16:57:34.448657"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 16:57:34.459530"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-12 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-12 16:57:34.466098') AND ("social_networking_goals"."due_on" >= '2015-08-11 16:57:34.466132')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-12 16:57:34.469653') AND ("social_networking_goals"."due_on" >= '2015-08-11 16:57:34.469698') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-12 16:57:34.473675') AND ("social_networking_goals"."due_on" >= '2015-08-11 16:57:34.473695')  (0.3ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-13"], ["created_at", "2015-08-12 16:57:34.479734"], ["updated_at", "2015-08-12 16:57:34.479734"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-12"], ["completed_at", "2015-08-10 00:00:00.000000"], ["created_at", "2015-08-12 16:57:34.485815"], ["updated_at", "2015-08-12 16:57:34.485815"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-12 16:57:34.491250"], ["updated_at", "2015-08-12 16:57:34.491250"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 16:57:34.504995"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-12 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 16:57:34.512265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 16:57:34.515681"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-12 16:57:34.563850"], ["updated_at", "2015-08-12 16:57:34.563850"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-12 16:57:34.566633"], ["updated_at", "2015-08-12 16:57:34.566633"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.4ms) Date: Wed, 12 Aug 2015 11:57:34 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb7afeb1a69_b9213fce4e06020081162@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 40.0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Wed, 12 Aug 2015 11:57:34 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb7afeb2da2_b9213fce4e0602008123c@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Wed, 12 Aug 2015 11:57:34 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb7afeb3ece_b9213fce4e060200813a1@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 16:57:34.745073"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-12 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 16:57:34.752603"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 16:57:34.756145"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 17:08:05', '2015-08-12 17:08:05', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 17:08:05.000000', '2015-08-12', '2015-08-12 17:08:05', '2015-08-12 17:08:05', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 17:08:05', '2015-08-12 17:08:05', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 17:08:05', '2015-08-12 17:08:05', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 17:08:05.000000', '2015-08-12', '2015-08-12 17:08:05', '2015-08-12 17:08:05', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 17:08:05', '2015-08-12 17:08:05', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 17:08:05', '2015-08-12 17:08:05', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 17:08:05.000000', '2015-08-12', '2015-08-12 17:08:05', '2015-08-12 17:08:05', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 17:08:05', '2015-08-12 17:08:05', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 17:08:05.000000', '2015-08-12', '2015-08-12 17:08:05', '2015-08-12 17:08:05', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 17:08:05', '2015-08-12 17:08:05', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 17:08:05.000000', '2015-08-12', '2015-08-12 17:08:05', '2015-08-12 17:08:05', 16804933, 816972181)  (6.0ms) COMMIT  (5.7ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:05.816993"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-12 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:05.826237"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:05.830513"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-05 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (1.0ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:05.860580"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-12 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:05.874387"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 31ms (Views: 17.1ms | ActiveRecord: 2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 17:08:05.985334') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 17:08:05.998877') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 24ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (6.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 17:08:06', '2015-08-12 17:08:06', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 17:08:06', '2015-08-12 17:08:06', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 17:08:06.000000', '2015-08-12 17:08:06', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 17:08:06.000000', '2015-08-12 17:08:06', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 17:08:06.000000', '2015-08-12 17:08:06', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 17:08:06.000000', '2015-08-12 17:08:06', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 17:08:06', '2015-08-12 17:08:06', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 17:08:06', '2015-08-12 17:08:06', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 17:08:06', '2015-08-12 17:08:06', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 17:08:06', '2015-08-12 17:08:06', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 17:08:06', '2015-08-12 17:08:06', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 17:08:06', '2015-08-12 17:08:06', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 17:08:06', '2015-08-12 17:08:06', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 17:08:06', '2015-08-12 17:08:06', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 17:08:06', '2015-08-12 17:08:06', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 17:08:06', '2015-08-12 17:08:06', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:06.137121"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-12 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:06.154564"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:06.157641"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-12 17:08:06.161451') AND ("social_networking_goals"."due_on" >= '2015-08-11 17:08:06.161482')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-12 17:08:06.164004') AND ("social_networking_goals"."due_on" >= '2015-08-11 17:08:06.164022') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-12 17:08:06.166628') AND ("social_networking_goals"."due_on" >= '2015-08-11 17:08:06.166650')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-12 17:08:06.170249"], ["updated_at", "2015-08-12 17:08:06.170249"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-12"], ["completed_at", "2015-08-10 00:00:00.000000"], ["created_at", "2015-08-12 17:08:06.177336"], ["updated_at", "2015-08-12 17:08:06.177336"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-13"], ["created_at", "2015-08-12 17:08:06.181600"], ["updated_at", "2015-08-12 17:08:06.181600"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-12 17:08:06.227951"], ["updated_at", "2015-08-12 17:08:06.227951"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-12 17:08:06.231050"], ["updated_at", "2015-08-12 17:08:06.231050"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (2.0ms) Sent mail to obama@ex.co (8.6ms) Date: Wed, 12 Aug 2015 12:08:06 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb7d767f139_c0f53fe5e90601f89133@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 226.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.2ms) Date: Wed, 12 Aug 2015 12:08:06 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb7d7681098_c0f53fe5e90601f891484@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Wed, 12 Aug 2015 12:08:06 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb7d7682265_c0f53fe5e90601f8915be@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 17:08:06.543352"], ["updated_at", "2015-08-12 17:08:06.543352"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 17:08:06.545955"], ["updated_at", "2015-08-12 17:08:06.545955"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 17:08:06.551556"], ["updated_at", "2015-08-12 17:08:06.551556"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 17:08:06.553554"], ["updated_at", "2015-08-12 17:08:06.553554"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 17:08:06.571194"], ["updated_at", "2015-08-12 17:08:06.571194"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 17:08:06.573408"], ["updated_at", "2015-08-12 17:08:06.573408"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 17:08:06.578758"], ["updated_at", "2015-08-12 17:08:06.578758"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 17:08:06.581078"], ["updated_at", "2015-08-12 17:08:06.581078"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.6ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:06.592395"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-12 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:06.600702"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:06.604251"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-12 17:08:06.655805"], ["updated_at", "2015-08-12 17:08:06.655805"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-12 17:08:06.663077"], ["updated_at", "2015-08-12 17:08:06.663077"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-12 17:08:06.666438"], ["updated_at", "2015-08-12 17:08:06.666438"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.8ms) Date: Wed, 12 Aug 2015 12:08:06 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb7d76b01dc_c0f53fe5e90601f8916fb@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 41.0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Wed, 12 Aug 2015 12:08:06 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb7d76b179b_c0f53fe5e90601f891732@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Wed, 12 Aug 2015 12:08:06 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb7d76b29dc_c0f53fe5e90601f891875@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (3.3ms) Date: Wed, 12 Aug 2015 12:08:06 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb7d76bc883_c0f53fe5e90601f891951@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 40.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Wed, 12 Aug 2015 12:08:06 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb7d76be27b_c0f53fe5e90601f89204@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Wed, 12 Aug 2015 12:08:06 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb7d76bf56b_c0f53fe5e90601f892181@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:06.789062"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:06.794370"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:06.796992"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-12 23:59:59.999999' AND created_at >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:06.802765"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-12 23:59:59.999999' AND created_at >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 12:08:07 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.3ms) Completed 200 OK in 68ms (Views: 48.0ms | ActiveRecord: 4.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-12 12:08:07 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-12 12:08:07 -0500 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-12 12:08:07 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-12", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-12 17:08:07.909722"], ["updated_at", "2015-08-12 17:08:07.912497"], ["id", 809335042]]  (1.5ms) COMMIT  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-12 17:08:07.919300"], ["updated_at", "2015-08-12 17:08:07.919300"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 17ms (Views: 0.5ms | ActiveRecord: 4.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 12:08:07 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 16ms (Views: 2.2ms | ActiveRecord: 1.9ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 12:08:08 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 20ms (Views: 2.5ms | ActiveRecord: 2.3ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-12 12:08:08 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-26", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.9ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-26"], ["created_at", "2015-08-12 17:08:08.254040"], ["updated_at", "2015-08-12 17:08:08.254040"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-12 17:08:08.259639"], ["updated_at", "2015-08-12 17:08:08.259639"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 4.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 12:08:08 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 17ms (Views: 2.4ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-12 12:08:08 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-09", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.7ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-09"], ["updated_at", "2015-08-12 17:08:08.492851"], ["id", 53334230]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 12:08:08 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.1ms) Completed 200 OK in 18ms (Views: 3.0ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-12 12:08:08 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-12", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-12 17:08:08.825240"], ["updated_at", "2015-08-12 17:08:08.827890"], ["id", 614371357]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (2.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 17:08:57', '2015-08-12 17:08:57', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 17:08:57', '2015-08-12 17:08:57', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 17:08:57.000000', '2015-08-12', '2015-08-12 17:08:57', '2015-08-12 17:08:57', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 17:08:57', '2015-08-12 17:08:57', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 17:08:57', '2015-08-12 17:08:57', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 17:08:57.000000', '2015-08-12', '2015-08-12 17:08:57', '2015-08-12 17:08:57', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 17:08:57', '2015-08-12 17:08:57', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 17:08:57', '2015-08-12 17:08:57', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 17:08:57.000000', '2015-08-12', '2015-08-12 17:08:57', '2015-08-12 17:08:57', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 17:08:57', '2015-08-12 17:08:57', 128166899, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 17:08:57.000000', '2015-08-12', '2015-08-12 17:08:57', '2015-08-12 17:08:57', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 17:08:57', '2015-08-12 17:08:57', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 17:08:57.000000', '2015-08-12', '2015-08-12 17:08:57', '2015-08-12 17:08:57', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 17:08:57', '2015-08-12 17:08:57', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 17:08:57.000000', '2015-08-12 17:08:57', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 17:08:57.000000', '2015-08-12 17:08:57', 366290861, 700141617, 816972181) Fixture Insert (0.5ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 17:08:57.000000', '2015-08-12 17:08:57', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 17:08:57.000000', '2015-08-12 17:08:57', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 17:08:57', '2015-08-12 17:08:57', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 17:08:57', '2015-08-12 17:08:57', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 17:08:57', '2015-08-12 17:08:57', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 17:08:57', '2015-08-12 17:08:57', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 17:08:57', '2015-08-12 17:08:57', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 17:08:57', '2015-08-12 17:08:57', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 17:08:57', '2015-08-12 17:08:57', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 17:08:57', '2015-08-12 17:08:57', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 17:08:57', '2015-08-12 17:08:57', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 17:08:57', '2015-08-12 17:08:57', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 17:08:57.377027"], ["updated_at", "2015-08-12 17:08:57.377027"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 17:08:57.386352"], ["updated_at", "2015-08-12 17:08:57.386352"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.4ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 17:08:57.395402"], ["updated_at", "2015-08-12 17:08:57.395402"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 17:08:57.398134"], ["updated_at", "2015-08-12 17:08:57.398134"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 17:08:57.432921"], ["updated_at", "2015-08-12 17:08:57.432921"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 17:08:57.435567"], ["updated_at", "2015-08-12 17:08:57.435567"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE ("social_networking_profiles"."participant_id" = 700141617 AND "social_networking_profiles"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-12 17:08:57.441920"], ["updated_at", "2015-08-12 17:08:57.441920"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-12 17:08:57.444399"], ["updated_at", "2015-08-12 17:08:57.444399"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (1.9ms) Sent mail to obama@ex.co (7.0ms) Date: Wed, 12 Aug 2015 12:08:57 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb7da9a63a8_c22b3fef9185e20452840@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 233.5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Wed, 12 Aug 2015 12:08:57 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb7da9a800f_c22b3fef9185e20452994@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Wed, 12 Aug 2015 12:08:57 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb7da9a90c6_c22b3fef9185e2045308e@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:57.753133"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-12 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:57.761017"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:57.764012"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:57.778315"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-12 23:59:59.999999' AND created_at >= '2015-08-12 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:57.784414"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-12 23:59:59.999999' AND created_at >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:57.790964"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:57.794081"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:57.964269"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-12 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:57.974065"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:58.010488"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-12 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:58.017465"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:58.020412"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 17:08:58.047308') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 17:08:58.057968') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-12 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:58.085659"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-12 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-05 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:58.092442"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-04 00:00:00.000000"], ["updated_at", "2015-08-12 17:08:58.095071"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-05 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-12 17:08:58.105309') AND ("social_networking_goals"."due_on" >= '2015-08-11 17:08:58.105338')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-12 17:08:58.107816') AND ("social_networking_goals"."due_on" >= '2015-08-11 17:08:58.107835') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-12 17:08:58.109882') AND ("social_networking_goals"."due_on" >= '2015-08-11 17:08:58.109899')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-12 17:08:58.112880"], ["updated_at", "2015-08-12 17:08:58.112880"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-13"], ["created_at", "2015-08-12 17:08:58.117148"], ["updated_at", "2015-08-12 17:08:58.117148"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-12"], ["completed_at", "2015-08-10 00:00:00.000000"], ["created_at", "2015-08-12 17:08:58.121571"], ["updated_at", "2015-08-12 17:08:58.121571"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-12 17:08:58.135386"], ["updated_at", "2015-08-12 17:08:58.135386"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-12 17:08:58.138257"], ["updated_at", "2015-08-12 17:08:58.138257"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-12 17:08:58.160922"], ["updated_at", "2015-08-12 17:08:58.160922"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-12 17:08:58.166350"], ["updated_at", "2015-08-12 17:08:58.166350"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-12 17:08:58.168859"], ["updated_at", "2015-08-12 17:08:58.168859"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.3ms) Date: Wed, 12 Aug 2015 12:08:58 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb7daa337a4_c22b3fef9185e2045311f@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 39.9ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Wed, 12 Aug 2015 12:08:58 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb7daa349d8_c22b3fef9185e204532e5@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Wed, 12 Aug 2015 12:08:58 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb7daa35a55_c22b3fef9185e2045336f@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.6ms) Date: Wed, 12 Aug 2015 12:08:58 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb7daa3fa39_c22b3fef9185e2045343a@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 39.3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.4ms) Date: Wed, 12 Aug 2015 12:08:58 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb7daa4104e_c22b3fef9185e20453574@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Wed, 12 Aug 2015 12:08:58 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cb7daa4210b_c22b3fef9185e20453677@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.1ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 12:08:58 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.7ms) Completed 200 OK in 87ms (Views: 62.9ms | ActiveRecord: 5.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-12 12:08:58 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-12 12:08:58 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-12 12:08:59 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-09", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-09"], ["updated_at", "2015-08-12 17:08:59.306280"], ["id", 53334230]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 12:08:59 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 19ms (Views: 1.9ms | ActiveRecord: 2.4ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-12 12:08:59 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-12", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-12 17:08:59.495024"], ["updated_at", "2015-08-12 17:08:59.497792"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 12:08:59 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 17ms (Views: 2.1ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-12 12:08:59 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-12", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-12 17:08:59.658251"], ["updated_at", "2015-08-12 17:08:59.660711"], ["id", 809335042]]  (1.3ms) COMMIT  (0.3ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-12 17:08:59.665546"], ["updated_at", "2015-08-12 17:08:59.665546"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 3.6ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 12:08:59 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 15ms (Views: 2.1ms | ActiveRecord: 1.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-12 12:08:59 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-26", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-26"], ["created_at", "2015-08-12 17:08:59.862439"], ["updated_at", "2015-08-12 17:08:59.862439"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-12 17:08:59.866982"], ["updated_at", "2015-08-12 17:08:59.866982"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 3.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-12 12:08:59 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 20ms (Views: 2.1ms | ActiveRecord: 2.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (7.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 21:22:31', '2015-08-12 21:22:31', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 21:22:31', '2015-08-12 21:22:31', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 21:22:31.000000', '2015-08-12', '2015-08-12 21:22:31', '2015-08-12 21:22:31', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 21:22:31', '2015-08-12 21:22:31', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 21:22:31', '2015-08-12 21:22:31', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 21:22:31.000000', '2015-08-12', '2015-08-12 21:22:31', '2015-08-12 21:22:31', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 21:22:31', '2015-08-12 21:22:31', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 21:22:31', '2015-08-12 21:22:31', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 21:22:31.000000', '2015-08-12', '2015-08-12 21:22:31', '2015-08-12 21:22:31', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 21:22:31', '2015-08-12 21:22:31', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 21:22:31.000000', '2015-08-12', '2015-08-12 21:22:31', '2015-08-12 21:22:31', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 21:22:31', '2015-08-12 21:22:31', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 21:22:31.000000', '2015-08-12', '2015-08-12 21:22:31', '2015-08-12 21:22:31', 16804933, 816972181) Fixture Delete (0.8ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 21:22:31', '2015-08-12 21:22:31', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.7ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 21:22:31.000000', '2015-08-12 21:22:31', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 21:22:31.000000', '2015-08-12 21:22:31', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 21:22:31.000000', '2015-08-12 21:22:31', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 21:22:31.000000', '2015-08-12 21:22:31', 316146702, 816972181, 700141617) Fixture Delete (0.6ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 21:22:31', '2015-08-12 21:22:31', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 21:22:31', '2015-08-12 21:22:31', 369066228, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 21:22:31', '2015-08-12 21:22:31', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 21:22:31', '2015-08-12 21:22:31', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 21:22:31', '2015-08-12 21:22:31', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 21:22:31', '2015-08-12 21:22:31', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 21:22:31', '2015-08-12 21:22:31', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 21:22:31', '2015-08-12 21:22:31', 10484799) Fixture Delete (0.5ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 21:22:31', '2015-08-12 21:22:31', 183235640, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 21:22:31', '2015-08-12 21:22:31', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 23ms (Views: 15.0ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 21:22:32.048233') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 21:22:32.059215') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (2.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 21:22:40', '2015-08-12 21:22:40', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 21:22:40', '2015-08-12 21:22:40', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 21:22:40.000000', '2015-08-12', '2015-08-12 21:22:40', '2015-08-12 21:22:40', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 21:22:40', '2015-08-12 21:22:40', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 21:22:40', '2015-08-12 21:22:40', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 21:22:40.000000', '2015-08-12', '2015-08-12 21:22:40', '2015-08-12 21:22:40', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 21:22:40', '2015-08-12 21:22:40', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 21:22:40', '2015-08-12 21:22:40', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 21:22:40.000000', '2015-08-12', '2015-08-12 21:22:40', '2015-08-12 21:22:40', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 21:22:40', '2015-08-12 21:22:40', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 21:22:40.000000', '2015-08-12', '2015-08-12 21:22:40', '2015-08-12 21:22:40', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 21:22:40', '2015-08-12 21:22:40', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 21:22:40.000000', '2015-08-12', '2015-08-12 21:22:40', '2015-08-12 21:22:40', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 21:22:40', '2015-08-12 21:22:40', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 21:22:40.000000', '2015-08-12 21:22:40', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 21:22:40.000000', '2015-08-12 21:22:40', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 21:22:40.000000', '2015-08-12 21:22:40', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 21:22:40.000000', '2015-08-12 21:22:40', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 21:22:40', '2015-08-12 21:22:40', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 21:22:40', '2015-08-12 21:22:40', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 21:22:40', '2015-08-12 21:22:40', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 21:22:40', '2015-08-12 21:22:40', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 21:22:40', '2015-08-12 21:22:40', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 21:22:40', '2015-08-12 21:22:40', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 21:22:40', '2015-08-12 21:22:40', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 21:22:40', '2015-08-12 21:22:40', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 21:22:40', '2015-08-12 21:22:40', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 21:22:41', '2015-08-12 21:22:41', 809335042, 'SocialNetworking::Goal', 809335042)  (1.5ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 12ms (Views: 7.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-11 21:22:41.363893') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (36.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (35.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (34.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (37.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (72.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (70.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (69.3ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (3.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (3.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (10.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (74.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (71.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (6.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 23:35:00', '2015-08-12 23:35:00', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 23:35:01', '2015-08-12 23:35:01', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 23:35:00.000000', '2015-08-12', '2015-08-12 23:35:01', '2015-08-12 23:35:01', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 23:35:01', '2015-08-12 23:35:01', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 23:35:01', '2015-08-12 23:35:01', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 23:35:00.000000', '2015-08-12', '2015-08-12 23:35:01', '2015-08-12 23:35:01', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 23:35:01', '2015-08-12 23:35:01', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 23:35:01', '2015-08-12 23:35:01', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 23:35:00.000000', '2015-08-12', '2015-08-12 23:35:01', '2015-08-12 23:35:01', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 23:35:01', '2015-08-12 23:35:01', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 23:35:00.000000', '2015-08-12', '2015-08-12 23:35:01', '2015-08-12 23:35:01', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 23:35:01', '2015-08-12 23:35:01', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 23:35:00.000000', '2015-08-12', '2015-08-12 23:35:01', '2015-08-12 23:35:01', 16804933, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 23:35:01', '2015-08-12 23:35:01', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:35:00.000000', '2015-08-12 23:35:01', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:35:00.000000', '2015-08-12 23:35:01', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:35:00.000000', '2015-08-12 23:35:01', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:35:00.000000', '2015-08-12 23:35:01', 316146702, 816972181, 700141617) Fixture Delete (0.6ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 23:35:01', '2015-08-12 23:35:01', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 23:35:01', '2015-08-12 23:35:01', 369066228, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 23:35:01', '2015-08-12 23:35:01', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 23:35:01', '2015-08-12 23:35:01', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 23:35:01', '2015-08-12 23:35:01', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 23:35:01', '2015-08-12 23:35:01', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 23:35:01', '2015-08-12 23:35:01', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 23:35:01', '2015-08-12 23:35:01', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 23:35:01', '2015-08-12 23:35:01', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 23:35:01', '2015-08-12 23:35:01', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 LIMIT 1 [["id", 503297012]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (92.7ms)  (0.2ms) ROLLBACK  (3.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.8ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 23:36:36', '2015-08-12 23:36:36', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 23:36:36', '2015-08-12 23:36:36', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 23:36:36.000000', '2015-08-12', '2015-08-12 23:36:36', '2015-08-12 23:36:36', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 23:36:36', '2015-08-12 23:36:36', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 23:36:36', '2015-08-12 23:36:36', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 23:36:36.000000', '2015-08-12', '2015-08-12 23:36:36', '2015-08-12 23:36:36', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 23:36:36', '2015-08-12 23:36:36', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 23:36:36', '2015-08-12 23:36:36', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 23:36:36.000000', '2015-08-12', '2015-08-12 23:36:36', '2015-08-12 23:36:36', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 23:36:36', '2015-08-12 23:36:36', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 23:36:36.000000', '2015-08-12', '2015-08-12 23:36:36', '2015-08-12 23:36:36', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 23:36:36', '2015-08-12 23:36:36', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 23:36:36.000000', '2015-08-12', '2015-08-12 23:36:36', '2015-08-12 23:36:36', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 23:36:36', '2015-08-12 23:36:36', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:36:36.000000', '2015-08-12 23:36:36', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:36:36.000000', '2015-08-12 23:36:36', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:36:36.000000', '2015-08-12 23:36:36', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:36:36.000000', '2015-08-12 23:36:36', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 23:36:36', '2015-08-12 23:36:36', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 23:36:36', '2015-08-12 23:36:36', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 23:36:36', '2015-08-12 23:36:36', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 23:36:36', '2015-08-12 23:36:36', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 23:36:36', '2015-08-12 23:36:36', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 23:36:36', '2015-08-12 23:36:36', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 23:36:36', '2015-08-12 23:36:36', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 23:36:36', '2015-08-12 23:36:36', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 23:36:36', '2015-08-12 23:36:36', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 23:36:36', '2015-08-12 23:36:36', 809335042, 'SocialNetworking::Goal', 809335042)  (1.5ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 LIMIT 1 [["id", 503297012]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (83.9ms)  (0.2ms) ROLLBACK  (2.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 23:36:49', '2015-08-12 23:36:49', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 23:36:49', '2015-08-12 23:36:49', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 23:36:49.000000', '2015-08-12', '2015-08-12 23:36:49', '2015-08-12 23:36:49', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 23:36:49', '2015-08-12 23:36:49', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 23:36:49', '2015-08-12 23:36:49', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 23:36:49.000000', '2015-08-12', '2015-08-12 23:36:49', '2015-08-12 23:36:49', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 23:36:49', '2015-08-12 23:36:49', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 23:36:49', '2015-08-12 23:36:49', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 23:36:49.000000', '2015-08-12', '2015-08-12 23:36:49', '2015-08-12 23:36:49', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 23:36:49', '2015-08-12 23:36:49', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 23:36:49.000000', '2015-08-12', '2015-08-12 23:36:49', '2015-08-12 23:36:49', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 23:36:49', '2015-08-12 23:36:49', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 23:36:49.000000', '2015-08-12', '2015-08-12 23:36:49', '2015-08-12 23:36:49', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 23:36:49', '2015-08-12 23:36:49', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:36:49.000000', '2015-08-12 23:36:49', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:36:49.000000', '2015-08-12 23:36:49', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:36:49.000000', '2015-08-12 23:36:49', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:36:49.000000', '2015-08-12 23:36:49', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 23:36:49', '2015-08-12 23:36:49', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 23:36:49', '2015-08-12 23:36:49', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 23:36:49', '2015-08-12 23:36:49', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 23:36:49', '2015-08-12 23:36:49', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 23:36:49', '2015-08-12 23:36:49', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 23:36:49', '2015-08-12 23:36:49', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 23:36:49', '2015-08-12 23:36:49', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 23:36:49', '2015-08-12 23:36:49', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 23:36:49', '2015-08-12 23:36:49', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 23:36:49', '2015-08-12 23:36:49', 809335042, 'SocialNetworking::Goal', 809335042)  (1.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 LIMIT 1 [["id", 503297012]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.6ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.7ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (74.6ms)  (0.2ms) ROLLBACK  (2.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.6ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 23:37:26', '2015-08-12 23:37:26', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 23:37:26', '2015-08-12 23:37:26', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 23:37:26.000000', '2015-08-12', '2015-08-12 23:37:26', '2015-08-12 23:37:26', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 23:37:26', '2015-08-12 23:37:26', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 23:37:26', '2015-08-12 23:37:26', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 23:37:26.000000', '2015-08-12', '2015-08-12 23:37:26', '2015-08-12 23:37:26', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 23:37:26', '2015-08-12 23:37:26', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 23:37:26', '2015-08-12 23:37:26', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 23:37:26.000000', '2015-08-12', '2015-08-12 23:37:26', '2015-08-12 23:37:26', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 23:37:26', '2015-08-12 23:37:26', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 23:37:26.000000', '2015-08-12', '2015-08-12 23:37:26', '2015-08-12 23:37:26', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 23:37:26', '2015-08-12 23:37:26', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 23:37:26.000000', '2015-08-12', '2015-08-12 23:37:26', '2015-08-12 23:37:26', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 23:37:26', '2015-08-12 23:37:26', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:37:26.000000', '2015-08-12 23:37:26', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:37:26.000000', '2015-08-12 23:37:26', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:37:26.000000', '2015-08-12 23:37:26', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:37:26.000000', '2015-08-12 23:37:26', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 23:37:26', '2015-08-12 23:37:26', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 23:37:26', '2015-08-12 23:37:26', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 23:37:26', '2015-08-12 23:37:26', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 23:37:26', '2015-08-12 23:37:26', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 23:37:26', '2015-08-12 23:37:26', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 23:37:26', '2015-08-12 23:37:26', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 23:37:26', '2015-08-12 23:37:26', 932760744) Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 23:37:26', '2015-08-12 23:37:26', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 23:37:26', '2015-08-12 23:37:26', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 23:37:26', '2015-08-12 23:37:26', 809335042, 'SocialNetworking::Goal', 809335042)  (1.6ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 LIMIT 1 [["id", 503297012]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (82.7ms)  (0.2ms) ROLLBACK  (3.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.8ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 23:39:05', '2015-08-12 23:39:05', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 23:39:05', '2015-08-12 23:39:05', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 23:39:05.000000', '2015-08-12', '2015-08-12 23:39:05', '2015-08-12 23:39:05', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 23:39:05', '2015-08-12 23:39:05', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 23:39:05', '2015-08-12 23:39:05', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 23:39:05.000000', '2015-08-12', '2015-08-12 23:39:05', '2015-08-12 23:39:05', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 23:39:05', '2015-08-12 23:39:05', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 23:39:05', '2015-08-12 23:39:05', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 23:39:05.000000', '2015-08-12', '2015-08-12 23:39:05', '2015-08-12 23:39:05', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 23:39:05', '2015-08-12 23:39:05', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 23:39:05.000000', '2015-08-12', '2015-08-12 23:39:05', '2015-08-12 23:39:05', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 23:39:05', '2015-08-12 23:39:05', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 23:39:05.000000', '2015-08-12', '2015-08-12 23:39:05', '2015-08-12 23:39:05', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 23:39:05', '2015-08-12 23:39:05', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:39:05.000000', '2015-08-12 23:39:05', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:39:05.000000', '2015-08-12 23:39:05', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:39:05.000000', '2015-08-12 23:39:05', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:39:05.000000', '2015-08-12 23:39:05', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 23:39:05', '2015-08-12 23:39:05', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 23:39:05', '2015-08-12 23:39:05', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 23:39:05', '2015-08-12 23:39:05', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 23:39:05', '2015-08-12 23:39:05', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 23:39:05', '2015-08-12 23:39:05', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 23:39:05', '2015-08-12 23:39:05', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 23:39:05', '2015-08-12 23:39:05', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 23:39:05', '2015-08-12 23:39:05', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 23:39:05', '2015-08-12 23:39:05', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 23:39:05', '2015-08-12 23:39:05', 809335042, 'SocialNetworking::Goal', 809335042)  (1.6ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.6ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 LIMIT 1 [["id", 503297012]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (87.4ms)  (0.2ms) ROLLBACK  (3.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 23:39:17', '2015-08-12 23:39:17', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 23:39:17', '2015-08-12 23:39:17', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 23:39:17.000000', '2015-08-12', '2015-08-12 23:39:17', '2015-08-12 23:39:17', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 23:39:17', '2015-08-12 23:39:17', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 23:39:17', '2015-08-12 23:39:17', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 23:39:17.000000', '2015-08-12', '2015-08-12 23:39:17', '2015-08-12 23:39:17', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 23:39:17', '2015-08-12 23:39:17', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 23:39:17', '2015-08-12 23:39:17', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 23:39:17.000000', '2015-08-12', '2015-08-12 23:39:17', '2015-08-12 23:39:17', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 23:39:17', '2015-08-12 23:39:17', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 23:39:17.000000', '2015-08-12', '2015-08-12 23:39:17', '2015-08-12 23:39:17', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 23:39:17', '2015-08-12 23:39:17', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 23:39:17.000000', '2015-08-12', '2015-08-12 23:39:17', '2015-08-12 23:39:17', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 23:39:17', '2015-08-12 23:39:17', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:39:17.000000', '2015-08-12 23:39:17', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:39:17.000000', '2015-08-12 23:39:17', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:39:17.000000', '2015-08-12 23:39:17', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:39:17.000000', '2015-08-12 23:39:17', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 23:39:17', '2015-08-12 23:39:17', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 23:39:17', '2015-08-12 23:39:17', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 23:39:17', '2015-08-12 23:39:17', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 23:39:17', '2015-08-12 23:39:17', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 23:39:17', '2015-08-12 23:39:17', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 23:39:17', '2015-08-12 23:39:17', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 23:39:17', '2015-08-12 23:39:17', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 23:39:17', '2015-08-12 23:39:17', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 23:39:17', '2015-08-12 23:39:17', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 23:39:17', '2015-08-12 23:39:17', 809335042, 'SocialNetworking::Goal', 809335042)  (1.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 LIMIT 1 [["id", 503297012]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (338.9ms)  (0.2ms) ROLLBACK  (2.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 23:41:20', '2015-08-12 23:41:20', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 23:41:20', '2015-08-12 23:41:20', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 23:41:20.000000', '2015-08-12', '2015-08-12 23:41:20', '2015-08-12 23:41:20', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 23:41:20', '2015-08-12 23:41:20', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 23:41:20', '2015-08-12 23:41:20', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 23:41:20.000000', '2015-08-12', '2015-08-12 23:41:20', '2015-08-12 23:41:20', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 23:41:20', '2015-08-12 23:41:20', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 23:41:20', '2015-08-12 23:41:20', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 23:41:20.000000', '2015-08-12', '2015-08-12 23:41:20', '2015-08-12 23:41:20', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 23:41:20', '2015-08-12 23:41:20', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 23:41:20.000000', '2015-08-12', '2015-08-12 23:41:20', '2015-08-12 23:41:20', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 23:41:20', '2015-08-12 23:41:20', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 23:41:20.000000', '2015-08-12', '2015-08-12 23:41:20', '2015-08-12 23:41:20', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 23:41:20', '2015-08-12 23:41:20', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:41:20.000000', '2015-08-12 23:41:20', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:41:20.000000', '2015-08-12 23:41:20', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:41:20.000000', '2015-08-12 23:41:20', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:41:20.000000', '2015-08-12 23:41:20', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 23:41:20', '2015-08-12 23:41:20', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 23:41:20', '2015-08-12 23:41:20', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 23:41:20', '2015-08-12 23:41:20', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 23:41:20', '2015-08-12 23:41:20', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 23:41:20', '2015-08-12 23:41:20', 10484799, 183235640) Fixture Delete (0.6ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 23:41:20', '2015-08-12 23:41:20', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 23:41:20', '2015-08-12 23:41:20', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 23:41:20', '2015-08-12 23:41:20', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 23:41:20', '2015-08-12 23:41:20', 183235640, 816972181) Fixture Delete (0.8ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 23:41:20', '2015-08-12 23:41:20', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 LIMIT 1 [["id", 503297012]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (93.2ms)  (0.2ms) ROLLBACK  (2.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 23:42:29', '2015-08-12 23:42:29', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 23:42:29', '2015-08-12 23:42:29', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 23:42:29.000000', '2015-08-12', '2015-08-12 23:42:29', '2015-08-12 23:42:29', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 23:42:29', '2015-08-12 23:42:29', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 23:42:29', '2015-08-12 23:42:29', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 23:42:29.000000', '2015-08-12', '2015-08-12 23:42:29', '2015-08-12 23:42:29', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 23:42:29', '2015-08-12 23:42:29', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 23:42:29', '2015-08-12 23:42:29', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 23:42:29.000000', '2015-08-12', '2015-08-12 23:42:29', '2015-08-12 23:42:29', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 23:42:29', '2015-08-12 23:42:29', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 23:42:29.000000', '2015-08-12', '2015-08-12 23:42:29', '2015-08-12 23:42:29', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 23:42:29', '2015-08-12 23:42:29', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 23:42:29.000000', '2015-08-12', '2015-08-12 23:42:29', '2015-08-12 23:42:29', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 23:42:29', '2015-08-12 23:42:29', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:42:29.000000', '2015-08-12 23:42:29', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:42:29.000000', '2015-08-12 23:42:29', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:42:29.000000', '2015-08-12 23:42:29', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:42:29.000000', '2015-08-12 23:42:29', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 23:42:29', '2015-08-12 23:42:29', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 23:42:29', '2015-08-12 23:42:29', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 23:42:29', '2015-08-12 23:42:29', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 23:42:29', '2015-08-12 23:42:29', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 23:42:29', '2015-08-12 23:42:29', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 23:42:29', '2015-08-12 23:42:29', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 23:42:29', '2015-08-12 23:42:29', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 23:42:29', '2015-08-12 23:42:29', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 23:42:29', '2015-08-12 23:42:29', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 23:42:29', '2015-08-12 23:42:29', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (2.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 23:42:42', '2015-08-12 23:42:42', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 23:42:42', '2015-08-12 23:42:42', 809335042, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 23:42:42.000000', '2015-08-12', '2015-08-12 23:42:42', '2015-08-12 23:42:42', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 23:42:42', '2015-08-12 23:42:42', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 23:42:42', '2015-08-12 23:42:42', 53334230, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 23:42:42.000000', '2015-08-12', '2015-08-12 23:42:42', '2015-08-12 23:42:42', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 23:42:42', '2015-08-12 23:42:42', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 23:42:42', '2015-08-12 23:42:42', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 23:42:42.000000', '2015-08-12', '2015-08-12 23:42:42', '2015-08-12 23:42:42', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 23:42:42', '2015-08-12 23:42:42', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 23:42:42.000000', '2015-08-12', '2015-08-12 23:42:42', '2015-08-12 23:42:42', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 23:42:42', '2015-08-12 23:42:42', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 23:42:42.000000', '2015-08-12', '2015-08-12 23:42:42', '2015-08-12 23:42:42', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 23:42:42', '2015-08-12 23:42:42', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:42:42.000000', '2015-08-12 23:42:42', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:42:42.000000', '2015-08-12 23:42:42', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:42:42.000000', '2015-08-12 23:42:42', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:42:42.000000', '2015-08-12 23:42:42', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 23:42:42', '2015-08-12 23:42:42', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 23:42:42', '2015-08-12 23:42:42', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 23:42:42', '2015-08-12 23:42:42', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 23:42:42', '2015-08-12 23:42:42', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 23:42:42', '2015-08-12 23:42:42', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 23:42:42', '2015-08-12 23:42:42', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 23:42:42', '2015-08-12 23:42:42', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 23:42:42', '2015-08-12 23:42:42', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 23:42:42', '2015-08-12 23:42:42', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 23:42:42', '2015-08-12 23:42:42', 809335042, 'SocialNetworking::Goal', 809335042)  (1.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 LIMIT 1 [["id", 503297012]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.9ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (92.5ms)  (0.2ms) ROLLBACK  (2.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 23:43:35', '2015-08-12 23:43:35', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 23:43:35', '2015-08-12 23:43:35', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 23:43:35.000000', '2015-08-12', '2015-08-12 23:43:35', '2015-08-12 23:43:35', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 23:43:35', '2015-08-12 23:43:35', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 23:43:35', '2015-08-12 23:43:35', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 23:43:35.000000', '2015-08-12', '2015-08-12 23:43:35', '2015-08-12 23:43:35', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 23:43:35', '2015-08-12 23:43:35', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 23:43:35', '2015-08-12 23:43:35', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 23:43:35.000000', '2015-08-12', '2015-08-12 23:43:35', '2015-08-12 23:43:35', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 23:43:35', '2015-08-12 23:43:35', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 23:43:35.000000', '2015-08-12', '2015-08-12 23:43:35', '2015-08-12 23:43:35', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 23:43:35', '2015-08-12 23:43:35', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 23:43:35.000000', '2015-08-12', '2015-08-12 23:43:35', '2015-08-12 23:43:35', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 23:43:35', '2015-08-12 23:43:35', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:43:35.000000', '2015-08-12 23:43:35', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:43:35.000000', '2015-08-12 23:43:35', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:43:35.000000', '2015-08-12 23:43:35', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:43:35.000000', '2015-08-12 23:43:35', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 23:43:35', '2015-08-12 23:43:35', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 23:43:35', '2015-08-12 23:43:35', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 23:43:35', '2015-08-12 23:43:35', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 23:43:35', '2015-08-12 23:43:35', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 23:43:35', '2015-08-12 23:43:35', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 23:43:35', '2015-08-12 23:43:35', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 23:43:35', '2015-08-12 23:43:35', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 23:43:35', '2015-08-12 23:43:35', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 23:43:35', '2015-08-12 23:43:35', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 23:43:35', '2015-08-12 23:43:35', 809335042, 'SocialNetworking::Goal', 809335042)  (1.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 LIMIT 1 [["id", 503297012]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (58.4ms)  (0.2ms) ROLLBACK  (3.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 23:43:48', '2015-08-12 23:43:48', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 23:43:48', '2015-08-12 23:43:48', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 23:43:48.000000', '2015-08-12', '2015-08-12 23:43:48', '2015-08-12 23:43:48', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 23:43:48', '2015-08-12 23:43:48', 614371357, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 23:43:48', '2015-08-12 23:43:48', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 23:43:48.000000', '2015-08-12', '2015-08-12 23:43:48', '2015-08-12 23:43:48', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 23:43:48', '2015-08-12 23:43:48', 717544784, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 23:43:48', '2015-08-12 23:43:48', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 23:43:48.000000', '2015-08-12', '2015-08-12 23:43:48', '2015-08-12 23:43:48', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 23:43:48', '2015-08-12 23:43:48', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 23:43:48.000000', '2015-08-12', '2015-08-12 23:43:48', '2015-08-12 23:43:48', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 23:43:48', '2015-08-12 23:43:48', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 23:43:48.000000', '2015-08-12', '2015-08-12 23:43:48', '2015-08-12 23:43:48', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 23:43:48', '2015-08-12 23:43:48', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:43:48.000000', '2015-08-12 23:43:48', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:43:48.000000', '2015-08-12 23:43:48', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:43:48.000000', '2015-08-12 23:43:48', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:43:48.000000', '2015-08-12 23:43:48', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 23:43:48', '2015-08-12 23:43:48', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 23:43:48', '2015-08-12 23:43:48', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 23:43:48', '2015-08-12 23:43:48', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 23:43:48', '2015-08-12 23:43:48', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 23:43:48', '2015-08-12 23:43:48', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 23:43:48', '2015-08-12 23:43:48', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 23:43:48', '2015-08-12 23:43:48', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 23:43:48', '2015-08-12 23:43:48', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 23:43:48', '2015-08-12 23:43:48', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 23:43:48', '2015-08-12 23:43:48', 809335042, 'SocialNetworking::Goal', 809335042)  (1.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 LIMIT 1 [["id", 503297012]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (52.6ms)  (0.2ms) ROLLBACK  (2.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 23:43:59', '2015-08-12 23:43:59', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 23:43:59', '2015-08-12 23:43:59', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 23:43:59.000000', '2015-08-12', '2015-08-12 23:43:59', '2015-08-12 23:43:59', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 23:43:59', '2015-08-12 23:43:59', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 23:43:59', '2015-08-12 23:43:59', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 23:43:59.000000', '2015-08-12', '2015-08-12 23:43:59', '2015-08-12 23:43:59', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 23:43:59', '2015-08-12 23:43:59', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 23:43:59', '2015-08-12 23:43:59', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 23:43:59.000000', '2015-08-12', '2015-08-12 23:43:59', '2015-08-12 23:43:59', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 23:43:59', '2015-08-12 23:43:59', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 23:43:59.000000', '2015-08-12', '2015-08-12 23:43:59', '2015-08-12 23:43:59', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 23:43:59', '2015-08-12 23:43:59', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 23:43:59.000000', '2015-08-12', '2015-08-12 23:43:59', '2015-08-12 23:43:59', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 23:43:59', '2015-08-12 23:43:59', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:43:59.000000', '2015-08-12 23:43:59', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:43:59.000000', '2015-08-12 23:43:59', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:43:59.000000', '2015-08-12 23:43:59', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:43:59.000000', '2015-08-12 23:43:59', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 23:43:59', '2015-08-12 23:43:59', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 23:43:59', '2015-08-12 23:43:59', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 23:43:59', '2015-08-12 23:43:59', 465319974, 333620620) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 23:43:59', '2015-08-12 23:43:59', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 23:43:59', '2015-08-12 23:43:59', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 23:43:59', '2015-08-12 23:43:59', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 23:43:59', '2015-08-12 23:43:59', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 23:43:59', '2015-08-12 23:43:59', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 23:43:59', '2015-08-12 23:43:59', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 23:43:59', '2015-08-12 23:43:59', 809335042, 'SocialNetworking::Goal', 809335042)  (1.6ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 LIMIT 1 [["id", 503297012]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (49.9ms)  (0.2ms) ROLLBACK  (2.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 23:44:20', '2015-08-12 23:44:20', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 23:44:20', '2015-08-12 23:44:20', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 23:44:20.000000', '2015-08-12', '2015-08-12 23:44:20', '2015-08-12 23:44:20', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 23:44:20', '2015-08-12 23:44:20', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 23:44:20', '2015-08-12 23:44:20', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 23:44:20.000000', '2015-08-12', '2015-08-12 23:44:20', '2015-08-12 23:44:20', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 23:44:20', '2015-08-12 23:44:20', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 23:44:20', '2015-08-12 23:44:20', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 23:44:20.000000', '2015-08-12', '2015-08-12 23:44:20', '2015-08-12 23:44:20', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 23:44:20', '2015-08-12 23:44:20', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 23:44:20.000000', '2015-08-12', '2015-08-12 23:44:20', '2015-08-12 23:44:20', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 23:44:20', '2015-08-12 23:44:20', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 23:44:20.000000', '2015-08-12', '2015-08-12 23:44:20', '2015-08-12 23:44:20', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 23:44:20', '2015-08-12 23:44:20', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:44:20.000000', '2015-08-12 23:44:20', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:44:20.000000', '2015-08-12 23:44:20', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:44:20.000000', '2015-08-12 23:44:20', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:44:20.000000', '2015-08-12 23:44:20', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 23:44:20', '2015-08-12 23:44:20', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 23:44:20', '2015-08-12 23:44:20', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 23:44:20', '2015-08-12 23:44:20', 465319974, 333620620) Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 23:44:20', '2015-08-12 23:44:20', 45443486, 333620620) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 23:44:20', '2015-08-12 23:44:20', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 23:44:20', '2015-08-12 23:44:20', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 23:44:20', '2015-08-12 23:44:20', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 23:44:20', '2015-08-12 23:44:20', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 23:44:20', '2015-08-12 23:44:20', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 23:44:20', '2015-08-12 23:44:20', 809335042, 'SocialNetworking::Goal', 809335042)  (1.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 LIMIT 1 [["id", 503297012]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.3ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (91.1ms)  (0.2ms) ROLLBACK  (3.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 23:46:07', '2015-08-12 23:46:07', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 23:46:07', '2015-08-12 23:46:07', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 23:46:07.000000', '2015-08-12', '2015-08-12 23:46:07', '2015-08-12 23:46:07', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 23:46:07', '2015-08-12 23:46:07', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 23:46:07', '2015-08-12 23:46:07', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 23:46:07.000000', '2015-08-12', '2015-08-12 23:46:07', '2015-08-12 23:46:07', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 23:46:07', '2015-08-12 23:46:07', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 23:46:07', '2015-08-12 23:46:07', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 23:46:07.000000', '2015-08-12', '2015-08-12 23:46:07', '2015-08-12 23:46:07', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 23:46:07', '2015-08-12 23:46:07', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 23:46:07.000000', '2015-08-12', '2015-08-12 23:46:07', '2015-08-12 23:46:07', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 23:46:07', '2015-08-12 23:46:07', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 23:46:07.000000', '2015-08-12', '2015-08-12 23:46:07', '2015-08-12 23:46:07', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 23:46:07', '2015-08-12 23:46:07', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:46:07.000000', '2015-08-12 23:46:07', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:46:07.000000', '2015-08-12 23:46:07', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:46:07.000000', '2015-08-12 23:46:07', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:46:07.000000', '2015-08-12 23:46:07', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 23:46:07', '2015-08-12 23:46:07', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 23:46:07', '2015-08-12 23:46:07', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 23:46:07', '2015-08-12 23:46:07', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 23:46:07', '2015-08-12 23:46:07', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 23:46:07', '2015-08-12 23:46:07', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 23:46:07', '2015-08-12 23:46:07', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 23:46:07', '2015-08-12 23:46:07', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 23:46:07', '2015-08-12 23:46:07', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 23:46:07', '2015-08-12 23:46:07', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 23:46:07', '2015-08-12 23:46:07', 809335042, 'SocialNetworking::Goal', 809335042)  (1.5ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.6ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 LIMIT 1 [["id", 503297012]] Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (95.5ms)  (0.2ms) ROLLBACK  (2.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 23:46:41', '2015-08-12 23:46:41', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 23:46:41', '2015-08-12 23:46:41', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 23:46:41.000000', '2015-08-12', '2015-08-12 23:46:41', '2015-08-12 23:46:41', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 23:46:41', '2015-08-12 23:46:41', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 23:46:41', '2015-08-12 23:46:41', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 23:46:41.000000', '2015-08-12', '2015-08-12 23:46:41', '2015-08-12 23:46:41', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 23:46:41', '2015-08-12 23:46:41', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 23:46:41', '2015-08-12 23:46:41', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 23:46:41.000000', '2015-08-12', '2015-08-12 23:46:41', '2015-08-12 23:46:41', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 23:46:41', '2015-08-12 23:46:41', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 23:46:41.000000', '2015-08-12', '2015-08-12 23:46:41', '2015-08-12 23:46:41', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 23:46:41', '2015-08-12 23:46:41', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 23:46:41.000000', '2015-08-12', '2015-08-12 23:46:41', '2015-08-12 23:46:41', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 23:46:41', '2015-08-12 23:46:41', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:46:41.000000', '2015-08-12 23:46:41', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:46:41.000000', '2015-08-12 23:46:41', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:46:41.000000', '2015-08-12 23:46:41', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:46:41.000000', '2015-08-12 23:46:41', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 23:46:41', '2015-08-12 23:46:41', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 23:46:41', '2015-08-12 23:46:41', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 23:46:41', '2015-08-12 23:46:41', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 23:46:41', '2015-08-12 23:46:41', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 23:46:41', '2015-08-12 23:46:41', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 23:46:41', '2015-08-12 23:46:41', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 23:46:41', '2015-08-12 23:46:41', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 23:46:41', '2015-08-12 23:46:41', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 23:46:41', '2015-08-12 23:46:41', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 23:46:41', '2015-08-12 23:46:41', 809335042, 'SocialNetworking::Goal', 809335042)  (1.5ms) COMMIT  (2.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 LIMIT 1 [["id", 503297012]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (51.7ms)  (0.4ms) ROLLBACK  (1.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 23:46:59', '2015-08-12 23:46:59', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 23:46:59', '2015-08-12 23:46:59', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 23:46:59.000000', '2015-08-12', '2015-08-12 23:46:59', '2015-08-12 23:46:59', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 23:46:59', '2015-08-12 23:46:59', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 23:46:59', '2015-08-12 23:46:59', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 23:46:59.000000', '2015-08-12', '2015-08-12 23:46:59', '2015-08-12 23:46:59', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 23:46:59', '2015-08-12 23:46:59', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 23:46:59', '2015-08-12 23:46:59', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 23:46:59.000000', '2015-08-12', '2015-08-12 23:46:59', '2015-08-12 23:46:59', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 23:46:59', '2015-08-12 23:46:59', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 23:46:59.000000', '2015-08-12', '2015-08-12 23:46:59', '2015-08-12 23:46:59', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 23:46:59', '2015-08-12 23:46:59', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 23:46:59.000000', '2015-08-12', '2015-08-12 23:46:59', '2015-08-12 23:46:59', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 23:46:59', '2015-08-12 23:46:59', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:46:59.000000', '2015-08-12 23:46:59', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:46:59.000000', '2015-08-12 23:46:59', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:46:59.000000', '2015-08-12 23:46:59', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:46:59.000000', '2015-08-12 23:46:59', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 23:46:59', '2015-08-12 23:46:59', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 23:46:59', '2015-08-12 23:46:59', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 23:46:59', '2015-08-12 23:46:59', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 23:46:59', '2015-08-12 23:46:59', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 23:46:59', '2015-08-12 23:46:59', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 23:46:59', '2015-08-12 23:46:59', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 23:46:59', '2015-08-12 23:46:59', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 23:46:59', '2015-08-12 23:46:59', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 23:46:59', '2015-08-12 23:46:59', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 23:46:59', '2015-08-12 23:46:59', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 LIMIT 1 [["id", 503297012]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (1.0ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (89.6ms)  (0.3ms) ROLLBACK  (2.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 23:48:50', '2015-08-12 23:48:50', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 23:48:50', '2015-08-12 23:48:50', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 23:48:50.000000', '2015-08-12', '2015-08-12 23:48:50', '2015-08-12 23:48:50', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 23:48:50', '2015-08-12 23:48:50', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 23:48:50', '2015-08-12 23:48:50', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 23:48:50.000000', '2015-08-12', '2015-08-12 23:48:50', '2015-08-12 23:48:50', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 23:48:50', '2015-08-12 23:48:50', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 23:48:50', '2015-08-12 23:48:50', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 23:48:50.000000', '2015-08-12', '2015-08-12 23:48:50', '2015-08-12 23:48:50', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 23:48:50', '2015-08-12 23:48:50', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 23:48:50.000000', '2015-08-12', '2015-08-12 23:48:50', '2015-08-12 23:48:50', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 23:48:50', '2015-08-12 23:48:50', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 23:48:50.000000', '2015-08-12', '2015-08-12 23:48:50', '2015-08-12 23:48:50', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 23:48:50', '2015-08-12 23:48:50', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:48:50.000000', '2015-08-12 23:48:50', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:48:50.000000', '2015-08-12 23:48:50', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:48:50.000000', '2015-08-12 23:48:50', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:48:50.000000', '2015-08-12 23:48:50', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 23:48:50', '2015-08-12 23:48:50', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 23:48:50', '2015-08-12 23:48:50', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 23:48:50', '2015-08-12 23:48:50', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 23:48:50', '2015-08-12 23:48:50', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 23:48:50', '2015-08-12 23:48:50', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 23:48:50', '2015-08-12 23:48:50', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 23:48:50', '2015-08-12 23:48:50', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 23:48:50', '2015-08-12 23:48:50', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 23:48:50', '2015-08-12 23:48:50', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 23:48:50', '2015-08-12 23:48:50', 809335042, 'SocialNetworking::Goal', 809335042)  (1.9ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 LIMIT 1 [["id", 503297012]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (74.9ms)  (0.2ms) ROLLBACK  (2.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 23:49:26', '2015-08-12 23:49:26', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 23:49:26', '2015-08-12 23:49:26', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 23:49:26.000000', '2015-08-12', '2015-08-12 23:49:26', '2015-08-12 23:49:26', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 23:49:26', '2015-08-12 23:49:26', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 23:49:26', '2015-08-12 23:49:26', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 23:49:26.000000', '2015-08-12', '2015-08-12 23:49:26', '2015-08-12 23:49:26', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 23:49:26', '2015-08-12 23:49:26', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 23:49:26', '2015-08-12 23:49:26', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 23:49:26.000000', '2015-08-12', '2015-08-12 23:49:26', '2015-08-12 23:49:26', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 23:49:26', '2015-08-12 23:49:26', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 23:49:26.000000', '2015-08-12', '2015-08-12 23:49:26', '2015-08-12 23:49:26', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 23:49:26', '2015-08-12 23:49:26', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 23:49:26.000000', '2015-08-12', '2015-08-12 23:49:26', '2015-08-12 23:49:26', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 23:49:26', '2015-08-12 23:49:26', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:49:26.000000', '2015-08-12 23:49:26', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:49:26.000000', '2015-08-12 23:49:26', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:49:26.000000', '2015-08-12 23:49:26', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:49:26.000000', '2015-08-12 23:49:26', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 23:49:26', '2015-08-12 23:49:26', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 23:49:26', '2015-08-12 23:49:26', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 23:49:26', '2015-08-12 23:49:26', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 23:49:26', '2015-08-12 23:49:26', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 23:49:26', '2015-08-12 23:49:26', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 23:49:26', '2015-08-12 23:49:26', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 23:49:26', '2015-08-12 23:49:26', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 23:49:26', '2015-08-12 23:49:26', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 23:49:26', '2015-08-12 23:49:26', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 23:49:26', '2015-08-12 23:49:26', 809335042, 'SocialNetworking::Goal', 809335042)  (1.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (41.1ms)  (0.2ms) ROLLBACK  (4.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 23:50:18', '2015-08-12 23:50:18', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 23:50:18', '2015-08-12 23:50:18', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 23:50:18.000000', '2015-08-12', '2015-08-12 23:50:18', '2015-08-12 23:50:18', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 23:50:18', '2015-08-12 23:50:18', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 23:50:18', '2015-08-12 23:50:18', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 23:50:18.000000', '2015-08-12', '2015-08-12 23:50:18', '2015-08-12 23:50:18', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 23:50:18', '2015-08-12 23:50:18', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 23:50:18', '2015-08-12 23:50:18', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 23:50:18.000000', '2015-08-12', '2015-08-12 23:50:18', '2015-08-12 23:50:18', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 23:50:18', '2015-08-12 23:50:18', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 23:50:18.000000', '2015-08-12', '2015-08-12 23:50:18', '2015-08-12 23:50:18', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 23:50:18', '2015-08-12 23:50:18', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 23:50:18.000000', '2015-08-12', '2015-08-12 23:50:18', '2015-08-12 23:50:18', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 23:50:18', '2015-08-12 23:50:18', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:50:18.000000', '2015-08-12 23:50:18', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:50:18.000000', '2015-08-12 23:50:18', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:50:18.000000', '2015-08-12 23:50:18', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:50:18.000000', '2015-08-12 23:50:18', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 23:50:18', '2015-08-12 23:50:18', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 23:50:18', '2015-08-12 23:50:18', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 23:50:18', '2015-08-12 23:50:18', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 23:50:18', '2015-08-12 23:50:18', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 23:50:18', '2015-08-12 23:50:18', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.5ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 23:50:18', '2015-08-12 23:50:18', 781294868) Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 23:50:18', '2015-08-12 23:50:18', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 23:50:18', '2015-08-12 23:50:18', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 23:50:18', '2015-08-12 23:50:18', 183235640, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 23:50:18', '2015-08-12 23:50:18', 809335042, 'SocialNetworking::Goal', 809335042)  (1.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (48.3ms)  (0.1ms) ROLLBACK  (3.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-12 23:50:43', '2015-08-12 23:50:43', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-12', '2015-08-12 23:50:43', '2015-08-12 23:50:43', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-12 23:50:43.000000', '2015-08-12', '2015-08-12 23:50:43', '2015-08-12 23:50:43', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-12', '2015-08-12 23:50:43', '2015-08-12 23:50:43', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-12 23:50:43', '2015-08-12 23:50:43', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-12 23:50:43.000000', '2015-08-12', '2015-08-12 23:50:43', '2015-08-12 23:50:43', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-11', '2015-08-12 23:50:43', '2015-08-12 23:50:43', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-10', '2015-08-12 23:50:43', '2015-08-12 23:50:43', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-12 23:50:43.000000', '2015-08-12', '2015-08-12 23:50:43', '2015-08-12 23:50:43', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-12', '2015-08-12 23:50:43', '2015-08-12 23:50:43', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-12 23:50:43.000000', '2015-08-12', '2015-08-12 23:50:43', '2015-08-12 23:50:43', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-12', '2015-08-12 23:50:43', '2015-08-12 23:50:43', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-12 23:50:43.000000', '2015-08-12', '2015-08-12 23:50:43', '2015-08-12 23:50:43', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-12 23:50:43', '2015-08-12 23:50:43', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:50:43.000000', '2015-08-12 23:50:43', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:50:43.000000', '2015-08-12 23:50:43', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-11 23:50:43.000000', '2015-08-12 23:50:43', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 23:50:43.000000', '2015-08-12 23:50:43', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-12 23:50:43', '2015-08-12 23:50:43', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-12 23:50:43', '2015-08-12 23:50:43', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-12 23:50:43', '2015-08-12 23:50:43', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-12 23:50:43', '2015-08-12 23:50:43', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-12 23:50:43', '2015-08-12 23:50:43', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-12 23:50:43', '2015-08-12 23:50:43', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-12 23:50:43', '2015-08-12 23:50:43', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-12 23:50:43', '2015-08-12 23:50:43', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-12 23:50:43', '2015-08-12 23:50:43', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-12 23:50:43', '2015-08-12 23:50:43', 809335042, 'SocialNetworking::Goal', 809335042)  (1.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 LIMIT 1 [["id", 503297012]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (94.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (76.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (77.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (35.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (72.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.9ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (75.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 30ms (Views: 17.4ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (7.1ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-12 13:10:55.863329') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 23ms (Views: 1.3ms | ActiveRecord: 7.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (3.5ms) Sent mail to obama@ex.co (8.3ms) Date: Thu, 13 Aug 2015 08:10:56 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc976021036_b1163fc4e58601fc53cd@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 245.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.1ms) Date: Thu, 13 Aug 2015 08:10:56 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc976022ac7_b1163fc4e58601fc54b3@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Thu, 13 Aug 2015 08:10:56 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc976023f8b_b1163fc4e58601fc55e4@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.0ms  (0.1ms) ROLLBACK  (7.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (6.8ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (6.6ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 13:10:56', '2015-08-13 13:10:56', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 13:10:56', '2015-08-13 13:10:56', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 13:10:56.000000', '2015-08-13', '2015-08-13 13:10:56', '2015-08-13 13:10:56', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 13:10:56', '2015-08-13 13:10:56', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 13:10:56', '2015-08-13 13:10:56', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 13:10:56.000000', '2015-08-13', '2015-08-13 13:10:56', '2015-08-13 13:10:56', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 13:10:56', '2015-08-13 13:10:56', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 13:10:56', '2015-08-13 13:10:56', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 13:10:56.000000', '2015-08-13', '2015-08-13 13:10:56', '2015-08-13 13:10:56', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 13:10:56', '2015-08-13 13:10:56', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 13:10:56.000000', '2015-08-13', '2015-08-13 13:10:56', '2015-08-13 13:10:56', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 13:10:56', '2015-08-13 13:10:56', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 13:10:56.000000', '2015-08-13', '2015-08-13 13:10:56', '2015-08-13 13:10:56', 16804933, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 13:10:56', '2015-08-13 13:10:56', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:10:56.000000', '2015-08-13 13:10:56', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:10:56.000000', '2015-08-13 13:10:56', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:10:56.000000', '2015-08-13 13:10:56', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:10:56.000000', '2015-08-13 13:10:56', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 13:10:56', '2015-08-13 13:10:56', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 13:10:56', '2015-08-13 13:10:56', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 13:10:56', '2015-08-13 13:10:56', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 13:10:56', '2015-08-13 13:10:56', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 13:10:56', '2015-08-13 13:10:56', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 13:10:56', '2015-08-13 13:10:56', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 13:10:56', '2015-08-13 13:10:56', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 13:10:56', '2015-08-13 13:10:56', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 13:10:56', '2015-08-13 13:10:56', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 13:10:56', '2015-08-13 13:10:56', 809335042, 'SocialNetworking::Goal', 809335042)  (0.7ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:10:57 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.6ms) Completed 200 OK in 141ms (Views: 72.2ms | ActiveRecord: 5.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-13 08:10:57 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-13 08:10:57 -0500  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:10:57 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 16ms (Views: 1.8ms | ActiveRecord: 2.2ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-13 08:10:57 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-13 13:10:57.629339"], ["updated_at", "2015-08-13 13:10:57.635115"], ["id", 614371357]]  (5.8ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 19ms (Views: 0.3ms | ActiveRecord: 7.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:10:57 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 19ms (Views: 1.8ms | ActiveRecord: 2.4ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-13 08:10:57 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-27", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-27"], ["created_at", "2015-08-13 13:10:57.846085"], ["updated_at", "2015-08-13 13:10:57.846085"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:10:57.858804"], ["updated_at", "2015-08-13 13:10:57.858804"]]  (6.2ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 26ms (Views: 0.3ms | ActiveRecord: 10.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:10:57 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.2ms) Completed 200 OK in 21ms (Views: 3.2ms | ActiveRecord: 2.5ms) SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-13 08:10:58 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-10", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.8ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-10"], ["updated_at", "2015-08-13 13:10:58.093007"], ["id", 53334230]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:10:58 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 16ms (Views: 2.0ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-13 08:10:58 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-13 13:10:58.321736"], ["updated_at", "2015-08-13 13:10:58.324644"], ["id", 809335042]]  (0.6ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:10:58.329566"], ["updated_at", "2015-08-13 13:10:58.329566"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 3.5ms)  (0.2ms) ROLLBACK  (1.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 13:10:58', '2015-08-13 13:10:58', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 13:10:58.000000', '2015-08-13', '2015-08-13 13:10:58', '2015-08-13 13:10:58', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 13:10:58', '2015-08-13 13:10:58', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 13:10:58', '2015-08-13 13:10:58', 53334230, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 13:10:58.000000', '2015-08-13', '2015-08-13 13:10:58', '2015-08-13 13:10:58', 916373174, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 13:10:58', '2015-08-13 13:10:58', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 13:10:58', '2015-08-13 13:10:58', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 13:10:58.000000', '2015-08-13', '2015-08-13 13:10:58', '2015-08-13 13:10:58', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 13:10:58', '2015-08-13 13:10:58', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 13:10:58.000000', '2015-08-13', '2015-08-13 13:10:58', '2015-08-13 13:10:58', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 13:10:58', '2015-08-13 13:10:58', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 13:10:58.000000', '2015-08-13', '2015-08-13 13:10:58', '2015-08-13 13:10:58', 16804933, 816972181)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:10:58.397832"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:10:58.409358"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:10:58.455681"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:10:58.463491"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:10:58.466806"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 13:10:58.474099') AND ("social_networking_goals"."due_on" >= '2015-08-12 13:10:58.474151')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 13:10:58.479660') AND ("social_networking_goals"."due_on" >= '2015-08-12 13:10:58.479686') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 13:10:58.482113') AND ("social_networking_goals"."due_on" >= '2015-08-12 13:10:58.482129')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-13"], ["completed_at", "2015-08-11 00:00:00.000000"], ["created_at", "2015-08-13 13:10:58.485652"], ["updated_at", "2015-08-13 13:10:58.485652"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-13 13:10:58.490586"], ["updated_at", "2015-08-13 13:10:58.490586"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-14"], ["created_at", "2015-08-13 13:10:58.495773"], ["updated_at", "2015-08-13 13:10:58.495773"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (1.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 13:10:58', '2015-08-13 13:10:58', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 13:10:58', '2015-08-13 13:10:58', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:10:58.000000', '2015-08-13 13:10:58', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:10:58.000000', '2015-08-13 13:10:58', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:10:58.000000', '2015-08-13 13:10:58', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:10:58.000000', '2015-08-13 13:10:58', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 13:10:58', '2015-08-13 13:10:58', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 13:10:58', '2015-08-13 13:10:58', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 13:10:58', '2015-08-13 13:10:58', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 13:10:58', '2015-08-13 13:10:58', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 13:10:58', '2015-08-13 13:10:58', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 13:10:58', '2015-08-13 13:10:58', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 13:10:58', '2015-08-13 13:10:58', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 13:10:58', '2015-08-13 13:10:58', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 13:10:58', '2015-08-13 13:10:58', 183235640, 816972181) Fixture Delete (0.1ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 13:10:58', '2015-08-13 13:10:58', 809335042, 'SocialNetworking::Goal', 809335042)  (0.3ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:10:58.593896"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:10:58.599589"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:10:58.605567"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:10:58.608855"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 13:10:58.652094"], ["updated_at", "2015-08-13 13:10:58.652094"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 13:10:58.655231"], ["updated_at", "2015-08-13 13:10:58.655231"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:10:58.709255"], ["updated_at", "2015-08-13 13:10:58.709255"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 13:10:58.714300"], ["updated_at", "2015-08-13 13:10:58.714300"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 13:10:58.717146"], ["updated_at", "2015-08-13 13:10:58.717146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:10:58.726339"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999')  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:10:58.735000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:10:58.739341"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (70.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:10:58.859869"], ["updated_at", "2015-08-13 13:10:58.859869"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:10:58.863243"], ["updated_at", "2015-08-13 13:10:58.863243"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.3ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:10:58.872307"], ["updated_at", "2015-08-13 13:10:58.872307"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:10:58.875760"], ["updated_at", "2015-08-13 13:10:58.875760"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:10:58.887031"], ["updated_at", "2015-08-13 13:10:58.887031"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:10:58.889652"], ["updated_at", "2015-08-13 13:10:58.889652"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:10:58.895032"], ["updated_at", "2015-08-13 13:10:58.895032"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:10:58.897183"], ["updated_at", "2015-08-13 13:10:58.897183"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:10:58.942957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:10:58.950665"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:10:58.954303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (3.9ms) Date: Thu, 13 Aug 2015 08:10:59 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9763273d6_b1163fc4e58601fc5686@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 40.4ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.7ms) Date: Thu, 13 Aug 2015 08:10:59 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc97632960c_b1163fc4e58601fc5784@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 5.7ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 08:10:59 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc97632ac06_b1163fc4e58601fc589d@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.4ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.4ms) Date: Thu, 13 Aug 2015 08:10:59 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9763396b5_b1163fc4e58601fc5928@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 39.7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.1ms) Date: Thu, 13 Aug 2015 08:10:59 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc97633b348_b1163fc4e58601fc6020@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 6.5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.1ms) Date: Thu, 13 Aug 2015 08:10:59 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc97633cdee_b1163fc4e58601fc6160@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 4.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 19ms (Views: 12.9ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.6ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-12 13:14:21.653686') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 13ms (Views: 0.8ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (2.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.5ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 13:14:21', '2015-08-13 13:14:21', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 13:14:21', '2015-08-13 13:14:21', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 13:14:21.000000', '2015-08-13', '2015-08-13 13:14:21', '2015-08-13 13:14:21', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 13:14:21', '2015-08-13 13:14:21', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 13:14:21', '2015-08-13 13:14:21', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 13:14:21.000000', '2015-08-13', '2015-08-13 13:14:21', '2015-08-13 13:14:21', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 13:14:21', '2015-08-13 13:14:21', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 13:14:21', '2015-08-13 13:14:21', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 13:14:21.000000', '2015-08-13', '2015-08-13 13:14:21', '2015-08-13 13:14:21', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 13:14:21', '2015-08-13 13:14:21', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 13:14:21.000000', '2015-08-13', '2015-08-13 13:14:21', '2015-08-13 13:14:21', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 13:14:21', '2015-08-13 13:14:21', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 13:14:21.000000', '2015-08-13', '2015-08-13 13:14:21', '2015-08-13 13:14:21', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 13:14:21', '2015-08-13 13:14:21', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:14:21.000000', '2015-08-13 13:14:21', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:14:21.000000', '2015-08-13 13:14:21', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:14:21.000000', '2015-08-13 13:14:21', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:14:21.000000', '2015-08-13 13:14:21', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 13:14:21', '2015-08-13 13:14:21', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 13:14:21', '2015-08-13 13:14:21', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 13:14:21', '2015-08-13 13:14:21', 465319974, 333620620) Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 13:14:21', '2015-08-13 13:14:21', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 13:14:21', '2015-08-13 13:14:21', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 13:14:21', '2015-08-13 13:14:21', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 13:14:21', '2015-08-13 13:14:21', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 13:14:21', '2015-08-13 13:14:21', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 13:14:21', '2015-08-13 13:14:21', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 13:14:21', '2015-08-13 13:14:21', 809335042, 'SocialNetworking::Goal', 809335042)  (0.7ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:14:21.783108"], ["updated_at", "2015-08-13 13:14:21.783108"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:14:21.793070"], ["updated_at", "2015-08-13 13:14:21.793070"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:14:21.800082"], ["updated_at", "2015-08-13 13:14:21.800082"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:14:21.802333"], ["updated_at", "2015-08-13 13:14:21.802333"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:14:21.811181"], ["updated_at", "2015-08-13 13:14:21.811181"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:14:21.815111"], ["updated_at", "2015-08-13 13:14:21.815111"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.3ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:14:21.835253"], ["updated_at", "2015-08-13 13:14:21.835253"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:14:21.837618"], ["updated_at", "2015-08-13 13:14:21.837618"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (1.6ms) Sent mail to obama@ex.co (6.5ms) Date: Thu, 13 Aug 2015 08:14:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc982e1c520_b2b73fc55186020848057@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 200.2ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 08:14:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc982e1de5f_b2b73fc551860208481bb@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.1ms) Date: Thu, 13 Aug 2015 08:14:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc982e1f2a7_b2b73fc5518602084824a@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.2ms) Date: Thu, 13 Aug 2015 08:14:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc982e289c5_b2b73fc55186020848343@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 37.0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Thu, 13 Aug 2015 08:14:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc982e29b46_b2b73fc5518602084841b@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.4ms) Date: Thu, 13 Aug 2015 08:14:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc982e2ad20_b2b73fc551860208485b9@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 13:14:22.185419"], ["updated_at", "2015-08-13 13:14:22.185419"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 13:14:22.189294"], ["updated_at", "2015-08-13 13:14:22.189294"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 08:14:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc982e3cdc8_b2b73fc5518602084863f@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 43.6ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Thu, 13 Aug 2015 08:14:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc982e3e0c5_b2b73fc5518602084876f@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.1ms) Date: Thu, 13 Aug 2015 08:14:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc982e3f9f8_b2b73fc551860208488a@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 6.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:14:22.294291"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:14:22.307708"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:14:22.452813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:14:22.464017"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:14:22.467536"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-13 13:14:22.475412"], ["updated_at", "2015-08-13 13:14:22.475412"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-14"], ["created_at", "2015-08-13 13:14:22.481445"], ["updated_at", "2015-08-13 13:14:22.481445"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-13"], ["completed_at", "2015-08-11 00:00:00.000000"], ["created_at", "2015-08-13 13:14:22.488192"], ["updated_at", "2015-08-13 13:14:22.488192"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 13:14:22.492159') AND ("social_networking_goals"."due_on" >= '2015-08-12 13:14:22.492239') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 13:14:22.496058') AND ("social_networking_goals"."due_on" >= '2015-08-12 13:14:22.496084')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 13:14:22.498023') AND ("social_networking_goals"."due_on" >= '2015-08-12 13:14:22.498041')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:14:22.503215"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:14:22.505919"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:14:22.511310"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:14:22.516896"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:14:22.711448"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:14:22.715387"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:14:22.723050"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (68.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:14:22.829061"], ["updated_at", "2015-08-13 13:14:22.829061"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 13:14:22.833684"], ["updated_at", "2015-08-13 13:14:22.833684"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 13:14:22.836139"], ["updated_at", "2015-08-13 13:14:22.836139"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:14:23 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.5ms) Completed 200 OK in 70ms (Views: 48.6ms | ActiveRecord: 4.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-13 08:14:23 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-13 08:14:23 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-13 08:14:23 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-13 13:14:23.799947"], ["updated_at", "2015-08-13 13:14:23.803124"], ["id", 809335042]]  (2.2ms) COMMIT  (0.3ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:14:23.811054"], ["updated_at", "2015-08-13 13:14:23.811054"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 19ms (Views: 0.3ms | ActiveRecord: 5.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:14:23 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 16ms (Views: 2.6ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-13 08:14:24 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-13 13:14:24.067967"], ["updated_at", "2015-08-13 13:14:24.070558"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:14:24 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 16ms (Views: 2.0ms | ActiveRecord: 1.6ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:14:24 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.0ms) Completed 200 OK in 21ms (Views: 2.9ms | ActiveRecord: 2.2ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-13 08:14:24 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-10", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-10"], ["updated_at", "2015-08-13 13:14:24.396340"], ["id", 53334230]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:14:24 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 17ms (Views: 1.9ms | ActiveRecord: 2.2ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-13 08:14:24 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-27", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-27"], ["created_at", "2015-08-13 13:14:24.681099"], ["updated_at", "2015-08-13 13:14:24.681099"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:14:24.686709"], ["updated_at", "2015-08-13 13:14:24.686709"]]  (0.2ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 3.9ms)  (0.2ms) ROLLBACK  (1.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 13:14:24', '2015-08-13 13:14:24', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 13:14:24', '2015-08-13 13:14:24', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 13:14:24.000000', '2015-08-13', '2015-08-13 13:14:24', '2015-08-13 13:14:24', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 13:14:24', '2015-08-13 13:14:24', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 13:14:24', '2015-08-13 13:14:24', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 13:14:24.000000', '2015-08-13', '2015-08-13 13:14:24', '2015-08-13 13:14:24', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 13:14:24', '2015-08-13 13:14:24', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 13:14:24', '2015-08-13 13:14:24', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 13:14:24.000000', '2015-08-13', '2015-08-13 13:14:24', '2015-08-13 13:14:24', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 13:14:24', '2015-08-13 13:14:24', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 13:14:24.000000', '2015-08-13', '2015-08-13 13:14:24', '2015-08-13 13:14:24', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 13:14:24', '2015-08-13 13:14:24', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 13:14:24.000000', '2015-08-13', '2015-08-13 13:14:24', '2015-08-13 13:14:24', 16804933, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 13:14:24', '2015-08-13 13:14:24', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:14:24.000000', '2015-08-13 13:14:24', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:14:24.000000', '2015-08-13 13:14:24', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:14:24.000000', '2015-08-13 13:14:24', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:14:24.000000', '2015-08-13 13:14:24', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 13:14:24', '2015-08-13 13:14:24', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 13:14:24', '2015-08-13 13:14:24', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 13:14:24', '2015-08-13 13:14:24', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 13:14:24', '2015-08-13 13:14:24', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 13:14:24', '2015-08-13 13:14:24', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 13:14:24', '2015-08-13 13:14:24', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 13:14:24', '2015-08-13 13:14:24', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 13:14:24', '2015-08-13 13:14:24', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 13:14:24', '2015-08-13 13:14:24', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 13:14:24', '2015-08-13 13:14:24', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:14:24.843675"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:14:24.847480"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:14:24.855817"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (3.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 13:16:07', '2015-08-13 13:16:07', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 13:16:07', '2015-08-13 13:16:07', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 13:16:07.000000', '2015-08-13', '2015-08-13 13:16:07', '2015-08-13 13:16:07', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 13:16:07', '2015-08-13 13:16:07', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 13:16:07', '2015-08-13 13:16:07', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 13:16:07.000000', '2015-08-13', '2015-08-13 13:16:07', '2015-08-13 13:16:07', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 13:16:07', '2015-08-13 13:16:07', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 13:16:07', '2015-08-13 13:16:07', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 13:16:07.000000', '2015-08-13', '2015-08-13 13:16:07', '2015-08-13 13:16:07', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 13:16:07', '2015-08-13 13:16:07', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 13:16:07.000000', '2015-08-13', '2015-08-13 13:16:07', '2015-08-13 13:16:07', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 13:16:07', '2015-08-13 13:16:07', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 13:16:07.000000', '2015-08-13', '2015-08-13 13:16:07', '2015-08-13 13:16:07', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 13:16:07', '2015-08-13 13:16:07', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:16:07.000000', '2015-08-13 13:16:07', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:16:07.000000', '2015-08-13 13:16:07', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:16:07.000000', '2015-08-13 13:16:07', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:16:07.000000', '2015-08-13 13:16:07', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 13:16:07', '2015-08-13 13:16:07', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 13:16:07', '2015-08-13 13:16:07', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 13:16:07', '2015-08-13 13:16:07', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 13:16:07', '2015-08-13 13:16:07', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 13:16:07', '2015-08-13 13:16:07', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 13:16:07', '2015-08-13 13:16:07', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 13:16:07', '2015-08-13 13:16:07', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 13:16:07', '2015-08-13 13:16:07', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 13:16:07', '2015-08-13 13:16:07', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 13:16:07', '2015-08-13 13:16:07', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:16:07.784461"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999')  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:16:07.794017"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.2ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:16:07.797298"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 13:16:07.876788"], ["updated_at", "2015-08-13 13:16:07.876788"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 13:16:07.881007"], ["updated_at", "2015-08-13 13:16:07.881007"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:16:07.930412"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:16:07.938096"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:16:07.941343"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:16:08.059591"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:16:08.066858"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:16:08.069988"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 13:16:08.078933') AND ("social_networking_goals"."due_on" >= '2015-08-12 13:16:08.078971')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 13:16:08.081907') AND ("social_networking_goals"."due_on" >= '2015-08-12 13:16:08.081927') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 13:16:08.084607') AND ("social_networking_goals"."due_on" >= '2015-08-12 13:16:08.084658')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-13"], ["completed_at", "2015-08-11 00:00:00.000000"], ["created_at", "2015-08-13 13:16:08.088332"], ["updated_at", "2015-08-13 13:16:08.088332"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-13 13:16:08.092561"], ["updated_at", "2015-08-13 13:16:08.092561"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-14"], ["created_at", "2015-08-13 13:16:08.096418"], ["updated_at", "2015-08-13 13:16:08.096418"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (70.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:16:08.203479"], ["updated_at", "2015-08-13 13:16:08.203479"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:16:08.206106"], ["updated_at", "2015-08-13 13:16:08.206106"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:16:08.211333"], ["updated_at", "2015-08-13 13:16:08.211333"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:16:08.213398"], ["updated_at", "2015-08-13 13:16:08.213398"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:16:08.229687"], ["updated_at", "2015-08-13 13:16:08.229687"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:16:08.231954"], ["updated_at", "2015-08-13 13:16:08.231954"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:16:08.236838"], ["updated_at", "2015-08-13 13:16:08.236838"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:16:08.239327"], ["updated_at", "2015-08-13 13:16:08.239327"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (6.4ms) Date: Thu, 13 Aug 2015 08:16:08 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc989869b2c_b39e3fd7c0c6020085757@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 191.0ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.5ms) Date: Thu, 13 Aug 2015 08:16:08 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc98986bb1d_b39e3fd7c0c602008589f@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 5.3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Thu, 13 Aug 2015 08:16:08 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc98986d227_b39e3fd7c0c6020085966@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:16:09 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.4ms) Completed 200 OK in 65ms (Views: 42.8ms | ActiveRecord: 5.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-13 08:16:09 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-13 08:16:09 -0500 SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-13 08:16:09 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-13 13:16:09.462610"], ["updated_at", "2015-08-13 13:16:09.465414"], ["id", 809335042]]  (1.4ms) COMMIT  (0.3ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:16:09.471582"], ["updated_at", "2015-08-13 13:16:09.471582"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 4.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:16:09 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 19ms (Views: 1.7ms | ActiveRecord: 2.6ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-13 08:16:09 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-13 13:16:09.622460"], ["updated_at", "2015-08-13 13:16:09.624925"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:16:09 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.8ms | ActiveRecord: 1.5ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-13 08:16:09 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-27", "goal"=>{"description"=>"all of the things"}} Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-27"], ["created_at", "2015-08-13 13:16:09.847718"], ["updated_at", "2015-08-13 13:16:09.847718"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:16:09.853018"], ["updated_at", "2015-08-13 13:16:09.853018"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 3.8ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:16:09 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 17ms (Views: 2.1ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-13 08:16:10 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-10", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-10"], ["updated_at", "2015-08-13 13:16:10.088697"], ["id", 53334230]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 2.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:16:10 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 19ms (Views: 2.3ms | ActiveRecord: 2.4ms)  (0.1ms) ROLLBACK  (2.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 13:16:10', '2015-08-13 13:16:10', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 13:16:10', '2015-08-13 13:16:10', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 13:16:10.000000', '2015-08-13', '2015-08-13 13:16:10', '2015-08-13 13:16:10', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 13:16:10', '2015-08-13 13:16:10', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 13:16:10', '2015-08-13 13:16:10', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 13:16:10.000000', '2015-08-13', '2015-08-13 13:16:10', '2015-08-13 13:16:10', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 13:16:10', '2015-08-13 13:16:10', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 13:16:10', '2015-08-13 13:16:10', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 13:16:10.000000', '2015-08-13', '2015-08-13 13:16:10', '2015-08-13 13:16:10', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 13:16:10', '2015-08-13 13:16:10', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 13:16:10.000000', '2015-08-13', '2015-08-13 13:16:10', '2015-08-13 13:16:10', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 13:16:10', '2015-08-13 13:16:10', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 13:16:10.000000', '2015-08-13', '2015-08-13 13:16:10', '2015-08-13 13:16:10', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 13:16:10', '2015-08-13 13:16:10', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:16:10.000000', '2015-08-13 13:16:10', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:16:10.000000', '2015-08-13 13:16:10', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:16:10.000000', '2015-08-13 13:16:10', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:16:10.000000', '2015-08-13 13:16:10', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 13:16:10', '2015-08-13 13:16:10', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 13:16:10', '2015-08-13 13:16:10', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 13:16:10', '2015-08-13 13:16:10', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 13:16:10', '2015-08-13 13:16:10', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 13:16:10', '2015-08-13 13:16:10', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 13:16:10', '2015-08-13 13:16:10', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 13:16:10', '2015-08-13 13:16:10', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 13:16:10', '2015-08-13 13:16:10', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 13:16:10', '2015-08-13 13:16:10', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 13:16:10', '2015-08-13 13:16:10', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:16:10.492182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:16:10.500859"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.7ms) Sent mail to obama@ex.co (2.6ms) Date: Thu, 13 Aug 2015 08:16:10 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc989a9c8e1_b39e3fd7c0c6020086025@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 39.9ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.6ms) Date: Thu, 13 Aug 2015 08:16:10 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc989a9e494_b39e3fd7c0c602008611f@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 4.6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Thu, 13 Aug 2015 08:16:10 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc989a9f6f4_b39e3fd7c0c60200862bf@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:16:10.659205"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:16:10.664495"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:16:10.669098"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:16:10.671866"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:16:10.842504"], ["updated_at", "2015-08-13 13:16:10.842504"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 13:16:10.847388"], ["updated_at", "2015-08-13 13:16:10.847388"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 13:16:10.849979"], ["updated_at", "2015-08-13 13:16:10.849979"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.7ms) Sent mail to obama@ex.co (2.4ms) Date: Thu, 13 Aug 2015 08:16:10 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc989ad9b4e_b39e3fd7c0c60200863b7@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 39.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Thu, 13 Aug 2015 08:16:10 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc989adae66_b39e3fd7c0c6020086442@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Thu, 13 Aug 2015 08:16:10 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc989adbeb6_b39e3fd7c0c6020086541@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.1ms  (0.1ms) ROLLBACK  (3.4ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 13:18:50', '2015-08-13 13:18:50', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 13:18:50', '2015-08-13 13:18:50', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 13:18:50.000000', '2015-08-13', '2015-08-13 13:18:50', '2015-08-13 13:18:50', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 13:18:50', '2015-08-13 13:18:50', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 13:18:50', '2015-08-13 13:18:50', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 13:18:50.000000', '2015-08-13', '2015-08-13 13:18:50', '2015-08-13 13:18:50', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 13:18:50', '2015-08-13 13:18:50', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 13:18:50', '2015-08-13 13:18:50', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 13:18:50.000000', '2015-08-13', '2015-08-13 13:18:50', '2015-08-13 13:18:50', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 13:18:50', '2015-08-13 13:18:50', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 13:18:50.000000', '2015-08-13', '2015-08-13 13:18:50', '2015-08-13 13:18:50', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 13:18:50', '2015-08-13 13:18:50', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 13:18:50.000000', '2015-08-13', '2015-08-13 13:18:50', '2015-08-13 13:18:50', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 13:18:50', '2015-08-13 13:18:50', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:18:50.000000', '2015-08-13 13:18:50', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:18:50.000000', '2015-08-13 13:18:50', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:18:50.000000', '2015-08-13 13:18:50', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:18:50.000000', '2015-08-13 13:18:50', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 13:18:50', '2015-08-13 13:18:50', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 13:18:50', '2015-08-13 13:18:50', 369066228, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 13:18:50', '2015-08-13 13:18:50', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 13:18:50', '2015-08-13 13:18:50', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 13:18:50', '2015-08-13 13:18:50', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 13:18:50', '2015-08-13 13:18:50', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 13:18:50', '2015-08-13 13:18:50', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 13:18:50', '2015-08-13 13:18:50', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.5ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 13:18:50', '2015-08-13 13:18:50', 183235640, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 13:18:50', '2015-08-13 13:18:50', 809335042, 'SocialNetworking::Goal', 809335042)  (0.8ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.7ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:18:50.618388"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:18:50.628565"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:18:50.632424"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-13 13:18:50.666816"], ["updated_at", "2015-08-13 13:18:50.666816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-14"], ["created_at", "2015-08-13 13:18:50.670643"], ["updated_at", "2015-08-13 13:18:50.670643"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-13"], ["completed_at", "2015-08-11 00:00:00.000000"], ["created_at", "2015-08-13 13:18:50.675712"], ["updated_at", "2015-08-13 13:18:50.675712"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 13:18:50.680905') AND ("social_networking_goals"."due_on" >= '2015-08-12 13:18:50.680937') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 13:18:50.684271') AND ("social_networking_goals"."due_on" >= '2015-08-12 13:18:50.684287')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 13:18:50.685996') AND ("social_networking_goals"."due_on" >= '2015-08-12 13:18:50.686013')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:18:50.700637"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:18:50.705955"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:18:50.709460"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:18:50.716326"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (1.5ms) Sent mail to obama@ex.co (6.6ms) Date: Thu, 13 Aug 2015 08:18:51 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc993b12ecc_b4813febe146020022777@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 217.2ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 08:18:51 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc993b14acd_b4813febe1460200228d5@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.3ms) Date: Thu, 13 Aug 2015 08:18:51 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc993b16335_b4813febe1460200229db@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 4.9ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.6ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:18:51 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.5ms) Completed 200 OK in 98ms (Views: 71.2ms | ActiveRecord: 4.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-13 08:18:51 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-13 08:18:51 -0500  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:18:52 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 14ms (Views: 1.8ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-13 08:18:52 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-13 13:18:52.230742"], ["updated_at", "2015-08-13 13:18:52.233553"], ["id", 809335042]]  (1.3ms) COMMIT  (0.4ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:18:52.245485"], ["updated_at", "2015-08-13 13:18:52.245485"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 22ms (Views: 0.3ms | ActiveRecord: 3.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:18:52 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 14ms (Views: 1.9ms | ActiveRecord: 1.6ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-13 08:18:52 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-27", "goal"=>{"description"=>"all of the things"}} Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-27"], ["created_at", "2015-08-13 13:18:52.454130"], ["updated_at", "2015-08-13 13:18:52.454130"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:18:52.458638"], ["updated_at", "2015-08-13 13:18:52.458638"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:18:52 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 2.1ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-13 08:18:52 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-13 13:18:52.751593"], ["updated_at", "2015-08-13 13:18:52.755177"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:18:52 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 19ms (Views: 2.3ms | ActiveRecord: 2.3ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-13 08:18:53 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-10", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-10"], ["updated_at", "2015-08-13 13:18:53.124617"], ["id", 53334230]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 2.3ms)  (0.2ms) ROLLBACK  (1.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 13:18:53', '2015-08-13 13:18:53', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 13:18:53', '2015-08-13 13:18:53', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 13:18:53.000000', '2015-08-13', '2015-08-13 13:18:53', '2015-08-13 13:18:53', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 13:18:53', '2015-08-13 13:18:53', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 13:18:53', '2015-08-13 13:18:53', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 13:18:53.000000', '2015-08-13', '2015-08-13 13:18:53', '2015-08-13 13:18:53', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 13:18:53', '2015-08-13 13:18:53', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 13:18:53', '2015-08-13 13:18:53', 938656909, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 13:18:53.000000', '2015-08-13', '2015-08-13 13:18:53', '2015-08-13 13:18:53', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 13:18:53', '2015-08-13 13:18:53', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 13:18:53.000000', '2015-08-13', '2015-08-13 13:18:53', '2015-08-13 13:18:53', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 13:18:53', '2015-08-13 13:18:53', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 13:18:53.000000', '2015-08-13', '2015-08-13 13:18:53', '2015-08-13 13:18:53', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 13:18:53', '2015-08-13 13:18:53', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:18:53.000000', '2015-08-13 13:18:53', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:18:53.000000', '2015-08-13 13:18:53', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:18:53.000000', '2015-08-13 13:18:53', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:18:53.000000', '2015-08-13 13:18:53', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 13:18:53', '2015-08-13 13:18:53', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 13:18:53', '2015-08-13 13:18:53', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 13:18:53', '2015-08-13 13:18:53', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 13:18:53', '2015-08-13 13:18:53', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 13:18:53', '2015-08-13 13:18:53', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 13:18:53', '2015-08-13 13:18:53', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 13:18:53', '2015-08-13 13:18:53', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 13:18:53', '2015-08-13 13:18:53', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.4ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 13:18:53', '2015-08-13 13:18:53', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 13:18:53', '2015-08-13 13:18:53', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.5ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 13:18:53.282466"], ["updated_at", "2015-08-13 13:18:53.282466"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 13:18:53.286711"], ["updated_at", "2015-08-13 13:18:53.286711"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (3.0ms) Date: Thu, 13 Aug 2015 08:18:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc993d6be0d_b4813febe14602002308c@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 41.4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (3.1ms) Date: Thu, 13 Aug 2015 08:18:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc993d6d5a6_b4813febe1460200231bd@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 4.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 08:18:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc993d6e9a0_b4813febe1460200232ac@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-12 13:18:53.504112') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-12 13:18:53.517169') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:18:53.536835"], ["updated_at", "2015-08-13 13:18:53.536835"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:18:53.539420"], ["updated_at", "2015-08-13 13:18:53.539420"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.8ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:18:53.546632"], ["updated_at", "2015-08-13 13:18:53.546632"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:18:53.550320"], ["updated_at", "2015-08-13 13:18:53.550320"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:18:53.556218"], ["updated_at", "2015-08-13 13:18:53.556218"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:18:53.559065"], ["updated_at", "2015-08-13 13:18:53.559065"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:18:53.571134"], ["updated_at", "2015-08-13 13:18:53.571134"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:18:53.573335"], ["updated_at", "2015-08-13 13:18:53.573335"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.7ms) Sent mail to obama@ex.co (3.9ms) Date: Thu, 13 Aug 2015 08:18:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc993d989ac_b4813febe146020023398@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 47.7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.7ms) Date: Thu, 13 Aug 2015 08:18:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc993d9a060_b4813febe146020023467@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.9ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.5ms) Date: Thu, 13 Aug 2015 08:18:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc993d9b751_b4813febe146020023520@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 4.2ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.6ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (76.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:18:53.744514"], ["updated_at", "2015-08-13 13:18:53.744514"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 13:18:53.749017"], ["updated_at", "2015-08-13 13:18:53.749017"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 13:18:53.753126"], ["updated_at", "2015-08-13 13:18:53.753126"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:18:53.762690"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:18:53.778961"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:18:53.809179"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:18:53.812919"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:18:53.819572"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:18:53.828222"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:18:53.831702"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:18:53.838241"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (4.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 13:19:02', '2015-08-13 13:19:02', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 13:19:02', '2015-08-13 13:19:02', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 13:19:02.000000', '2015-08-13', '2015-08-13 13:19:02', '2015-08-13 13:19:02', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 13:19:02', '2015-08-13 13:19:02', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 13:19:02', '2015-08-13 13:19:02', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 13:19:02.000000', '2015-08-13', '2015-08-13 13:19:02', '2015-08-13 13:19:02', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 13:19:02', '2015-08-13 13:19:02', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 13:19:02', '2015-08-13 13:19:02', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 13:19:02.000000', '2015-08-13', '2015-08-13 13:19:02', '2015-08-13 13:19:02', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 13:19:02', '2015-08-13 13:19:02', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 13:19:02.000000', '2015-08-13', '2015-08-13 13:19:02', '2015-08-13 13:19:02', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 13:19:02', '2015-08-13 13:19:02', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 13:19:02.000000', '2015-08-13', '2015-08-13 13:19:02', '2015-08-13 13:19:02', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 13:19:02', '2015-08-13 13:19:02', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:19:02.000000', '2015-08-13 13:19:02', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:19:02.000000', '2015-08-13 13:19:02', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:19:02.000000', '2015-08-13 13:19:02', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:19:02.000000', '2015-08-13 13:19:02', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 13:19:02', '2015-08-13 13:19:02', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 13:19:02', '2015-08-13 13:19:02', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 13:19:02', '2015-08-13 13:19:02', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 13:19:02', '2015-08-13 13:19:02', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 13:19:02', '2015-08-13 13:19:02', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 13:19:02', '2015-08-13 13:19:02', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 13:19:02', '2015-08-13 13:19:02', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 13:19:02', '2015-08-13 13:19:02', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 13:19:02', '2015-08-13 13:19:02', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 13:19:02', '2015-08-13 13:19:02', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.6ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.6ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:02.375721"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:02.379910"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:02.388132"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-13"], ["completed_at", "2015-08-11 00:00:00.000000"], ["created_at", "2015-08-13 13:19:02.397670"], ["updated_at", "2015-08-13 13:19:02.397670"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-14"], ["created_at", "2015-08-13 13:19:02.402003"], ["updated_at", "2015-08-13 13:19:02.402003"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-13 13:19:02.405775"], ["updated_at", "2015-08-13 13:19:02.405775"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 13:19:02.410401') AND ("social_networking_goals"."due_on" >= '2015-08-12 13:19:02.410434') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 13:19:02.413986') AND ("social_networking_goals"."due_on" >= '2015-08-12 13:19:02.414014')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 13:19:02.415924') AND ("social_networking_goals"."due_on" >= '2015-08-12 13:19:02.415945')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 13:19:02.509761"], ["updated_at", "2015-08-13 13:19:02.509761"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 13:19:02.519080"], ["updated_at", "2015-08-13 13:19:02.519080"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:02.539782"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:02.543577"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:02.550510"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:19:03 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.8ms) Completed 200 OK in 77ms (Views: 49.4ms | ActiveRecord: 5.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-13 08:19:03 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-13 08:19:03 -0500 Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-13 08:19:03 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-27", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.9ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-27"], ["created_at", "2015-08-13 13:19:03.548190"], ["updated_at", "2015-08-13 13:19:03.548190"]]  (1.7ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:19:03.554326"], ["updated_at", "2015-08-13 13:19:03.554326"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 4.5ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:19:03 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 16ms (Views: 1.7ms | ActiveRecord: 2.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:19:03 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.6ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-13 08:19:03 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-13 13:19:03.860888"], ["updated_at", "2015-08-13 13:19:03.864256"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 3.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:19:03 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 27ms (Views: 2.0ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-13 08:19:04 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-10", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-10"], ["updated_at", "2015-08-13 13:19:04.191059"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:19:04 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 1.6ms) SocialNetworking::Goal Load (0.7ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-13 08:19:04 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-13 13:19:04.527812"], ["updated_at", "2015-08-13 13:19:04.530289"], ["id", 809335042]]  (1.5ms) COMMIT  (0.3ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:19:04.535617"], ["updated_at", "2015-08-13 13:19:04.535617"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 3.9ms)  (0.1ms) ROLLBACK  (1.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 13:19:04', '2015-08-13 13:19:04', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 13:19:04.000000', '2015-08-13', '2015-08-13 13:19:04', '2015-08-13 13:19:04', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 13:19:04', '2015-08-13 13:19:04', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 13:19:04', '2015-08-13 13:19:04', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 13:19:04.000000', '2015-08-13', '2015-08-13 13:19:04', '2015-08-13 13:19:04', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 13:19:04', '2015-08-13 13:19:04', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 13:19:04', '2015-08-13 13:19:04', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 13:19:04.000000', '2015-08-13', '2015-08-13 13:19:04', '2015-08-13 13:19:04', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 13:19:04', '2015-08-13 13:19:04', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 13:19:04.000000', '2015-08-13', '2015-08-13 13:19:04', '2015-08-13 13:19:04', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 13:19:04', '2015-08-13 13:19:04', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 13:19:04.000000', '2015-08-13', '2015-08-13 13:19:04', '2015-08-13 13:19:04', 16804933, 816972181)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:04.592127"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:04.596521"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:04.603655"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:04.609832"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:04.612533"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:04.617961"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:04.622357"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (1.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 13:19:04', '2015-08-13 13:19:04', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 13:19:04', '2015-08-13 13:19:04', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:19:04.000000', '2015-08-13 13:19:04', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:19:04.000000', '2015-08-13 13:19:04', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:19:04.000000', '2015-08-13 13:19:04', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:19:04.000000', '2015-08-13 13:19:04', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 13:19:04', '2015-08-13 13:19:04', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 13:19:04', '2015-08-13 13:19:04', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 13:19:04', '2015-08-13 13:19:04', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 13:19:04', '2015-08-13 13:19:04', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 13:19:04', '2015-08-13 13:19:04', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 13:19:04', '2015-08-13 13:19:04', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 13:19:04', '2015-08-13 13:19:04', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 13:19:04', '2015-08-13 13:19:04', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 13:19:04', '2015-08-13 13:19:04', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 13:19:04', '2015-08-13 13:19:04', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:19:04.694033"], ["updated_at", "2015-08-13 13:19:04.694033"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:19:04.696423"], ["updated_at", "2015-08-13 13:19:04.696423"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:19:04.703722"], ["updated_at", "2015-08-13 13:19:04.703722"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:19:04.706038"], ["updated_at", "2015-08-13 13:19:04.706038"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:19:04.710641"], ["updated_at", "2015-08-13 13:19:04.710641"]] SQL (0.1ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:19:04.712661"], ["updated_at", "2015-08-13 13:19:04.712661"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:19:04.725468"], ["updated_at", "2015-08-13 13:19:04.725468"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:19:04.728796"], ["updated_at", "2015-08-13 13:19:04.728796"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (12.0ms) Date: Thu, 13 Aug 2015 08:19:04 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9948e3452_b48f3ffaecc601fc46574@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 199.3ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.8ms) Date: Thu, 13 Aug 2015 08:19:04 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9948e52ac_b48f3ffaecc601fc46640@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 4.0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (4.0ms) Date: Thu, 13 Aug 2015 08:19:04 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9948e6f20_b48f3ffaecc601fc46793@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 5.4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.7ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (73.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-12 13:19:05.082876') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 12ms (Views: 7.8ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 08:19:05 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc994934ae3_b48f3ffaecc601fc46893@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 38.7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Thu, 13 Aug 2015 08:19:05 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc994935cde_b48f3ffaecc601fc4693a@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 08:19:05 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc994936f55_b48f3ffaecc601fc47025@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:05.334716"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:05.348535"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.4ms) Date: Thu, 13 Aug 2015 08:19:05 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc994973e21_b48f3ffaecc601fc47147@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 38.2ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Thu, 13 Aug 2015 08:19:05 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc99497517f_b48f3ffaecc601fc472ee@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 08:19:05 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9949763e2_b48f3ffaecc601fc473fb@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:19:05.489857"], ["updated_at", "2015-08-13 13:19:05.489857"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 13:19:05.495270"], ["updated_at", "2015-08-13 13:19:05.495270"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 13:19:05.498355"], ["updated_at", "2015-08-13 13:19:05.498355"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.6ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (77.7ms)  (0.2ms) ROLLBACK  (3.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 13:19:13', '2015-08-13 13:19:13', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 13:19:13', '2015-08-13 13:19:13', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 13:19:13.000000', '2015-08-13', '2015-08-13 13:19:13', '2015-08-13 13:19:13', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 13:19:13', '2015-08-13 13:19:13', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 13:19:13', '2015-08-13 13:19:13', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 13:19:13.000000', '2015-08-13', '2015-08-13 13:19:13', '2015-08-13 13:19:13', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 13:19:13', '2015-08-13 13:19:13', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 13:19:13', '2015-08-13 13:19:13', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 13:19:13.000000', '2015-08-13', '2015-08-13 13:19:13', '2015-08-13 13:19:13', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 13:19:13', '2015-08-13 13:19:13', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 13:19:13.000000', '2015-08-13', '2015-08-13 13:19:13', '2015-08-13 13:19:13', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 13:19:13', '2015-08-13 13:19:13', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 13:19:13.000000', '2015-08-13', '2015-08-13 13:19:13', '2015-08-13 13:19:13', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 13:19:13', '2015-08-13 13:19:13', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:19:13.000000', '2015-08-13 13:19:13', 503297012, 700141617, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:19:13.000000', '2015-08-13 13:19:13', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:19:13.000000', '2015-08-13 13:19:13', 931788854, 816972181, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:19:13.000000', '2015-08-13 13:19:13', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 13:19:13', '2015-08-13 13:19:13', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 13:19:13', '2015-08-13 13:19:13', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 13:19:13', '2015-08-13 13:19:13', 465319974, 333620620) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 13:19:13', '2015-08-13 13:19:13', 45443486, 333620620) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 13:19:13', '2015-08-13 13:19:13', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 13:19:13', '2015-08-13 13:19:13', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 13:19:13', '2015-08-13 13:19:13', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 13:19:13', '2015-08-13 13:19:13', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 13:19:13', '2015-08-13 13:19:13', 183235640, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 13:19:13', '2015-08-13 13:19:13', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:13.459706"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:13.466235"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:13.469016"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 13:19:13.473148') AND ("social_networking_goals"."due_on" >= '2015-08-12 13:19:13.473179')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 13:19:13.478469') AND ("social_networking_goals"."due_on" >= '2015-08-12 13:19:13.478499') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 13:19:13.481668') AND ("social_networking_goals"."due_on" >= '2015-08-12 13:19:13.481689')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-13"], ["completed_at", "2015-08-11 00:00:00.000000"], ["created_at", "2015-08-13 13:19:13.485498"], ["updated_at", "2015-08-13 13:19:13.485498"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-13 13:19:13.492445"], ["updated_at", "2015-08-13 13:19:13.492445"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-14"], ["created_at", "2015-08-13 13:19:13.496076"], ["updated_at", "2015-08-13 13:19:13.496076"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (6.5ms) Date: Thu, 13 Aug 2015 08:19:13 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9951afe42_b4fb3fd33c4602047383f@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 193.9ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Thu, 13 Aug 2015 08:19:13 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9951b16ca_b4fb3fd33c4602047394a@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.5ms) Date: Thu, 13 Aug 2015 08:19:13 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9951b2f72_b4fb3fd33c46020474088@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 5.5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:13.743831"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:13.750593"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:13.755383"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:13.895339"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:13.901238"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:13.903524"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:13.908357"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:19:13.914792"], ["updated_at", "2015-08-13 13:19:13.914792"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:19:13.917614"], ["updated_at", "2015-08-13 13:19:13.917614"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:19:13.923819"], ["updated_at", "2015-08-13 13:19:13.923819"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:19:13.926117"], ["updated_at", "2015-08-13 13:19:13.926117"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.1ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:19:13.942015"], ["updated_at", "2015-08-13 13:19:13.942015"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:19:13.944169"], ["updated_at", "2015-08-13 13:19:13.944169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:19:13.948746"], ["updated_at", "2015-08-13 13:19:13.948746"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:19:13.950817"], ["updated_at", "2015-08-13 13:19:13.950817"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:13.985931"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:13.995804"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:14.000049"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:19:14.099535"], ["updated_at", "2015-08-13 13:19:14.099535"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 13:19:14.104033"], ["updated_at", "2015-08-13 13:19:14.104033"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 13:19:14.106887"], ["updated_at", "2015-08-13 13:19:14.106887"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:14.148862"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:19:14.156909"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (3.2ms) Date: Thu, 13 Aug 2015 08:19:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9952372e8_b4fb3fd33c46020474146@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 41.5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 08:19:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc995238ae4_b4fb3fd33c460204742c8@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Thu, 13 Aug 2015 08:19:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc995239d8d_b4fb3fd33c46020474394@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 13:19:14.247639"], ["updated_at", "2015-08-13 13:19:14.247639"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 13:19:14.250263"], ["updated_at", "2015-08-13 13:19:14.250263"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.4ms) Date: Thu, 13 Aug 2015 08:19:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc995247e0a_b4fb3fd33c460204744fa@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 39.0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Thu, 13 Aug 2015 08:19:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9952490d2_b4fb3fd33c460204745be@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.7ms) Date: Thu, 13 Aug 2015 08:19:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc99524a9c1_b4fb3fd33c460204746b0@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 5.6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-12 13:19:14.315381') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-12 13:19:14.331439') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:19:14 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.2ms) Completed 200 OK in 70ms (Views: 48.7ms | ActiveRecord: 5.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-13 08:19:14 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-13 08:19:14 -0500 Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-13 08:19:15 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-27", "goal"=>{"description"=>"all of the things"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.9ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-27"], ["created_at", "2015-08-13 13:19:15.278220"], ["updated_at", "2015-08-13 13:19:15.278220"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:19:15.284210"], ["updated_at", "2015-08-13 13:19:15.284210"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 4.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:19:15 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 17ms (Views: 2.0ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-13 08:19:15 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-13 13:19:15.472242"], ["updated_at", "2015-08-13 13:19:15.475242"], ["id", 614371357]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 2.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:19:15 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.3ms) Completed 200 OK in 19ms (Views: 3.4ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-13 08:19:15 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-10", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-10"], ["updated_at", "2015-08-13 13:19:15.691105"], ["id", 53334230]]  (1.6ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:19:15 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:19:15 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.9ms) Completed 200 OK in 17ms (Views: 2.7ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-13 08:19:16 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-13 13:19:16.034285"], ["updated_at", "2015-08-13 13:19:16.037203"], ["id", 809335042]]  (0.4ms) COMMIT  (0.5ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:19:16.042031"], ["updated_at", "2015-08-13 13:19:16.042031"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.4ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (1.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 13:19:16', '2015-08-13 13:19:16', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (3.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 13:20:35', '2015-08-13 13:20:35', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 13:20:35', '2015-08-13 13:20:35', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 13:20:35.000000', '2015-08-13', '2015-08-13 13:20:35', '2015-08-13 13:20:35', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 13:20:35', '2015-08-13 13:20:35', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 13:20:35', '2015-08-13 13:20:35', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 13:20:35.000000', '2015-08-13', '2015-08-13 13:20:35', '2015-08-13 13:20:35', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 13:20:35', '2015-08-13 13:20:35', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 13:20:35', '2015-08-13 13:20:35', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 13:20:35.000000', '2015-08-13', '2015-08-13 13:20:35', '2015-08-13 13:20:35', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 13:20:35', '2015-08-13 13:20:35', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 13:20:35.000000', '2015-08-13', '2015-08-13 13:20:35', '2015-08-13 13:20:35', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 13:20:35', '2015-08-13 13:20:35', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 13:20:35.000000', '2015-08-13', '2015-08-13 13:20:35', '2015-08-13 13:20:35', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 13:20:35', '2015-08-13 13:20:35', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:20:35.000000', '2015-08-13 13:20:35', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:20:35.000000', '2015-08-13 13:20:35', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:20:35.000000', '2015-08-13 13:20:35', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:20:35.000000', '2015-08-13 13:20:35', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 13:20:35', '2015-08-13 13:20:35', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 13:20:35', '2015-08-13 13:20:35', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 13:20:35', '2015-08-13 13:20:35', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 13:20:35', '2015-08-13 13:20:35', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 13:20:35', '2015-08-13 13:20:35', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 13:20:35', '2015-08-13 13:20:35', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 13:20:35', '2015-08-13 13:20:35', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 13:20:35', '2015-08-13 13:20:35', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 13:20:35', '2015-08-13 13:20:35', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 13:20:35', '2015-08-13 13:20:35', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:20:35.721547"], ["updated_at", "2015-08-13 13:20:35.721547"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:20:35.731186"], ["updated_at", "2015-08-13 13:20:35.731186"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:20:35.737606"], ["updated_at", "2015-08-13 13:20:35.737606"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:20:35.739758"], ["updated_at", "2015-08-13 13:20:35.739758"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:20:35.768637"], ["updated_at", "2015-08-13 13:20:35.768637"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:20:35.771482"], ["updated_at", "2015-08-13 13:20:35.771482"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:20:35.779910"], ["updated_at", "2015-08-13 13:20:35.779910"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:20:35.783674"], ["updated_at", "2015-08-13 13:20:35.783674"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:20:35.989625"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:20:36.004279"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:20:36.007055"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 13:20:36.010270') AND ("social_networking_goals"."due_on" >= '2015-08-12 13:20:36.010298')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 13:20:36.012707') AND ("social_networking_goals"."due_on" >= '2015-08-12 13:20:36.012725') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 13:20:36.015032') AND ("social_networking_goals"."due_on" >= '2015-08-12 13:20:36.015050')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-13 13:20:36.018195"], ["updated_at", "2015-08-13 13:20:36.018195"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-13"], ["completed_at", "2015-08-11 00:00:00.000000"], ["created_at", "2015-08-13 13:20:36.021992"], ["updated_at", "2015-08-13 13:20:36.021992"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-14"], ["created_at", "2015-08-13 13:20:36.028672"], ["updated_at", "2015-08-13 13:20:36.028672"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.6ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (73.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (6.9ms) Date: Thu, 13 Aug 2015 08:20:36 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc99a46a1a8_b5f13fde85060204148c2@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 206.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 08:20:36 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc99a46bc0b_b5f13fde85060204149f6@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 08:20:36 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc99a46ce4e_b5f13fde850602041504d@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:20:36.455965"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:20:36.464854"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (2.4ms) Date: Thu, 13 Aug 2015 08:20:36 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc99a482510_b5f13fde85060204151e6@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 39.3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.6ms) Date: Thu, 13 Aug 2015 08:20:36 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc99a4838a0_b5f13fde85060204152fb@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Thu, 13 Aug 2015 08:20:36 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc99a484cda_b5f13fde850602041533d@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:20:36.549535"], ["updated_at", "2015-08-13 13:20:36.549535"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 13:20:36.555739"], ["updated_at", "2015-08-13 13:20:36.555739"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 13:20:36.558684"], ["updated_at", "2015-08-13 13:20:36.558684"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 10ms (Views: 6.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML SocialNetworking::Nudge Load (0.7ms) SELECT "social_networking_nudges"."initiator_id" FROM "social_networking_nudges" WHERE "social_networking_nudges"."recipient_id" = $1 AND (created_at > '2015-08-12 13:20:36.625298') GROUP BY initiator_id [["recipient_id", 1]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 08:20:36 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc99a4a3f2b_b5f13fde850602041541e@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 40.7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.8ms) Date: Thu, 13 Aug 2015 08:20:36 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc99a4a5d37_b5f13fde850602041556d@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 5.9ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 08:20:36 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc99a4a7254_b5f13fde8506020415691@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 13:20:36.716487"], ["updated_at", "2015-08-13 13:20:36.716487"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 13:20:36.719194"], ["updated_at", "2015-08-13 13:20:36.719194"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:20:36.740994"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:20:36.746712"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:20:36.753066"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:20:36.755648"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:20:36.870724"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:20:36.878781"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:20:36.881818"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:20:37 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.3ms) Completed 200 OK in 86ms (Views: 63.8ms | ActiveRecord: 5.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-13 08:20:37 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-13 08:20:37 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-13 08:20:37 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-13 13:20:37.822714"], ["updated_at", "2015-08-13 13:20:37.825473"], ["id", 809335042]]  (1.4ms) COMMIT  (0.3ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:20:37.831549"], ["updated_at", "2015-08-13 13:20:37.831549"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 4.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:20:37 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 2.0ms | ActiveRecord: 2.3ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-13 08:20:38 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-10", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-10"], ["updated_at", "2015-08-13 13:20:38.039593"], ["id", 53334230]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:20:38 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 14ms (Views: 1.8ms | ActiveRecord: 1.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-13 08:20:38 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-27", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-27"], ["created_at", "2015-08-13 13:20:38.279850"], ["updated_at", "2015-08-13 13:20:38.279850"]]  (1.6ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:20:38.285665"], ["updated_at", "2015-08-13 13:20:38.285665"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 4.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:20:38 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 15ms (Views: 2.1ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:20:38 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-13 08:20:38 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-13 13:20:38.625265"], ["updated_at", "2015-08-13 13:20:38.627849"], ["id", 614371357]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 3.5ms)  (0.2ms) ROLLBACK  (1.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 13:20:38', '2015-08-13 13:20:38', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 13:20:38.000000', '2015-08-13', '2015-08-13 13:20:38', '2015-08-13 13:20:38', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 13:20:38', '2015-08-13 13:20:38', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 13:20:38', '2015-08-13 13:20:38', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 13:20:38.000000', '2015-08-13', '2015-08-13 13:20:38', '2015-08-13 13:20:38', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 13:20:38', '2015-08-13 13:20:38', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 13:20:38', '2015-08-13 13:20:38', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 13:20:38.000000', '2015-08-13', '2015-08-13 13:20:38', '2015-08-13 13:20:38', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 13:20:38', '2015-08-13 13:20:38', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 13:20:38.000000', '2015-08-13', '2015-08-13 13:20:38', '2015-08-13 13:20:38', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 13:20:38', '2015-08-13 13:20:38', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 13:20:38.000000', '2015-08-13', '2015-08-13 13:20:38', '2015-08-13 13:20:38', 16804933, 816972181)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:20:38.689175"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:20:38.696748"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:20:38.701146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (1.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 13:20:38', '2015-08-13 13:20:38', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 13:20:38', '2015-08-13 13:20:38', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:20:38.000000', '2015-08-13 13:20:38', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:20:38.000000', '2015-08-13 13:20:38', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:20:38.000000', '2015-08-13 13:20:38', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:20:38.000000', '2015-08-13 13:20:38', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 13:20:38', '2015-08-13 13:20:38', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 13:20:38', '2015-08-13 13:20:38', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 13:20:38', '2015-08-13 13:20:38', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 13:20:38', '2015-08-13 13:20:38', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 13:20:38', '2015-08-13 13:20:38', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 13:20:38', '2015-08-13 13:20:38', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 13:20:38', '2015-08-13 13:20:38', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 13:20:38', '2015-08-13 13:20:38', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 13:20:38', '2015-08-13 13:20:38', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 13:20:38', '2015-08-13 13:20:38', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.8ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (77.9ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (71.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (71.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (73.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (73.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 42ms (Views: 11.8ms | ActiveRecord: 8.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 29ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 40ms (Views: 11.5ms | ActiveRecord: 5.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (3.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.5ms) COMMIT  (1.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:26:06.416131"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:26:06.423633"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:26:06.428066"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-13 13:26:06.438879"], ["updated_at", "2015-08-13 13:26:06.438879"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-14"], ["created_at", "2015-08-13 13:26:06.443846"], ["updated_at", "2015-08-13 13:26:06.443846"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-13"], ["completed_at", "2015-08-11 00:00:00.000000"], ["created_at", "2015-08-13 13:26:06.448788"], ["updated_at", "2015-08-13 13:26:06.448788"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 13:26:06', '2015-08-13 13:26:06', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 13:26:06', '2015-08-13 13:26:06', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 13:26:06.000000', '2015-08-13', '2015-08-13 13:26:06', '2015-08-13 13:26:06', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 13:26:06', '2015-08-13 13:26:06', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 13:26:06', '2015-08-13 13:26:06', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 13:26:06.000000', '2015-08-13', '2015-08-13 13:26:06', '2015-08-13 13:26:06', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 13:26:06', '2015-08-13 13:26:06', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 13:26:06', '2015-08-13 13:26:06', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 13:26:06.000000', '2015-08-13', '2015-08-13 13:26:06', '2015-08-13 13:26:06', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 13:26:06', '2015-08-13 13:26:06', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 13:26:06.000000', '2015-08-13', '2015-08-13 13:26:06', '2015-08-13 13:26:06', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 13:26:06', '2015-08-13 13:26:06', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 13:26:06.000000', '2015-08-13', '2015-08-13 13:26:06', '2015-08-13 13:26:06', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 13:26:06', '2015-08-13 13:26:06', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:26:06.000000', '2015-08-13 13:26:06', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:26:06.000000', '2015-08-13 13:26:06', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:26:06.000000', '2015-08-13 13:26:06', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:26:06.000000', '2015-08-13 13:26:06', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 13:26:06', '2015-08-13 13:26:06', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 13:26:06', '2015-08-13 13:26:06', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 13:26:06', '2015-08-13 13:26:06', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 13:26:06', '2015-08-13 13:26:06', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 13:26:06', '2015-08-13 13:26:06', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 13:26:06', '2015-08-13 13:26:06', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 13:26:06', '2015-08-13 13:26:06', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 13:26:06', '2015-08-13 13:26:06', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 13:26:06', '2015-08-13 13:26:06', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 13:26:06', '2015-08-13 13:26:06', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 13:26:06.525257') AND ("social_networking_goals"."due_on" >= '2015-08-12 13:26:06.525292') SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 13:26:06.531620') AND ("social_networking_goals"."due_on" >= '2015-08-12 13:26:06.531642')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 13:26:06.534445') AND ("social_networking_goals"."due_on" >= '2015-08-12 13:26:06.534493')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 22ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:26:06.645617"], ["updated_at", "2015-08-13 13:26:06.645617"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:26:06.653902"], ["updated_at", "2015-08-13 13:26:06.653902"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:26:06.659622"], ["updated_at", "2015-08-13 13:26:06.659622"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:26:06.661644"], ["updated_at", "2015-08-13 13:26:06.661644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:26:06.666240"], ["updated_at", "2015-08-13 13:26:06.666240"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:26:06.668738"], ["updated_at", "2015-08-13 13:26:06.668738"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:26:06.685003"], ["updated_at", "2015-08-13 13:26:06.685003"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:26:06.687125"], ["updated_at", "2015-08-13 13:26:06.687125"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:26:06.772368"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:26:06.789023"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 9ms (Views: 8.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:26:07 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.3ms) Completed 200 OK in 110ms (Views: 89.1ms | ActiveRecord: 4.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-13 08:26:07 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-13 08:26:07 -0500  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:26:07 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 20ms (Views: 2.0ms | ActiveRecord: 2.4ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-13 08:26:07 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-13 13:26:07.950865"], ["updated_at", "2015-08-13 13:26:07.953610"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:26:07 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 14ms (Views: 1.9ms | ActiveRecord: 1.6ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-13 08:26:08 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-13 13:26:08.112431"], ["updated_at", "2015-08-13 13:26:08.115076"], ["id", 809335042]]  (1.5ms) COMMIT  (0.3ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:26:08.121048"], ["updated_at", "2015-08-13 13:26:08.121048"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 4.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:26:08 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 14ms (Views: 2.1ms | ActiveRecord: 1.6ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-13 08:26:08 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-10", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-10"], ["updated_at", "2015-08-13 13:26:08.315545"], ["id", 53334230]]  (1.6ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:26:08 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 14ms (Views: 1.8ms | ActiveRecord: 1.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-13 08:26:08 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-27", "goal"=>{"description"=>"all of the things"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-27"], ["created_at", "2015-08-13 13:26:08.594287"], ["updated_at", "2015-08-13 13:26:08.594287"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:26:08.597948"], ["updated_at", "2015-08-13 13:26:08.597948"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 2.5ms)  (0.2ms) ROLLBACK  (1.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 13:26:08', '2015-08-13 13:26:08', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 13:26:08', '2015-08-13 13:26:08', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 13:26:08.000000', '2015-08-13', '2015-08-13 13:26:08', '2015-08-13 13:26:08', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 13:26:08', '2015-08-13 13:26:08', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 13:26:08', '2015-08-13 13:26:08', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 13:26:08.000000', '2015-08-13', '2015-08-13 13:26:08', '2015-08-13 13:26:08', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 13:26:08', '2015-08-13 13:26:08', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 13:26:08', '2015-08-13 13:26:08', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 13:26:08.000000', '2015-08-13', '2015-08-13 13:26:08', '2015-08-13 13:26:08', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 13:26:08', '2015-08-13 13:26:08', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 13:26:08.000000', '2015-08-13', '2015-08-13 13:26:08', '2015-08-13 13:26:08', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 13:26:08', '2015-08-13 13:26:08', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 13:26:08.000000', '2015-08-13', '2015-08-13 13:26:08', '2015-08-13 13:26:08', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 13:26:08', '2015-08-13 13:26:08', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:26:08.000000', '2015-08-13 13:26:08', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:26:08.000000', '2015-08-13 13:26:08', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:26:08.000000', '2015-08-13 13:26:08', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:26:08.000000', '2015-08-13 13:26:08', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 13:26:08', '2015-08-13 13:26:08', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 13:26:08', '2015-08-13 13:26:08', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 13:26:08', '2015-08-13 13:26:08', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 13:26:08', '2015-08-13 13:26:08', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 13:26:08', '2015-08-13 13:26:08', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 13:26:08', '2015-08-13 13:26:08', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 13:26:08', '2015-08-13 13:26:08', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 13:26:08', '2015-08-13 13:26:08', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.5ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 13:26:08', '2015-08-13 13:26:08', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 13:26:08', '2015-08-13 13:26:08', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 13:26:08.731109"], ["updated_at", "2015-08-13 13:26:08.731109"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 13:26:08.734258"], ["updated_at", "2015-08-13 13:26:08.734258"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:26:08.769939"], ["updated_at", "2015-08-13 13:26:08.769939"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 13:26:08.774590"], ["updated_at", "2015-08-13 13:26:08.774590"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 13:26:08.777857"], ["updated_at", "2015-08-13 13:26:08.777857"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:26:08.786107"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:26:08.790010"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:26:08.798441"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (8.0ms) Date: Thu, 13 Aug 2015 08:26:09 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9af1fd78_b8b13fd1e586020845640@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 212.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Thu, 13 Aug 2015 08:26:09 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9af111750_b8b13fd1e586020845735@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 08:26:09 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9af112a5f_b8b13fd1e5860208458d3@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.6ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (81.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (2.9ms) Date: Thu, 13 Aug 2015 08:26:09 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9af140707_b8b13fd1e58602084597e@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 43.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Thu, 13 Aug 2015 08:26:09 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9af141a3e_b8b13fd1e586020846086@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.4ms) Date: Thu, 13 Aug 2015 08:26:09 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9af142d33_b8b13fd1e58602084613@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:26:09.393895"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:26:09.397472"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:26:09.402214"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:26:09.407287"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 08:26:09 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9af16d8e9_b8b13fd1e58602084629a@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 39.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.0ms) Date: Thu, 13 Aug 2015 08:26:09 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9af16ea8a_b8b13fd1e5860208463df@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.0ms) Date: Thu, 13 Aug 2015 08:26:09 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9af16fa88_b8b13fd1e5860208464bc@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.0ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:26:09.471102"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:26:09.474902"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (1.0ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:26:09.483879"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (1.4ms) Sent mail to obama@ex.co (9.1ms) Date: Thu, 13 Aug 2015 08:27:42 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9b4ec6693_b93d3fd805460204375ca@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 245.2ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.2ms) Date: Thu, 13 Aug 2015 08:27:42 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9b4ec8aba_b93d3fd805460204376d7@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.0ms) Date: Thu, 13 Aug 2015 08:27:42 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9b4ec9fdd_b93d3fd80546020437789@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 4.4ms  (0.2ms) ROLLBACK  (2.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 13:27:42', '2015-08-13 13:27:42', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.9ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (1.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:27:42.893665"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:27:42.897220"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:27:42.904664"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 13:27:42', '2015-08-13 13:27:42', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 13:27:42.000000', '2015-08-13', '2015-08-13 13:27:42', '2015-08-13 13:27:42', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 13:27:42', '2015-08-13 13:27:42', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 13:27:42', '2015-08-13 13:27:42', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 13:27:42.000000', '2015-08-13', '2015-08-13 13:27:42', '2015-08-13 13:27:42', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 13:27:42', '2015-08-13 13:27:42', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 13:27:42', '2015-08-13 13:27:42', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 13:27:42.000000', '2015-08-13', '2015-08-13 13:27:42', '2015-08-13 13:27:42', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 13:27:42', '2015-08-13 13:27:42', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 13:27:42.000000', '2015-08-13', '2015-08-13 13:27:42', '2015-08-13 13:27:42', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 13:27:42', '2015-08-13 13:27:42', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 13:27:42.000000', '2015-08-13', '2015-08-13 13:27:42', '2015-08-13 13:27:42', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 13:27:42', '2015-08-13 13:27:42', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:27:42.000000', '2015-08-13 13:27:42', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:27:42.000000', '2015-08-13 13:27:42', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:27:42.000000', '2015-08-13 13:27:42', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:27:42.000000', '2015-08-13 13:27:42', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 13:27:42', '2015-08-13 13:27:42', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 13:27:42', '2015-08-13 13:27:42', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 13:27:42', '2015-08-13 13:27:42', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 13:27:42', '2015-08-13 13:27:42', 45443486, 333620620) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 13:27:42', '2015-08-13 13:27:42', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 13:27:42', '2015-08-13 13:27:42', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 13:27:42', '2015-08-13 13:27:42', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 13:27:42', '2015-08-13 13:27:42', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 13:27:42', '2015-08-13 13:27:42', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 13:27:42', '2015-08-13 13:27:42', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 13:27:42.975896') AND ("social_networking_goals"."due_on" >= '2015-08-12 13:27:42.975931')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 13:27:42.980761') AND ("social_networking_goals"."due_on" >= '2015-08-12 13:27:42.980786') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 13:27:42.983712') AND ("social_networking_goals"."due_on" >= '2015-08-12 13:27:42.983729')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-14"], ["created_at", "2015-08-13 13:27:42.987428"], ["updated_at", "2015-08-13 13:27:42.987428"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-13 13:27:42.991483"], ["updated_at", "2015-08-13 13:27:42.991483"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-13"], ["completed_at", "2015-08-11 00:00:00.000000"], ["created_at", "2015-08-13 13:27:42.995174"], ["updated_at", "2015-08-13 13:27:42.995174"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.6ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (72.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 13:27:43.264227"], ["updated_at", "2015-08-13 13:27:43.264227"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 13:27:43.268328"], ["updated_at", "2015-08-13 13:27:43.268328"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:27:43.397344"], ["updated_at", "2015-08-13 13:27:43.397344"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 13:27:43.401680"], ["updated_at", "2015-08-13 13:27:43.401680"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 13:27:43.404272"], ["updated_at", "2015-08-13 13:27:43.404272"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 08:27:43 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9b4f7d3c9_b93d3fd805460204378e3@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 40.2ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Thu, 13 Aug 2015 08:27:43 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9b4f7e6b3_b93d3fd8054602043796f@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Thu, 13 Aug 2015 08:27:43 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9b4f7f77c_b93d3fd80546020438099@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.1ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:27:43.531180"], ["updated_at", "2015-08-13 13:27:43.531180"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:27:43.536108"], ["updated_at", "2015-08-13 13:27:43.536108"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:27:43.542028"], ["updated_at", "2015-08-13 13:27:43.542028"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:27:43.544265"], ["updated_at", "2015-08-13 13:27:43.544265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.1ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:27:43.560758"], ["updated_at", "2015-08-13 13:27:43.560758"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:27:43.563040"], ["updated_at", "2015-08-13 13:27:43.563040"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 13:27:43.569983"], ["updated_at", "2015-08-13 13:27:43.569983"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:27:43.573241"], ["updated_at", "2015-08-13 13:27:43.573241"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:27:43.593797"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:27:43.601150"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:27:43.604395"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:27:43.609493"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:27:43.614960"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:27:43.620774"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:27:43.623365"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:27:44 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.7ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.4ms) Completed 200 OK in 94ms (Views: 66.5ms | ActiveRecord: 6.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-13 08:27:44 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-13 08:27:44 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-13 08:27:44 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.9ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-13 13:27:44.563413"], ["updated_at", "2015-08-13 13:27:44.566917"], ["id", 809335042]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:27:44.573722"], ["updated_at", "2015-08-13 13:27:44.573722"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 19ms (Views: 0.3ms | ActiveRecord: 4.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:27:44 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 15ms (Views: 2.2ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-13 08:27:44 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-10", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-10"], ["updated_at", "2015-08-13 13:27:44.769772"], ["id", 53334230]]  (1.6ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:27:44 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 15ms (Views: 2.1ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-13 08:27:44 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-13 13:27:44.960504"], ["updated_at", "2015-08-13 13:27:44.963194"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:27:45 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 14ms (Views: 2.0ms | ActiveRecord: 1.5ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-13 08:27:45 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-27", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-27"], ["created_at", "2015-08-13 13:27:45.169857"], ["updated_at", "2015-08-13 13:27:45.169857"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-13 13:27:45.174845"], ["updated_at", "2015-08-13 13:27:45.174845"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 3.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 08:27:45 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 16ms (Views: 2.2ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (2.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 13:27:45', '2015-08-13 13:27:45', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 13:27:45', '2015-08-13 13:27:45', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 13:27:45.000000', '2015-08-13', '2015-08-13 13:27:45', '2015-08-13 13:27:45', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 13:27:45', '2015-08-13 13:27:45', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 13:27:45', '2015-08-13 13:27:45', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 13:27:45.000000', '2015-08-13', '2015-08-13 13:27:45', '2015-08-13 13:27:45', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 13:27:45', '2015-08-13 13:27:45', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 13:27:45', '2015-08-13 13:27:45', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 13:27:45.000000', '2015-08-13', '2015-08-13 13:27:45', '2015-08-13 13:27:45', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 13:27:45', '2015-08-13 13:27:45', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 13:27:45.000000', '2015-08-13', '2015-08-13 13:27:45', '2015-08-13 13:27:45', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 13:27:45', '2015-08-13 13:27:45', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 13:27:45.000000', '2015-08-13', '2015-08-13 13:27:45', '2015-08-13 13:27:45', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 13:27:45', '2015-08-13 13:27:45', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:27:45.000000', '2015-08-13 13:27:45', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:27:45.000000', '2015-08-13 13:27:45', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:27:45.000000', '2015-08-13 13:27:45', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:27:45.000000', '2015-08-13 13:27:45', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 13:27:45', '2015-08-13 13:27:45', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 13:27:45', '2015-08-13 13:27:45', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 13:27:45', '2015-08-13 13:27:45', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 13:27:45', '2015-08-13 13:27:45', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 13:27:45', '2015-08-13 13:27:45', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 13:27:45', '2015-08-13 13:27:45', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 13:27:45', '2015-08-13 13:27:45', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 13:27:45', '2015-08-13 13:27:45', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 13:27:45', '2015-08-13 13:27:45', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 13:27:45', '2015-08-13 13:27:45', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.7ms) Date: Thu, 13 Aug 2015 08:27:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9b51a7d9a_b93d3fd8054602043813c@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 39.7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.6ms) Date: Thu, 13 Aug 2015 08:27:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9b51a92ad_b93d3fd80546020438232@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.4ms) Date: Thu, 13 Aug 2015 08:27:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cc9b51aa553_b93d3fd805460204383c6@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:27:45.709813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.9ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:27:45.720940"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 13:27:45.793574"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.6ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 13:27:45.803759"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 13:27:45.808795"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (3.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 13:28:04', '2015-08-13 13:28:04', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 13:28:04', '2015-08-13 13:28:04', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 13:28:04.000000', '2015-08-13', '2015-08-13 13:28:04', '2015-08-13 13:28:04', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 13:28:04', '2015-08-13 13:28:04', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 13:28:04', '2015-08-13 13:28:04', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 13:28:04.000000', '2015-08-13', '2015-08-13 13:28:04', '2015-08-13 13:28:04', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 13:28:04', '2015-08-13 13:28:04', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 13:28:04', '2015-08-13 13:28:04', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 13:28:04.000000', '2015-08-13', '2015-08-13 13:28:04', '2015-08-13 13:28:04', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 13:28:04', '2015-08-13 13:28:04', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 13:28:04.000000', '2015-08-13', '2015-08-13 13:28:04', '2015-08-13 13:28:04', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 13:28:04', '2015-08-13 13:28:04', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 13:28:04.000000', '2015-08-13', '2015-08-13 13:28:04', '2015-08-13 13:28:04', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 13:28:04', '2015-08-13 13:28:04', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:28:04.000000', '2015-08-13 13:28:04', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:28:04.000000', '2015-08-13 13:28:04', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:28:04.000000', '2015-08-13 13:28:04', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:28:04.000000', '2015-08-13 13:28:04', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 13:28:04', '2015-08-13 13:28:04', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 13:28:04', '2015-08-13 13:28:04', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 13:28:04', '2015-08-13 13:28:04', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 13:28:04', '2015-08-13 13:28:04', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 13:28:04', '2015-08-13 13:28:04', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 13:28:04', '2015-08-13 13:28:04', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 13:28:04', '2015-08-13 13:28:04', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 13:28:04', '2015-08-13 13:28:04', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 13:28:04', '2015-08-13 13:28:04', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 13:28:04', '2015-08-13 13:28:04', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) ROLLBACK  (4.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 13:28:12', '2015-08-13 13:28:12', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 13:28:12', '2015-08-13 13:28:12', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 13:28:12.000000', '2015-08-13', '2015-08-13 13:28:12', '2015-08-13 13:28:12', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 13:28:12', '2015-08-13 13:28:12', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 13:28:12', '2015-08-13 13:28:12', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 13:28:12.000000', '2015-08-13', '2015-08-13 13:28:12', '2015-08-13 13:28:12', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 13:28:12', '2015-08-13 13:28:12', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 13:28:12', '2015-08-13 13:28:12', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 13:28:12.000000', '2015-08-13', '2015-08-13 13:28:12', '2015-08-13 13:28:12', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 13:28:12', '2015-08-13 13:28:12', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 13:28:12.000000', '2015-08-13', '2015-08-13 13:28:12', '2015-08-13 13:28:12', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 13:28:12', '2015-08-13 13:28:12', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 13:28:12.000000', '2015-08-13', '2015-08-13 13:28:12', '2015-08-13 13:28:12', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 13:28:12', '2015-08-13 13:28:12', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:28:12.000000', '2015-08-13 13:28:12', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:28:12.000000', '2015-08-13 13:28:12', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:28:12.000000', '2015-08-13 13:28:12', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:28:12.000000', '2015-08-13 13:28:12', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 13:28:12', '2015-08-13 13:28:12', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 13:28:12', '2015-08-13 13:28:12', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 13:28:12', '2015-08-13 13:28:12', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 13:28:12', '2015-08-13 13:28:12', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 13:28:12', '2015-08-13 13:28:12', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 13:28:12', '2015-08-13 13:28:12', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 13:28:12', '2015-08-13 13:28:12', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 13:28:12', '2015-08-13 13:28:12', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 13:28:12', '2015-08-13 13:28:12', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 13:28:12', '2015-08-13 13:28:12', 809335042, 'SocialNetworking::Goal', 809335042)  (1.7ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) ROLLBACK  (2.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 13:28:42', '2015-08-13 13:28:42', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 13:28:42', '2015-08-13 13:28:42', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 13:28:42.000000', '2015-08-13', '2015-08-13 13:28:42', '2015-08-13 13:28:42', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 13:28:42', '2015-08-13 13:28:42', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 13:28:42', '2015-08-13 13:28:42', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 13:28:42.000000', '2015-08-13', '2015-08-13 13:28:42', '2015-08-13 13:28:42', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 13:28:42', '2015-08-13 13:28:42', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 13:28:42', '2015-08-13 13:28:42', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 13:28:42.000000', '2015-08-13', '2015-08-13 13:28:42', '2015-08-13 13:28:42', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 13:28:42', '2015-08-13 13:28:42', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 13:28:42.000000', '2015-08-13', '2015-08-13 13:28:42', '2015-08-13 13:28:42', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 13:28:42', '2015-08-13 13:28:42', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 13:28:42.000000', '2015-08-13', '2015-08-13 13:28:42', '2015-08-13 13:28:42', 16804933, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 13:28:42', '2015-08-13 13:28:42', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:28:42.000000', '2015-08-13 13:28:42', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:28:42.000000', '2015-08-13 13:28:42', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 13:28:42.000000', '2015-08-13 13:28:42', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 13:28:42.000000', '2015-08-13 13:28:42', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 13:28:42', '2015-08-13 13:28:42', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 13:28:42', '2015-08-13 13:28:42', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 13:28:42', '2015-08-13 13:28:42', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 13:28:42', '2015-08-13 13:28:42', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 13:28:42', '2015-08-13 13:28:42', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 13:28:42', '2015-08-13 13:28:42', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 13:28:42', '2015-08-13 13:28:42', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 13:28:42', '2015-08-13 13:28:42', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 13:28:42', '2015-08-13 13:28:42', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 13:28:42', '2015-08-13 13:28:42', 809335042, 'SocialNetworking::Goal', 809335042)  (1.8ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (2.0ms) Sent mail to obama@ex.co (8.6ms) Date: Thu, 13 Aug 2015 11:20:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccc3be7bfcf_111b53fcb814602084554c@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 264.3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 11:20:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccc3be7dff9_111b53fcb814602084567e@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 11:20:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccc3be7f853_111b53fcb81460208457eb@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (6.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (5.7ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (6.8ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 16:20:14', '2015-08-13 16:20:14', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.8ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 16:20:14', '2015-08-13 16:20:14', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 16:20:14.000000', '2015-08-13', '2015-08-13 16:20:14', '2015-08-13 16:20:14', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 16:20:14', '2015-08-13 16:20:14', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 16:20:14', '2015-08-13 16:20:14', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 16:20:14.000000', '2015-08-13', '2015-08-13 16:20:14', '2015-08-13 16:20:14', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 16:20:14', '2015-08-13 16:20:14', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 16:20:14', '2015-08-13 16:20:14', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 16:20:14.000000', '2015-08-13', '2015-08-13 16:20:14', '2015-08-13 16:20:14', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 16:20:14', '2015-08-13 16:20:14', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 16:20:14.000000', '2015-08-13', '2015-08-13 16:20:14', '2015-08-13 16:20:14', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 16:20:14', '2015-08-13 16:20:14', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 16:20:14.000000', '2015-08-13', '2015-08-13 16:20:14', '2015-08-13 16:20:14', 16804933, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 16:20:14', '2015-08-13 16:20:14', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:20:14.000000', '2015-08-13 16:20:14', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 16:20:14.000000', '2015-08-13 16:20:14', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:20:14.000000', '2015-08-13 16:20:14', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 16:20:14.000000', '2015-08-13 16:20:14', 316146702, 816972181, 700141617) Fixture Delete (0.5ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 16:20:14', '2015-08-13 16:20:14', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 16:20:14', '2015-08-13 16:20:14', 369066228, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 16:20:14', '2015-08-13 16:20:14', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 16:20:14', '2015-08-13 16:20:14', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 16:20:14', '2015-08-13 16:20:14', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 16:20:14', '2015-08-13 16:20:14', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 16:20:14', '2015-08-13 16:20:14', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 16:20:14', '2015-08-13 16:20:14', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 16:20:14', '2015-08-13 16:20:14', 183235640, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 16:20:14', '2015-08-13 16:20:14', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.7ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.7ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 16:20:14.740886"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 16:20:14.762506"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 11:20:15 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.5ms) Completed 200 OK in 150ms (Views: 117.8ms | ActiveRecord: 5.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-13 11:20:15 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-13 11:20:15 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-13 11:20:16 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-10", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-10"], ["updated_at", "2015-08-13 16:20:16.301440"], ["id", 53334230]]  (6.0ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 7.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 11:20:16 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 17ms (Views: 2.1ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 11:20:16 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 17ms (Views: 2.1ms | ActiveRecord: 2.2ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-13 11:20:16 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-13 16:20:16.713707"], ["updated_at", "2015-08-13 16:20:16.716640"], ["id", 809335042]]  (1.6ms) COMMIT  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-13 16:20:16.729531"], ["updated_at", "2015-08-13 16:20:16.729531"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 25ms (Views: 0.3ms | ActiveRecord: 6.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 11:20:16 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 17ms (Views: 2.1ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-13 11:20:16 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-13 16:20:16.979408"], ["updated_at", "2015-08-13 16:20:16.982194"], ["id", 614371357]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 11:20:17 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 18ms (Views: 2.2ms | ActiveRecord: 2.0ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-13 11:20:17 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-27", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-27"], ["created_at", "2015-08-13 16:20:17.337207"], ["updated_at", "2015-08-13 16:20:17.337207"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-13 16:20:17.341877"], ["updated_at", "2015-08-13 16:20:17.341877"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 2.8ms)  (0.1ms) ROLLBACK  (1.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 16:20:17', '2015-08-13 16:20:17', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.3ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.5ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (1.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 16:20:17', '2015-08-13 16:20:17', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 16:20:17.000000', '2015-08-13', '2015-08-13 16:20:17', '2015-08-13 16:20:17', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 16:20:17', '2015-08-13 16:20:17', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 16:20:17', '2015-08-13 16:20:17', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 16:20:17.000000', '2015-08-13', '2015-08-13 16:20:17', '2015-08-13 16:20:17', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 16:20:17', '2015-08-13 16:20:17', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 16:20:17', '2015-08-13 16:20:17', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 16:20:17.000000', '2015-08-13', '2015-08-13 16:20:17', '2015-08-13 16:20:17', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 16:20:17', '2015-08-13 16:20:17', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 16:20:17.000000', '2015-08-13', '2015-08-13 16:20:17', '2015-08-13 16:20:17', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 16:20:17', '2015-08-13 16:20:17', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 16:20:17.000000', '2015-08-13', '2015-08-13 16:20:17', '2015-08-13 16:20:17', 16804933, 816972181)  (0.3ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 16:20:17.515605"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 16:20:17.519725"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000')  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 16:20:17.529394"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (1.4ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 16:20:17', '2015-08-13 16:20:17', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:20:17.000000', '2015-08-13 16:20:17', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 16:20:17.000000', '2015-08-13 16:20:17', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:20:17.000000', '2015-08-13 16:20:17', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 16:20:17.000000', '2015-08-13 16:20:17', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 16:20:17', '2015-08-13 16:20:17', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 16:20:17', '2015-08-13 16:20:17', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 16:20:17', '2015-08-13 16:20:17', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 16:20:17', '2015-08-13 16:20:17', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 16:20:17', '2015-08-13 16:20:17', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 16:20:17', '2015-08-13 16:20:17', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 16:20:17', '2015-08-13 16:20:17', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 16:20:17', '2015-08-13 16:20:17', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 16:20:17', '2015-08-13 16:20:17', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 16:20:17', '2015-08-13 16:20:17', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (75.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 16:20:17.786391"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 16:20:17.793174"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 16:20:17.796478"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 16:20:17.802471"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 16:20:17.811547"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 16:20:17.815833"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 16:20:17.824521"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 16:20:17.912041"], ["updated_at", "2015-08-13 16:20:17.912041"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 16:20:17.915708"], ["updated_at", "2015-08-13 16:20:17.915708"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 16:20:17.983668"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 16:20:17.986923"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 16:20:17.999341"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-14"], ["created_at", "2015-08-13 16:20:18.007255"], ["updated_at", "2015-08-13 16:20:18.007255"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-13 16:20:18.013702"], ["updated_at", "2015-08-13 16:20:18.013702"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-13"], ["completed_at", "2015-08-11 00:00:00.000000"], ["created_at", "2015-08-13 16:20:18.019144"], ["updated_at", "2015-08-13 16:20:18.019144"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 16:20:18.023444') AND ("social_networking_goals"."due_on" >= '2015-08-12 16:20:18.023494') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 16:20:18.026716') AND ("social_networking_goals"."due_on" >= '2015-08-12 16:20:18.026736')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 16:20:18.029055') AND ("social_networking_goals"."due_on" >= '2015-08-12 16:20:18.029081')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (3.1ms) Date: Thu, 13 Aug 2015 11:20:18 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccc3c224cfa_111b53fcb81460208458d5@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 41.9ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.8ms) Date: Thu, 13 Aug 2015 11:20:18 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccc3c226529_111b53fcb8146020845998@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 4.2ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Thu, 13 Aug 2015 11:20:18 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccc3c227a24_111b53fcb81460208460cc@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-13 16:20:18.167637"], ["updated_at", "2015-08-13 16:20:18.167637"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 16:20:18.173846"], ["updated_at", "2015-08-13 16:20:18.173846"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 16:20:18.176831"], ["updated_at", "2015-08-13 16:20:18.176831"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.5ms) Date: Thu, 13 Aug 2015 11:20:18 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccc3c23be2f_111b53fcb8146020846121@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 42.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Thu, 13 Aug 2015 11:20:18 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccc3c23d27b_111b53fcb81460208462f4@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 11:20:18 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccc3c23e490_111b53fcb814602084632d@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 16:20:18.289207"], ["updated_at", "2015-08-13 16:20:18.289207"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 16:20:18.291926"], ["updated_at", "2015-08-13 16:20:18.291926"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 16:20:18.298778"], ["updated_at", "2015-08-13 16:20:18.298778"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 16:20:18.301943"], ["updated_at", "2015-08-13 16:20:18.301943"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 16:20:18.319273"], ["updated_at", "2015-08-13 16:20:18.319273"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 16:20:18.322141"], ["updated_at", "2015-08-13 16:20:18.322141"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 16:20:18.333484"], ["updated_at", "2015-08-13 16:20:18.333484"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 16:20:18.335770"], ["updated_at", "2015-08-13 16:20:18.335770"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (2.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.6ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 16:37:24', '2015-08-13 16:37:24', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 16:37:24.000000', '2015-08-13', '2015-08-13 16:37:24', '2015-08-13 16:37:24', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 16:37:24', '2015-08-13 16:37:24', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 16:37:24', '2015-08-13 16:37:24', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 16:37:24.000000', '2015-08-13', '2015-08-13 16:37:24', '2015-08-13 16:37:24', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 16:37:24', '2015-08-13 16:37:24', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 16:37:24', '2015-08-13 16:37:24', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 16:37:24.000000', '2015-08-13', '2015-08-13 16:37:24', '2015-08-13 16:37:24', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 16:37:24', '2015-08-13 16:37:24', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 16:37:24.000000', '2015-08-13', '2015-08-13 16:37:24', '2015-08-13 16:37:24', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 16:37:24', '2015-08-13 16:37:24', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 16:37:24.000000', '2015-08-13', '2015-08-13 16:37:24', '2015-08-13 16:37:24', 16804933, 816972181)  (5.8ms) COMMIT  (11.7ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 16:37:24.541754"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 16:37:24.552035"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 16:37:24.556110"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 13ms (Views: 11.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (12.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 16:37:24', '2015-08-13 16:37:24', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.5ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 16:37:24', '2015-08-13 16:37:24', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:37:24.000000', '2015-08-13 16:37:24', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 16:37:24.000000', '2015-08-13 16:37:24', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:37:24.000000', '2015-08-13 16:37:24', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 16:37:24.000000', '2015-08-13 16:37:24', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 16:37:24', '2015-08-13 16:37:24', 576803333, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 16:37:24', '2015-08-13 16:37:24', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 16:37:24', '2015-08-13 16:37:24', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 16:37:24', '2015-08-13 16:37:24', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 16:37:24', '2015-08-13 16:37:24', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 16:37:24', '2015-08-13 16:37:24', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 16:37:24', '2015-08-13 16:37:24', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 16:37:24', '2015-08-13 16:37:24', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 16:37:24', '2015-08-13 16:37:24', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.4ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 16:37:24', '2015-08-13 16:37:24', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 11:37:25 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.7ms) Completed 200 OK in 161ms (Views: 128.1ms | ActiveRecord: 5.6ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-13 11:37:25 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-13 11:37:26 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-13 11:37:26 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-13 16:37:26.352390"], ["updated_at", "2015-08-13 16:37:26.355948"], ["id", 809335042]]  (6.4ms) COMMIT  (0.1ms) BEGIN SQL (0.8ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-13 16:37:26.375418"], ["updated_at", "2015-08-13 16:37:26.375418"]]  (5.8ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 36ms (Views: 0.4ms | ActiveRecord: 16.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 11:37:26 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 17ms (Views: 2.3ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-13 11:37:26 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-10", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-10"], ["updated_at", "2015-08-13 16:37:26.703294"], ["id", 53334230]]  (5.9ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 7.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 11:37:26 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 15ms (Views: 2.0ms | ActiveRecord: 1.8ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-13 11:37:27 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-27", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-27"], ["created_at", "2015-08-13 16:37:27.055567"], ["updated_at", "2015-08-13 16:37:27.055567"]]  (1.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-13 16:37:27.061401"], ["updated_at", "2015-08-13 16:37:27.061401"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 11:37:27 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 16ms (Views: 2.1ms | ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 11:37:27 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 17ms (Views: 2.2ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-13 11:37:27 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-13 16:37:27.506575"], ["updated_at", "2015-08-13 16:37:27.509065"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (9.3ms) Date: Thu, 13 Aug 2015 11:37:27 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccc7c7c2812_11d8b3fc5648602044969b@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 227.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.4ms) Date: Thu, 13 Aug 2015 11:37:27 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccc7c7c4558_11d8b3fc564860204497fc@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Thu, 13 Aug 2015 11:37:27 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccc7c7c590a_11d8b3fc5648602044988c@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335043]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335044]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (1.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 16:37:27', '2015-08-13 16:37:27', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 16:37:27', '2015-08-13 16:37:27', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 16:37:27.000000', '2015-08-13', '2015-08-13 16:37:27', '2015-08-13 16:37:27', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 16:37:27', '2015-08-13 16:37:27', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 16:37:27', '2015-08-13 16:37:27', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 16:37:27.000000', '2015-08-13', '2015-08-13 16:37:27', '2015-08-13 16:37:27', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 16:37:27', '2015-08-13 16:37:27', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 16:37:27', '2015-08-13 16:37:27', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 16:37:27.000000', '2015-08-13', '2015-08-13 16:37:27', '2015-08-13 16:37:27', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 16:37:27', '2015-08-13 16:37:27', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 16:37:27.000000', '2015-08-13', '2015-08-13 16:37:27', '2015-08-13 16:37:27', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 16:37:27', '2015-08-13 16:37:27', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 16:37:27.000000', '2015-08-13', '2015-08-13 16:37:27', '2015-08-13 16:37:27', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 16:37:27', '2015-08-13 16:37:27', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:37:27.000000', '2015-08-13 16:37:27', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 16:37:27.000000', '2015-08-13 16:37:27', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:37:27.000000', '2015-08-13 16:37:27', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 16:37:27.000000', '2015-08-13 16:37:27', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 16:37:27', '2015-08-13 16:37:27', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 16:37:27', '2015-08-13 16:37:27', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 16:37:27', '2015-08-13 16:37:27', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 16:37:27', '2015-08-13 16:37:27', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 16:37:27', '2015-08-13 16:37:27', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 16:37:27', '2015-08-13 16:37:27', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 16:37:27', '2015-08-13 16:37:27', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 16:37:27', '2015-08-13 16:37:27', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 16:37:27', '2015-08-13 16:37:27', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 16:37:27', '2015-08-13 16:37:27', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 16:37:27.961609"], ["updated_at", "2015-08-13 16:37:27.961609"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 16:37:27.964960"], ["updated_at", "2015-08-13 16:37:27.964960"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.5ms) Date: Thu, 13 Aug 2015 11:37:28 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccc7c860d5_11d8b3fc56486020449935@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 42.4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Thu, 13 Aug 2015 11:37:28 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccc7c877bf_11d8b3fc564860204500af@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.9ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.4ms) Date: Thu, 13 Aug 2015 11:37:28 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccc7c88be0_11d8b3fc56486020450149@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 16:37:28.043595"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 16:37:28.060496"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 16:37:28.064312"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 16:37:28.068950') AND ("social_networking_goals"."due_on" >= '2015-08-12 16:37:28.068993')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 16:37:28.071499') AND ("social_networking_goals"."due_on" >= '2015-08-12 16:37:28.071518') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 16:37:28.073703') AND ("social_networking_goals"."due_on" >= '2015-08-12 16:37:28.073725')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-13 16:37:28.077523"], ["updated_at", "2015-08-13 16:37:28.077523"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-13"], ["completed_at", "2015-08-11 00:00:00.000000"], ["created_at", "2015-08-13 16:37:28.082462"], ["updated_at", "2015-08-13 16:37:28.082462"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-14"], ["created_at", "2015-08-13 16:37:28.091904"], ["updated_at", "2015-08-13 16:37:28.091904"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 16:37:28.141843"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999')  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 16:37:28.150860"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 16:37:28.154409"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 16:37:28.159780"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 16:37:28.165271"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 16:37:28.171160"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 16:37:28.174304"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 16:37:28.185232"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 16:37:28.195591"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-13 16:37:28.228290"], ["updated_at", "2015-08-13 16:37:28.228290"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 16:37:28.233634"], ["updated_at", "2015-08-13 16:37:28.233634"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 16:37:28.236727"], ["updated_at", "2015-08-13 16:37:28.236727"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.6ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (74.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 16:37:28.367104"], ["updated_at", "2015-08-13 16:37:28.367104"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 16:37:28.369515"], ["updated_at", "2015-08-13 16:37:28.369515"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 16:37:28.375983"], ["updated_at", "2015-08-13 16:37:28.375983"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 16:37:28.378887"], ["updated_at", "2015-08-13 16:37:28.378887"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 16:37:28.391166"], ["updated_at", "2015-08-13 16:37:28.391166"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 16:37:28.393310"], ["updated_at", "2015-08-13 16:37:28.393310"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 16:37:28.399149"], ["updated_at", "2015-08-13 16:37:28.399149"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 16:37:28.401922"], ["updated_at", "2015-08-13 16:37:28.401922"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.5ms) Date: Thu, 13 Aug 2015 11:37:28 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccc7c86eea9_11d8b3fc56486020450294@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 42.2ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.4ms) Date: Thu, 13 Aug 2015 11:37:28 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccc7c8704a7_11d8b3fc564860204503d1@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 11:37:28 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccc7c871724_11d8b3fc56486020450477@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.7ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 30ms (Views: 14.5ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (7.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.8ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 16:54:56', '2015-08-13 16:54:56', 809335042, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 16:54:56.000000', '2015-08-13', '2015-08-13 16:54:56', '2015-08-13 16:54:56', 576699391, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 16:54:56', '2015-08-13 16:54:56', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 16:54:56', '2015-08-13 16:54:56', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 16:54:56.000000', '2015-08-13', '2015-08-13 16:54:56', '2015-08-13 16:54:56', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 16:54:56', '2015-08-13 16:54:56', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 16:54:56', '2015-08-13 16:54:56', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 16:54:56.000000', '2015-08-13', '2015-08-13 16:54:56', '2015-08-13 16:54:56', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 16:54:56', '2015-08-13 16:54:56', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 16:54:56.000000', '2015-08-13', '2015-08-13 16:54:56', '2015-08-13 16:54:56', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 16:54:56', '2015-08-13 16:54:56', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 16:54:56.000000', '2015-08-13', '2015-08-13 16:54:56', '2015-08-13 16:54:56', 16804933, 816972181)  (0.4ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.7ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 16:54:56.944829"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 16:54:56.968734"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (1.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 16:54:57', '2015-08-13 16:54:57', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 16:54:57', '2015-08-13 16:54:57', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:54:57.000000', '2015-08-13 16:54:57', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 16:54:57.000000', '2015-08-13 16:54:57', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:54:57.000000', '2015-08-13 16:54:57', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 16:54:57.000000', '2015-08-13 16:54:57', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 16:54:57', '2015-08-13 16:54:57', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 16:54:57', '2015-08-13 16:54:57', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 16:54:57', '2015-08-13 16:54:57', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 16:54:57', '2015-08-13 16:54:57', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 16:54:57', '2015-08-13 16:54:57', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 16:54:57', '2015-08-13 16:54:57', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 16:54:57', '2015-08-13 16:54:57', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 16:54:57', '2015-08-13 16:54:57', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 16:54:57', '2015-08-13 16:54:57', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 16:54:57', '2015-08-13 16:54:57', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (69.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (6.6ms) Date: Thu, 13 Aug 2015 11:54:57 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cccbe175022_125103fe1e94601f8833ce@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 203.9ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.4ms) Date: Thu, 13 Aug 2015 11:54:57 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cccbe176eef_125103fe1e94601f88344a@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Thu, 13 Aug 2015 11:54:57 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cccbe178067_125103fe1e94601f8835c6@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 16:54:57.523579"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 16:54:57.527168"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 16:54:57.536381"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 16:54:57.547058"], ["updated_at", "2015-08-13 16:54:57.547058"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 16:54:57.550197"], ["updated_at", "2015-08-13 16:54:57.550197"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 16:54:57.609285"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 16:54:57.621583"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 16:54:57.626884"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-13 16:54:57.637204"], ["updated_at", "2015-08-13 16:54:57.637204"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-14"], ["created_at", "2015-08-13 16:54:57.645089"], ["updated_at", "2015-08-13 16:54:57.645089"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-13"], ["completed_at", "2015-08-11 00:00:00.000000"], ["created_at", "2015-08-13 16:54:57.649807"], ["updated_at", "2015-08-13 16:54:57.649807"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 16:54:57.652942') AND ("social_networking_goals"."due_on" >= '2015-08-12 16:54:57.652972') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 16:54:57.656085') AND ("social_networking_goals"."due_on" >= '2015-08-12 16:54:57.656104')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 16:54:57.657619') AND ("social_networking_goals"."due_on" >= '2015-08-12 16:54:57.657635')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.4ms) Date: Thu, 13 Aug 2015 11:54:57 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cccbe1bf382_125103fe1e94601f88361@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 38.0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.5ms) Date: Thu, 13 Aug 2015 11:54:57 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cccbe1c07a2_125103fe1e94601f883755@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.8ms) Date: Thu, 13 Aug 2015 11:54:57 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cccbe1c1b67_125103fe1e94601f883810@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.9ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 16:54:57.853778"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 16:54:57.859233"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 16:54:57.861764"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 16:54:57.867118"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 16:54:57.879713"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 16:54:57.884099"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 16:54:57.892048"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 11:54:58 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.4ms) Completed 200 OK in 91ms (Views: 64.1ms | ActiveRecord: 4.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-13 11:54:58 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-13 11:54:58 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-13 11:54:58 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-13 16:54:58.864094"], ["updated_at", "2015-08-13 16:54:58.866998"], ["id", 809335042]]  (1.4ms) COMMIT  (0.3ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-13 16:54:58.873423"], ["updated_at", "2015-08-13 16:54:58.873423"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 4.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 11:54:58 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 15ms (Views: 2.1ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 11:54:59 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 1.6ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-13 11:54:59 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-10", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-10"], ["updated_at", "2015-08-13 16:54:59.292110"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 11:54:59 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 15ms (Views: 2.0ms | ActiveRecord: 1.5ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-13 11:54:59 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-13 16:54:59.480294"], ["updated_at", "2015-08-13 16:54:59.482885"], ["id", 614371357]]  (1.8ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 11:54:59 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 14ms (Views: 2.0ms | ActiveRecord: 1.6ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-13 11:54:59 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-27", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-27"], ["created_at", "2015-08-13 16:54:59.733183"], ["updated_at", "2015-08-13 16:54:59.733183"]]  (1.6ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-13 16:54:59.738722"], ["updated_at", "2015-08-13 16:54:59.738722"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 3.7ms)  (0.1ms) ROLLBACK  (1.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 16:54:59', '2015-08-13 16:54:59', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 16:54:59.000000', '2015-08-13', '2015-08-13 16:54:59', '2015-08-13 16:54:59', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 16:54:59', '2015-08-13 16:54:59', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 16:54:59', '2015-08-13 16:54:59', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 16:54:59.000000', '2015-08-13', '2015-08-13 16:54:59', '2015-08-13 16:54:59', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 16:54:59', '2015-08-13 16:54:59', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 16:54:59', '2015-08-13 16:54:59', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 16:54:59.000000', '2015-08-13', '2015-08-13 16:54:59', '2015-08-13 16:54:59', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 16:54:59', '2015-08-13 16:54:59', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 16:54:59.000000', '2015-08-13', '2015-08-13 16:54:59', '2015-08-13 16:54:59', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 16:54:59', '2015-08-13 16:54:59', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 16:54:59.000000', '2015-08-13', '2015-08-13 16:54:59', '2015-08-13 16:54:59', 16804933, 816972181)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-13 16:54:59.821377"], ["updated_at", "2015-08-13 16:54:59.821377"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 16:54:59.826496"], ["updated_at", "2015-08-13 16:54:59.826496"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 16:54:59.829127"], ["updated_at", "2015-08-13 16:54:59.829127"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 16:54:59', '2015-08-13 16:54:59', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.6ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.6ms) Date: Thu, 13 Aug 2015 11:54:59 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cccbe3da342_125103fe1e94601f8839f6@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 40.5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.6ms) Date: Thu, 13 Aug 2015 11:54:59 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cccbe3db963_125103fe1e94601f884023@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 4.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Thu, 13 Aug 2015 11:54:59 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cccbe3dcdbb_125103fe1e94601f8841fe@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 16:54:59', '2015-08-13 16:54:59', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:54:59.000000', '2015-08-13 16:54:59', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 16:54:59.000000', '2015-08-13 16:54:59', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 16:54:59.000000', '2015-08-13 16:54:59', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 16:54:59.000000', '2015-08-13 16:54:59', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 16:54:59', '2015-08-13 16:54:59', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 16:54:59', '2015-08-13 16:54:59', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 16:54:59', '2015-08-13 16:54:59', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 16:54:59', '2015-08-13 16:54:59', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 16:54:59', '2015-08-13 16:54:59', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 16:54:59', '2015-08-13 16:54:59', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 16:54:59', '2015-08-13 16:54:59', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 16:54:59', '2015-08-13 16:54:59', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 16:54:59', '2015-08-13 16:54:59', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 16:54:59', '2015-08-13 16:54:59', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 16:54:59.976226"], ["updated_at", "2015-08-13 16:54:59.976226"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 16:54:59.979997"], ["updated_at", "2015-08-13 16:54:59.979997"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 16:54:59.987882"], ["updated_at", "2015-08-13 16:54:59.987882"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 16:54:59.990692"], ["updated_at", "2015-08-13 16:54:59.990692"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 16:54:59.997130"], ["updated_at", "2015-08-13 16:54:59.997130"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 16:55:00.000756"], ["updated_at", "2015-08-13 16:55:00.000756"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 16:55:00.012374"], ["updated_at", "2015-08-13 16:55:00.012374"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 16:55:00.014809"], ["updated_at", "2015-08-13 16:55:00.014809"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms)   (0.3ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (2.0ms) Sent mail to obama@ex.co (8.4ms) Date: Thu, 13 Aug 2015 12:14:29 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccd075e4359_12e4e3fdd14c601fc358c@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 239.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 12:14:29 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccd075e6392_12e4e3fdd14c601fc35948@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Thu, 13 Aug 2015 12:14:29 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccd075e7397_12e4e3fdd14c601fc360f3@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_shared_items" does not exist LINE 5: WHERE a.attrelid = '"social_networking_shared... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_shared_items"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms)  (0.2ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.8ms) Date: Thu, 13 Aug 2015 12:14:30 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccd076501ef_12e4e3fdd14c601fc36192@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 44.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Thu, 13 Aug 2015 12:14:30 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccd07651450_12e4e3fdd14c601fc362b5@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.0ms) Date: Thu, 13 Aug 2015 12:14:30 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccd07652457_12e4e3fdd14c601fc36341@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 2.9ms  (0.1ms) ROLLBACK  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.5ms) Date: Thu, 13 Aug 2015 12:14:30 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccd0767fb24_12e4e3fdd14c601fc36476@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 39.9ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Thu, 13 Aug 2015 12:14:30 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccd07680ec4_12e4e3fdd14c601fc365b1@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Thu, 13 Aug 2015 12:14:30 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccd07682127_12e4e3fdd14c601fc36638@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.5ms  (0.2ms) ROLLBACK  (14.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (5.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.1ms) BEGIN  (14.5ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (6.1ms) COMMIT Migrating to AddParticipantFields (2)  (5.6ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.2ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (6.1ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (14.3ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (6.5ms) COMMIT Migrating to AddNullFalseToArms (5)  (5.8ms) BEGIN  (0.5ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.3ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (6.4ms) COMMIT Migrating to AddHasWozToArm (6)  (0.3ms) BEGIN  (17.4ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (5.6ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (5.8ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.1ms) BEGIN  (7.9ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.5ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (0.7ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (5.9ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (5.7ms) BEGIN  (14.1ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.0ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (5.3ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (5.7ms) BEGIN  (14.0ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.1ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (5.1ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (5.7ms) BEGIN  (14.4ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (6.2ms) BEGIN  (14.6ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (0.8ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (6.0ms) BEGIN  (14.2ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (0.9ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (5.1ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (5.6ms) BEGIN  (7.8ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (5.7ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (5.7ms) BEGIN  (14.0ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (5.3ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (5.8ms) BEGIN  (14.0ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.1ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (0.4ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (6.0ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (1.0ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (6.1ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.2ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (5.8ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.1ms) BEGIN  (6.2ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (5.7ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (14.5ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (6.3ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.1ms) BEGIN  (14.2ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (6.6ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (6.2ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.3ms) BEGIN  (6.7ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (6.1ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.2ms) BEGIN  (7.0ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (5.8ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (6.0ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2015-08-13 17:14:36.758695"], ["updated_at", "2015-08-13 17:14:36.758695"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2015-08-13 17:14:36.760522"], ["updated_at", "2015-08-13 17:14:36.760522"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2015-08-13 17:14:36.761589"], ["updated_at", "2015-08-13 17:14:36.761589"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2015-08-13 17:14:36.762811"], ["updated_at", "2015-08-13 17:14:36.762811"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2015-08-13 17:14:36.763915"], ["updated_at", "2015-08-13 17:14:36.763915"]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (6.0ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (5.6ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (6.2ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.1ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (6.2ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.5ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (6.7ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (6.0ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (6.0ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.1ms) BEGIN  (8.5ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (9.3ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (9.8ms) BEGIN  (0.5ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (7.4ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (6.0ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (6.2ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (6.1ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.7ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (5.8ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (5.8ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.1ms) BEGIN  (6.3ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (5.9ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.1ms) BEGIN  (6.9ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (5.9ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.1ms) BEGIN  (6.4ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (14.8ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (0.3ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.1ms) BEGIN  (6.8ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (6.2ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (6.3ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.4ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.1ms) BEGIN  (6.7ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (9.2ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 17:14:41', '2015-08-13 17:14:41', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 17:14:41', '2015-08-13 17:14:41', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 17:14:41.000000', '2015-08-13', '2015-08-13 17:14:41', '2015-08-13 17:14:41', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 17:14:41', '2015-08-13 17:14:41', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 17:14:41', '2015-08-13 17:14:41', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 17:14:41.000000', '2015-08-13', '2015-08-13 17:14:41', '2015-08-13 17:14:41', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 17:14:41', '2015-08-13 17:14:41', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 17:14:41', '2015-08-13 17:14:41', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 17:14:41.000000', '2015-08-13', '2015-08-13 17:14:41', '2015-08-13 17:14:41', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 17:14:41', '2015-08-13 17:14:41', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 17:14:41.000000', '2015-08-13', '2015-08-13 17:14:41', '2015-08-13 17:14:41', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 17:14:41', '2015-08-13 17:14:41', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 17:14:41.000000', '2015-08-13', '2015-08-13 17:14:41', '2015-08-13 17:14:41', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 17:14:41', '2015-08-13 17:14:41', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 17:14:41.000000', '2015-08-13 17:14:41', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 17:14:41.000000', '2015-08-13 17:14:41', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 17:14:41.000000', '2015-08-13 17:14:41', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 17:14:41.000000', '2015-08-13 17:14:41', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 17:14:41', '2015-08-13 17:14:41', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 17:14:41', '2015-08-13 17:14:41', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 17:14:41', '2015-08-13 17:14:41', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 17:14:41', '2015-08-13 17:14:41', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 17:14:41', '2015-08-13 17:14:41', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 17:14:41', '2015-08-13 17:14:41', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 17:14:41', '2015-08-13 17:14:41', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 17:14:41', '2015-08-13 17:14:41', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 17:14:41', '2015-08-13 17:14:41', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 17:14:41', '2015-08-13 17:14:41', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 12:14:42 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.2ms) Completed 200 OK in 146ms (Views: 59.9ms | ActiveRecord: 5.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-13 12:14:42 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-13 12:14:42 -0500 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-13 12:14:42 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-10", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-10"], ["updated_at", "2015-08-13 17:14:42.954869"], ["id", 53334230]]  (1.8ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 5.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 12:14:43 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 1.9ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-13 12:14:43 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-27", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-27"], ["created_at", "2015-08-13 17:14:43.208399"], ["updated_at", "2015-08-13 17:14:43.208399"]]  (1.6ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-13 17:14:43.220250"], ["updated_at", "2015-08-13 17:14:43.220250"]]  (6.0ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 24ms (Views: 0.3ms | ActiveRecord: 9.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 12:14:43 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 14ms (Views: 1.8ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-13 12:14:43 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-13 17:14:43.398084"], ["updated_at", "2015-08-13 17:14:43.400578"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 2.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 12:14:43 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 12:14:43 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-13 12:14:43 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-13 17:14:43.701829"], ["updated_at", "2015-08-13 17:14:43.703936"], ["id", 809335042]]  (1.6ms) COMMIT  (0.3ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-13 17:14:43.708984"], ["updated_at", "2015-08-13 17:14:43.708984"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.9ms)  (0.2ms) ROLLBACK  (1.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 17:14:43', '2015-08-13 17:14:43', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 17:14:43', '2015-08-13 17:14:43', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 17:14:43.000000', '2015-08-13', '2015-08-13 17:14:43', '2015-08-13 17:14:43', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 17:14:43', '2015-08-13 17:14:43', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 17:14:43', '2015-08-13 17:14:43', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 17:14:43.000000', '2015-08-13', '2015-08-13 17:14:43', '2015-08-13 17:14:43', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 17:14:43', '2015-08-13 17:14:43', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 17:14:43', '2015-08-13 17:14:43', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 17:14:43.000000', '2015-08-13', '2015-08-13 17:14:43', '2015-08-13 17:14:43', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 17:14:43', '2015-08-13 17:14:43', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 17:14:43.000000', '2015-08-13', '2015-08-13 17:14:43', '2015-08-13 17:14:43', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 17:14:43', '2015-08-13 17:14:43', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 17:14:43.000000', '2015-08-13', '2015-08-13 17:14:43', '2015-08-13 17:14:43', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 17:14:43', '2015-08-13 17:14:43', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.5ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 17:14:43.000000', '2015-08-13 17:14:43', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 17:14:43.000000', '2015-08-13 17:14:43', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 17:14:43.000000', '2015-08-13 17:14:43', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 17:14:43.000000', '2015-08-13 17:14:43', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 17:14:43', '2015-08-13 17:14:43', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 17:14:43', '2015-08-13 17:14:43', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 17:14:43', '2015-08-13 17:14:43', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 17:14:43', '2015-08-13 17:14:43', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 17:14:43', '2015-08-13 17:14:43', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 17:14:43', '2015-08-13 17:14:43', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 17:14:43', '2015-08-13 17:14:43', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 17:14:43', '2015-08-13 17:14:43', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 17:14:43', '2015-08-13 17:14:43', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 17:14:43', '2015-08-13 17:14:43', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (6.7ms) Date: Thu, 13 Aug 2015 12:14:44 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccd0841abc_12e5c3ff1358601f86958a@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 195.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Thu, 13 Aug 2015 12:14:44 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccd0843508_12e5c3ff1358601f86965d@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Thu, 13 Aug 2015 12:14:44 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccd08448f1_12e5c3ff1358601f8697cb@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.6ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (77.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-13 17:14:44.275762"], ["updated_at", "2015-08-13 17:14:44.275762"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 17:14:44.285335"], ["updated_at", "2015-08-13 17:14:44.285335"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 17:14:44.289217"], ["updated_at", "2015-08-13 17:14:44.289217"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 17:14:44.324945"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 17:14:44.334663"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 12:14:44 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccd08462a76_12e5c3ff1358601f869817@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 39.8ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.7ms) Date: Thu, 13 Aug 2015 12:14:44 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccd08464660_12e5c3ff1358601f869931@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 5.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.8ms) Date: Thu, 13 Aug 2015 12:14:44 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccd08465e91_12e5c3ff1358601f87006b@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 4.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 17:14:44.563927"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 17:14:44.569550"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 17:14:44.574518"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 17:14:44.577232"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 17:14:44.680622"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 17:14:44.691915"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 17:14:44.695521"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 17:14:44.704208') AND ("social_networking_goals"."due_on" >= '2015-08-12 17:14:44.704257')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 17:14:44.711208') AND ("social_networking_goals"."due_on" >= '2015-08-12 17:14:44.711234') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 17:14:44.713542') AND ("social_networking_goals"."due_on" >= '2015-08-12 17:14:44.713558')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-13 17:14:44.717064"], ["updated_at", "2015-08-13 17:14:44.717064"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-13"], ["completed_at", "2015-08-11 00:00:00.000000"], ["created_at", "2015-08-13 17:14:44.721183"], ["updated_at", "2015-08-13 17:14:44.721183"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-14"], ["created_at", "2015-08-13 17:14:44.725090"], ["updated_at", "2015-08-13 17:14:44.725090"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 17:14:44.737433"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (1.2ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 17:14:44.746355"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 17:14:44.751096"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.5ms) Date: Thu, 13 Aug 2015 12:14:44 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccd084c1e3c_12e5c3ff1358601f8701db@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 40.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.6ms) Date: Thu, 13 Aug 2015 12:14:44 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccd084c352c_12e5c3ff1358601f870210@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 4.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.8ms) Date: Thu, 13 Aug 2015 12:14:44 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccd084c4d38_12e5c3ff1358601f8703af@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 4.2ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 17:14:44.817951"], ["updated_at", "2015-08-13 17:14:44.817951"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 17:14:44.820580"], ["updated_at", "2015-08-13 17:14:44.820580"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 17:14:44.826172"], ["updated_at", "2015-08-13 17:14:44.826172"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 17:14:44.828682"], ["updated_at", "2015-08-13 17:14:44.828682"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 17:14:44.840077"], ["updated_at", "2015-08-13 17:14:44.840077"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 17:14:44.842384"], ["updated_at", "2015-08-13 17:14:44.842384"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 17:14:44.847921"], ["updated_at", "2015-08-13 17:14:44.847921"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 17:14:44.850124"], ["updated_at", "2015-08-13 17:14:44.850124"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 17:14:44.924202"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 17:14:44.931545"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 17:14:44.935353"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 17:14:44.947168"], ["updated_at", "2015-08-13 17:14:44.947168"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 17:14:44.949899"], ["updated_at", "2015-08-13 17:14:44.949899"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (2.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 17:39:35', '2015-08-13 17:39:35', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 17:39:35.000000', '2015-08-13', '2015-08-13 17:39:35', '2015-08-13 17:39:35', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 17:39:35', '2015-08-13 17:39:35', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 17:39:35', '2015-08-13 17:39:35', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 17:39:35.000000', '2015-08-13', '2015-08-13 17:39:35', '2015-08-13 17:39:35', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 17:39:35', '2015-08-13 17:39:35', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 17:39:35', '2015-08-13 17:39:35', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 17:39:35.000000', '2015-08-13', '2015-08-13 17:39:35', '2015-08-13 17:39:35', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 17:39:35', '2015-08-13 17:39:35', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 17:39:35.000000', '2015-08-13', '2015-08-13 17:39:35', '2015-08-13 17:39:35', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 17:39:35', '2015-08-13 17:39:35', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 17:39:35.000000', '2015-08-13', '2015-08-13 17:39:35', '2015-08-13 17:39:35', 16804933, 816972181)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.9ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 17:39:35.264066"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 17:39:35.268477"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 17:39:35.276624"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 17:39:35.283467"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 18ms (Views: 16.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (1.7ms) Sent mail to obama@ex.co (10.5ms) Date: Thu, 13 Aug 2015 12:39:35 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccd6579d002_13cea3fc6388601f8508a0@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 255.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 12:39:35 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccd6579ee27_13cea3fc6388601f850941@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.4ms) Date: Thu, 13 Aug 2015 12:39:35 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccd657a0529_13cea3fc6388601f851079@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.4ms) Date: Thu, 13 Aug 2015 12:39:35 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccd657abdb8_13cea3fc6388601f8511a1@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 44.4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 12:39:35 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccd657ad1ec_13cea3fc6388601f85125f@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Thu, 13 Aug 2015 12:39:35 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccd657ae358_13cea3fc6388601f85135@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (1.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 17:39:35', '2015-08-13 17:39:35', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 17:39:35', '2015-08-13 17:39:35', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.8ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 17:39:35.000000', '2015-08-13 17:39:35', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 17:39:35.000000', '2015-08-13 17:39:35', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 17:39:35.000000', '2015-08-13 17:39:35', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 17:39:35.000000', '2015-08-13 17:39:35', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 17:39:35', '2015-08-13 17:39:35', 576803333, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 17:39:35', '2015-08-13 17:39:35', 369066228, 816972181) Fixture Delete (1.0ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 17:39:35', '2015-08-13 17:39:35', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 17:39:35', '2015-08-13 17:39:35', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 17:39:35', '2015-08-13 17:39:35', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 17:39:35', '2015-08-13 17:39:35', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 17:39:35', '2015-08-13 17:39:35', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 17:39:35', '2015-08-13 17:39:35', 10484799) Fixture Delete (0.5ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 17:39:35', '2015-08-13 17:39:35', 183235640, 816972181) Fixture Delete (0.7ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 17:39:35', '2015-08-13 17:39:35', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 17:39:35.851710"], ["updated_at", "2015-08-13 17:39:35.851710"]] SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 17:39:35.860413"], ["updated_at", "2015-08-13 17:39:35.860413"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 17:39:35.868903"], ["updated_at", "2015-08-13 17:39:35.868903"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 17:39:35.871335"], ["updated_at", "2015-08-13 17:39:35.871335"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 17:39:35.879364"], ["updated_at", "2015-08-13 17:39:35.879364"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 17:39:35.882873"], ["updated_at", "2015-08-13 17:39:35.882873"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 17:39:35.901350"], ["updated_at", "2015-08-13 17:39:35.901350"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 17:39:35.903752"], ["updated_at", "2015-08-13 17:39:35.903752"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 12:39:36 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.6ms) Completed 200 OK in 119ms (Views: 89.7ms | ActiveRecord: 7.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-13 12:39:36 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-13 12:39:36 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-13 12:39:36 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-13 17:39:36.977234"], ["updated_at", "2015-08-13 17:39:36.981139"], ["id", 614371357]]  (1.7ms) COMMIT SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 6.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 12:39:37 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 20ms (Views: 2.4ms | ActiveRecord: 2.8ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-13 12:39:37 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-10", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-10"], ["updated_at", "2015-08-13 17:39:37.305028"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 12:39:37 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 19ms (Views: 2.0ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 12:39:37 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 17ms (Views: 2.2ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-13 12:39:37 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-13 17:39:37.726694"], ["updated_at", "2015-08-13 17:39:37.729289"], ["id", 809335042]]  (1.4ms) COMMIT  (0.4ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-13 17:39:37.734319"], ["updated_at", "2015-08-13 17:39:37.734319"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 4.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 12:39:37 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 18ms (Views: 2.2ms | ActiveRecord: 2.5ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-13 12:39:37 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-27", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-27"], ["created_at", "2015-08-13 17:39:37.967754"], ["updated_at", "2015-08-13 17:39:37.967754"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-13 17:39:37.973081"], ["updated_at", "2015-08-13 17:39:37.973081"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 4.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 17:39:38.050259"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 17:39:38.054320"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (1.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.6ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 17:39:38.065952"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-13 17:39:38.225994"], ["updated_at", "2015-08-13 17:39:38.225994"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (2.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 17:39:38', '2015-08-13 17:39:38', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 17:39:38.000000', '2015-08-13', '2015-08-13 17:39:38', '2015-08-13 17:39:38', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 17:39:38', '2015-08-13 17:39:38', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 17:39:38', '2015-08-13 17:39:38', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 17:39:38.000000', '2015-08-13', '2015-08-13 17:39:38', '2015-08-13 17:39:38', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 17:39:38', '2015-08-13 17:39:38', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 17:39:38', '2015-08-13 17:39:38', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 17:39:38.000000', '2015-08-13', '2015-08-13 17:39:38', '2015-08-13 17:39:38', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 17:39:38', '2015-08-13 17:39:38', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 17:39:38.000000', '2015-08-13', '2015-08-13 17:39:38', '2015-08-13 17:39:38', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 17:39:38', '2015-08-13 17:39:38', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 17:39:38.000000', '2015-08-13', '2015-08-13 17:39:38', '2015-08-13 17:39:38', 16804933, 816972181)  (0.3ms) COMMIT  (1.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 17:39:38.254227"], ["updated_at", "2015-08-13 17:39:38.254227"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 17:39:38.257341"], ["updated_at", "2015-08-13 17:39:38.257341"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (1.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 17:39:38', '2015-08-13 17:39:38', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 17:39:38', '2015-08-13 17:39:38', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 17:39:38.000000', '2015-08-13 17:39:38', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 17:39:38.000000', '2015-08-13 17:39:38', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 17:39:38.000000', '2015-08-13 17:39:38', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 17:39:38.000000', '2015-08-13 17:39:38', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 17:39:38', '2015-08-13 17:39:38', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 17:39:38', '2015-08-13 17:39:38', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 17:39:38', '2015-08-13 17:39:38', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 17:39:38', '2015-08-13 17:39:38', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 17:39:38', '2015-08-13 17:39:38', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 17:39:38', '2015-08-13 17:39:38', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 17:39:38', '2015-08-13 17:39:38', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 17:39:38', '2015-08-13 17:39:38', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 17:39:38', '2015-08-13 17:39:38', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 17:39:38', '2015-08-13 17:39:38', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 17:39:38.322658"], ["updated_at", "2015-08-13 17:39:38.322658"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 17:39:38.325599"], ["updated_at", "2015-08-13 17:39:38.325599"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.6ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (73.6ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 17:39:38.489514"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 17:39:38.502101"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (2.7ms) Date: Thu, 13 Aug 2015 12:39:38 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccd65a8f757_13cea3fc6388601f851480@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 44.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Thu, 13 Aug 2015 12:39:38 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccd65a90c05_13cea3fc6388601f85151@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Thu, 13 Aug 2015 12:39:38 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ccd65a9207e_13cea3fc6388601f851669@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 17:39:38.607492"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 17:39:38.610701"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 17:39:38.620972"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-14"], ["created_at", "2015-08-13 17:39:38.629320"], ["updated_at", "2015-08-13 17:39:38.629320"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-13 17:39:38.635534"], ["updated_at", "2015-08-13 17:39:38.635534"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-13"], ["completed_at", "2015-08-11 00:00:00.000000"], ["created_at", "2015-08-13 17:39:38.639603"], ["updated_at", "2015-08-13 17:39:38.639603"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 17:39:38.642825') AND ("social_networking_goals"."due_on" >= '2015-08-12 17:39:38.642860') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 17:39:38.645710') AND ("social_networking_goals"."due_on" >= '2015-08-12 17:39:38.645727')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 17:39:38.647435') AND ("social_networking_goals"."due_on" >= '2015-08-12 17:39:38.647452')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 17:39:38.773792"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 17:39:38.778153"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 17:39:38.786739"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (2.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 19:17:30', '2015-08-13 19:17:30', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 19:17:30', '2015-08-13 19:17:30', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 19:17:30.000000', '2015-08-13', '2015-08-13 19:17:30', '2015-08-13 19:17:30', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 19:17:30', '2015-08-13 19:17:30', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 19:17:30', '2015-08-13 19:17:30', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 19:17:30.000000', '2015-08-13', '2015-08-13 19:17:30', '2015-08-13 19:17:30', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 19:17:30', '2015-08-13 19:17:30', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 19:17:30', '2015-08-13 19:17:30', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 19:17:30.000000', '2015-08-13', '2015-08-13 19:17:30', '2015-08-13 19:17:30', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 19:17:30', '2015-08-13 19:17:30', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 19:17:30.000000', '2015-08-13', '2015-08-13 19:17:30', '2015-08-13 19:17:30', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 19:17:30', '2015-08-13 19:17:30', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 19:17:30.000000', '2015-08-13', '2015-08-13 19:17:30', '2015-08-13 19:17:30', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 19:17:30', '2015-08-13 19:17:30', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 19:17:30.000000', '2015-08-13 19:17:30', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 19:17:30.000000', '2015-08-13 19:17:30', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 19:17:30.000000', '2015-08-13 19:17:30', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 19:17:30.000000', '2015-08-13 19:17:30', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 19:17:30', '2015-08-13 19:17:30', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 19:17:30', '2015-08-13 19:17:30', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 19:17:30', '2015-08-13 19:17:30', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 19:17:30', '2015-08-13 19:17:30', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 19:17:30', '2015-08-13 19:17:30', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 19:17:30', '2015-08-13 19:17:30', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 19:17:30', '2015-08-13 19:17:30', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 19:17:30', '2015-08-13 19:17:30', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 19:17:30', '2015-08-13 19:17:30', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 19:17:30', '2015-08-13 19:17:30', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.5ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 14:17:31 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.5ms) Completed 200 OK in 200ms (Views: 110.3ms | ActiveRecord: 5.6ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-13 14:17:32 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-13 14:17:32 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-13 14:17:32 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-13 19:17:32.454543"], ["updated_at", "2015-08-13 19:17:32.460455"], ["id", 809335042]]  (6.0ms) COMMIT  (0.6ms) BEGIN SQL (0.8ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-13 19:17:32.477770"], ["updated_at", "2015-08-13 19:17:32.477770"]]  (5.7ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 36ms (Views: 0.3ms | ActiveRecord: 16.4ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 14:17:32 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 16ms (Views: 2.7ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-13 14:17:32 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-13 19:17:32.615060"], ["updated_at", "2015-08-13 19:17:32.617577"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 14:17:32 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 1.8ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-13 14:17:32 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-27", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (1.0ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-27"], ["created_at", "2015-08-13 19:17:32.830112"], ["updated_at", "2015-08-13 19:17:32.830112"]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-13 19:17:32.835220"], ["updated_at", "2015-08-13 19:17:32.835220"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 3.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 14:17:32 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.8ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-13 14:17:33 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-10", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-10"], ["updated_at", "2015-08-13 19:17:33.065937"], ["id", 53334230]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 2.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 14:17:33 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (6.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 19:17:33', '2015-08-13 19:17:33', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 19:17:33', '2015-08-13 19:17:33', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 19:17:33.000000', '2015-08-13', '2015-08-13 19:17:33', '2015-08-13 19:17:33', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 19:17:33', '2015-08-13 19:17:33', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 19:17:33', '2015-08-13 19:17:33', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 19:17:33.000000', '2015-08-13', '2015-08-13 19:17:33', '2015-08-13 19:17:33', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 19:17:33', '2015-08-13 19:17:33', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 19:17:33', '2015-08-13 19:17:33', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 19:17:33.000000', '2015-08-13', '2015-08-13 19:17:33', '2015-08-13 19:17:33', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 19:17:33', '2015-08-13 19:17:33', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 19:17:33.000000', '2015-08-13', '2015-08-13 19:17:33', '2015-08-13 19:17:33', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 19:17:33', '2015-08-13 19:17:33', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 19:17:33.000000', '2015-08-13', '2015-08-13 19:17:33', '2015-08-13 19:17:33', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 19:17:33', '2015-08-13 19:17:33', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 19:17:33.000000', '2015-08-13 19:17:33', 503297012, 700141617, 816972181) Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 19:17:33.000000', '2015-08-13 19:17:33', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 19:17:33.000000', '2015-08-13 19:17:33', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 19:17:33.000000', '2015-08-13 19:17:33', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 19:17:33', '2015-08-13 19:17:33', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 19:17:33', '2015-08-13 19:17:33', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 19:17:33', '2015-08-13 19:17:33', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 19:17:33', '2015-08-13 19:17:33', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 19:17:33', '2015-08-13 19:17:33', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 19:17:33', '2015-08-13 19:17:33', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 19:17:33', '2015-08-13 19:17:33', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 19:17:33', '2015-08-13 19:17:33', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 19:17:33', '2015-08-13 19:17:33', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 19:17:33', '2015-08-13 19:17:33', 809335042, 'SocialNetworking::Goal', 809335042)  (0.7ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 19:17:33.567854"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 19:17:33.575031"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 19:17:33.578080"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 19:17:33.585670') AND ("social_networking_goals"."due_on" >= '2015-08-12 19:17:33.585701')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 19:17:33.592139') AND ("social_networking_goals"."due_on" >= '2015-08-12 19:17:33.592162') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 19:17:33.594638') AND ("social_networking_goals"."due_on" >= '2015-08-12 19:17:33.594655')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-13"], ["completed_at", "2015-08-11 00:00:00.000000"], ["created_at", "2015-08-13 19:17:33.598120"], ["updated_at", "2015-08-13 19:17:33.598120"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-13 19:17:33.602231"], ["updated_at", "2015-08-13 19:17:33.602231"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-14"], ["created_at", "2015-08-13 19:17:33.606149"], ["updated_at", "2015-08-13 19:17:33.606149"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (9.2ms) Date: Thu, 13 Aug 2015 14:17:33 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cced4dcb234_1686e3ff2d84601f8899e0@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 222.0ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 14:17:33 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cced4dccf50_1686e3ff2d84601f89008b@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 14:17:33 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cced4dce630_1686e3ff2d84601f89015c@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 19:17:33.860065"], ["updated_at", "2015-08-13 19:17:33.860065"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 19:17:33.863190"], ["updated_at", "2015-08-13 19:17:33.863190"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 19:17:33.872715"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 19:17:33.878043"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 19:17:33.883396"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 19:17:33.886041"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-13 19:17:33.977638"], ["updated_at", "2015-08-13 19:17:33.977638"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 19:17:33.982424"], ["updated_at", "2015-08-13 19:17:33.982424"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 19:17:33.985283"], ["updated_at", "2015-08-13 19:17:33.985283"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.6ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (78.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.4ms) Date: Thu, 13 Aug 2015 14:17:34 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cced4e3f185_1686e3ff2d84601f890216@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 39.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Thu, 13 Aug 2015 14:17:34 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cced4e40419_1686e3ff2d84601f890341@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 14:17:34 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cced4e415ed_1686e3ff2d84601f89043e@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.5ms) Date: Thu, 13 Aug 2015 14:17:34 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cced4e561ae_1686e3ff2d84601f890512@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 38.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 13 Aug 2015 14:17:34 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cced4e57546_1686e3ff2d84601f89068e@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Thu, 13 Aug 2015 14:17:34 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cced4e586a6_1686e3ff2d84601f89078d@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 19:17:34.409571"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 19:17:34.416814"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 19:17:34.421929"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 19:17:34.444674"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 19:17:34.453991"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 19:17:34.501880"], ["updated_at", "2015-08-13 19:17:34.501880"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 19:17:34.504507"], ["updated_at", "2015-08-13 19:17:34.504507"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 19:17:34.510219"], ["updated_at", "2015-08-13 19:17:34.510219"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 19:17:34.512421"], ["updated_at", "2015-08-13 19:17:34.512421"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 19:17:34.523678"], ["updated_at", "2015-08-13 19:17:34.523678"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 19:17:34.525780"], ["updated_at", "2015-08-13 19:17:34.525780"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 19:17:34.530818"], ["updated_at", "2015-08-13 19:17:34.530818"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 19:17:34.532897"], ["updated_at", "2015-08-13 19:17:34.532897"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.4ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 19:17:34.615188"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 19:17:34.624525"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.2ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 19:17:34.627816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (8.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (0.9ms) DELETE FROM "participants" Fixture Insert (1.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.5ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (1.0ms) DELETE FROM "social_networking_comments" Fixture Insert (1.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 21:41:27', '2015-08-13 21:41:27', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (1.0ms) DELETE FROM "social_networking_goals" Fixture Insert (0.8ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 21:41:27', '2015-08-13 21:41:27', 809335042, 700141617) Fixture Insert (0.5ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 21:41:27.000000', '2015-08-13', '2015-08-13 21:41:27', '2015-08-13 21:41:27', 576699391, 700141617) Fixture Insert (0.8ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 21:41:27', '2015-08-13 21:41:27', 614371357, 700141617) Fixture Insert (0.5ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 21:41:27', '2015-08-13 21:41:27', 53334230, 700141617) Fixture Insert (0.5ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 21:41:27.000000', '2015-08-13', '2015-08-13 21:41:27', '2015-08-13 21:41:27', 916373174, 700141617) Fixture Insert (0.5ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 21:41:27', '2015-08-13 21:41:27', 717544784, 700141617) Fixture Insert (0.7ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 21:41:27', '2015-08-13 21:41:27', 938656909, 700141617) Fixture Insert (0.5ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 21:41:27.000000', '2015-08-13', '2015-08-13 21:41:27', '2015-08-13 21:41:27', 401619065, 700141617) Fixture Insert (0.5ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 21:41:27', '2015-08-13 21:41:27', 128166899, 816972181) Fixture Insert (0.6ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 21:41:27.000000', '2015-08-13', '2015-08-13 21:41:27', '2015-08-13 21:41:27', 1002298878, 816972181) Fixture Insert (0.5ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 21:41:27', '2015-08-13 21:41:27', 318784238, 816972181) Fixture Insert (0.7ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 21:41:27.000000', '2015-08-13', '2015-08-13 21:41:27', '2015-08-13 21:41:27', 16804933, 816972181) Fixture Delete (1.3ms) DELETE FROM "social_networking_likes" Fixture Insert (1.1ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 21:41:27', '2015-08-13 21:41:27', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (1.2ms) DELETE FROM "social_networking_nudges" Fixture Insert (1.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 21:41:27.000000', '2015-08-13 21:41:27', 503297012, 700141617, 816972181) Fixture Insert (0.6ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 21:41:27.000000', '2015-08-13 21:41:27', 366290861, 700141617, 816972181) Fixture Insert (0.5ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 21:41:27.000000', '2015-08-13 21:41:27', 931788854, 816972181, 700141617) Fixture Insert (0.5ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 21:41:27.000000', '2015-08-13 21:41:27', 316146702, 816972181, 700141617) Fixture Delete (1.1ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (1.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 21:41:27', '2015-08-13 21:41:27', 576803333, 700141617) Fixture Insert (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 21:41:27', '2015-08-13 21:41:27', 369066228, 816972181) Fixture Delete (1.0ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (1.0ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 21:41:27', '2015-08-13 21:41:27', 465319974, 333620620) Fixture Insert (0.5ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 21:41:27', '2015-08-13 21:41:27', 45443486, 333620620) Fixture Insert (0.7ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 21:41:27', '2015-08-13 21:41:27', 10484799, 183235640) Fixture Delete (0.8ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.9ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 21:41:27', '2015-08-13 21:41:27', 781294868) Fixture Insert (0.5ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 21:41:27', '2015-08-13 21:41:27', 932760744) Fixture Insert (0.5ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 21:41:27', '2015-08-13 21:41:27', 10484799) Fixture Delete (0.9ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.9ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 21:41:27', '2015-08-13 21:41:27', 183235640, 816972181) Fixture Delete (1.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (1.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 21:41:27', '2015-08-13 21:41:27', 809335042, 'SocialNetworking::Goal', 809335042)  (1.9ms) COMMIT  (6.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) BEGIN Participant Load (1.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (1.8ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.8ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.7ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.7ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.6ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (1.0ms) ROLLBACK  (0.3ms) BEGIN SocialNetworking::Nudge Load (1.8ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.4ms) SAVEPOINT active_record_1 SQL (0.7ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.6ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.7ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (1.7ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (1.8ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 21:41:28.032919"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (1.0ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 21:41:28.048835"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-06 00:00:00.000000')  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (1.0ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (1.1ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 21:41:28.080276"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-13 23:59:59.999999')  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (0.9ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.4ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (1.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (1.1ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 21:41:28.154859"], ["updated_at", "2015-08-13 21:41:28.154859"]] SQL (0.9ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 21:41:28.190788"], ["updated_at", "2015-08-13 21:41:28.190788"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.3ms) ROLLBACK  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.4ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.7ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.9ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 21:41:28.252537"], ["updated_at", "2015-08-13 21:41:28.252537"]] SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 21:41:28.262983"], ["updated_at", "2015-08-13 21:41:28.262983"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.5ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.4ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.7ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.8ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 21:41:28.282742"], ["updated_at", "2015-08-13 21:41:28.282742"]] SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 21:41:28.290664"], ["updated_at", "2015-08-13 21:41:28.290664"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Profile Load (0.8ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.7ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.6ms) ROLLBACK  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.9ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.9ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-13 21:41:28.351077"], ["updated_at", "2015-08-13 21:41:28.351077"]] SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-13 21:41:28.359480"], ["updated_at", "2015-08-13 21:41:28.359480"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.7ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.4ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 20ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.8ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 23ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.4ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 21ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.4ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 16:41:30 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (1.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (1.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (1.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.8ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.7ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.7ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.8ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (13.7ms) Completed 200 OK in 580ms (Views: 455.6ms | ActiveRecord: 20.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-13 16:41:31 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-13 16:41:31 -0500  (0.7ms) ROLLBACK  (0.3ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 16:41:32 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.9ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (1.0ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.7ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.8ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.3ms) Completed 200 OK in 96ms (Views: 39.2ms | ActiveRecord: 8.0ms) SocialNetworking::Goal Load (0.8ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-13 16:41:32 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-10", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (1.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (1.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (1.3ms) BEGIN Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (1.1ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-10"], ["updated_at", "2015-08-13 21:41:32.971749"], ["id", 53334230]]  (1.8ms) COMMIT SocialNetworking::Comment Load (0.7ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 45ms (Views: 1.6ms | ActiveRecord: 7.9ms)  (0.5ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 16:41:33 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.8ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.7ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.7ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (5.2ms) Completed 200 OK in 60ms (Views: 7.7ms | ActiveRecord: 6.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-13 16:41:33 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-27", "goal"=>{"description"=>"all of the things"}} Participant Load (1.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (1.4ms) BEGIN Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (3.0ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-27"], ["created_at", "2015-08-13 21:41:33.783185"], ["updated_at", "2015-08-13 21:41:33.783185"]]  (2.0ms) COMMIT  (0.3ms) BEGIN SQL (1.7ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-13 21:41:33.800406"], ["updated_at", "2015-08-13 21:41:33.800406"]]  (0.6ms) COMMIT SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 43ms (Views: 0.8ms | ActiveRecord: 11.5ms)  (0.6ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 16:41:33 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.7ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.8ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (5.3ms) Completed 200 OK in 64ms (Views: 7.3ms | ActiveRecord: 7.1ms) SocialNetworking::Goal Load (0.8ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-13 16:41:34 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (1.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (1.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (1.3ms) BEGIN Participant Load (1.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-13 21:41:34.447114"], ["updated_at", "2015-08-13 21:41:34.457418"], ["id", 809335042]]  (1.8ms) COMMIT  (1.2ms) BEGIN SQL (0.9ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-13 21:41:34.475106"], ["updated_at", "2015-08-13 21:41:34.475106"]]  (0.7ms) COMMIT SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 50ms (Views: 0.8ms | ActiveRecord: 11.5ms)  (0.6ms) ROLLBACK  (0.4ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-13 16:41:34 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.7ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (5.8ms) Completed 200 OK in 64ms (Views: 8.3ms | ActiveRecord: 7.0ms) SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-13 16:41:35 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-13", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (1.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.9ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (1.4ms) BEGIN Participant Load (1.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (1.1ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-13 21:41:35.232378"], ["updated_at", "2015-08-13 21:41:35.243379"], ["id", 614371357]]  (2.0ms) COMMIT SocialNetworking::Comment Load (1.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 38ms (Views: 1.1ms | ActiveRecord: 9.9ms)  (0.7ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.4ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (1.4ms) Sent mail to obama@ex.co (27.5ms) Date: Thu, 13 Aug 2015 16:41:36 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cd0f101dba2_22ef3fdd4546020031644@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 730.6ms  (0.5ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.2ms) Sent mail to obama@ex.co (8.2ms) Date: Thu, 13 Aug 2015 16:41:36 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cd0f1023a5f_22ef3fdd4546020031769@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 13.0ms  (0.4ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (9.1ms) Date: Thu, 13 Aug 2015 16:41:36 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cd0f1027a68_22ef3fdd45460200318f@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 12.9ms  (0.4ms) ROLLBACK  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.6ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.7ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.4ms) ROLLBACK  (5.4ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "participants" Fixture Insert (0.6ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.5ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.7ms) DELETE FROM "social_networking_goals" Fixture Insert (0.6ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-13', '2015-08-13 21:41:36', '2015-08-13 21:41:36', 809335042, 700141617) Fixture Insert (0.5ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-13 21:41:36.000000', '2015-08-13', '2015-08-13 21:41:36', '2015-08-13 21:41:36', 576699391, 700141617) Fixture Insert (0.5ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-13', '2015-08-13 21:41:36', '2015-08-13 21:41:36', 614371357, 700141617) Fixture Insert (0.5ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-13 21:41:36', '2015-08-13 21:41:36', 53334230, 700141617) Fixture Insert (0.6ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-13 21:41:36.000000', '2015-08-13', '2015-08-13 21:41:36', '2015-08-13 21:41:36', 916373174, 700141617) Fixture Insert (0.5ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-12', '2015-08-13 21:41:36', '2015-08-13 21:41:36', 717544784, 700141617) Fixture Insert (0.5ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-11', '2015-08-13 21:41:36', '2015-08-13 21:41:36', 938656909, 700141617) Fixture Insert (0.5ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-13 21:41:36.000000', '2015-08-13', '2015-08-13 21:41:36', '2015-08-13 21:41:36', 401619065, 700141617) Fixture Insert (0.5ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-13', '2015-08-13 21:41:36', '2015-08-13 21:41:36', 128166899, 816972181) Fixture Insert (0.6ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-13 21:41:36.000000', '2015-08-13', '2015-08-13 21:41:36', '2015-08-13 21:41:36', 1002298878, 816972181) Fixture Insert (0.5ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-13', '2015-08-13 21:41:36', '2015-08-13 21:41:36', 318784238, 816972181) Fixture Insert (0.5ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-13 21:41:36.000000', '2015-08-13', '2015-08-13 21:41:36', '2015-08-13 21:41:36', 16804933, 816972181)  (0.8ms) COMMIT  (4.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) BEGIN  (1.7ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.9ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.7ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.4ms) SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (1.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 21:41:36.302515"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (1.1ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 21:41:36.316975"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-06 00:00:00.000000')  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (1.0ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (1.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (1.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 21:41:36.345601"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-13 23:59:59.999999')  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 3ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 11ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.4ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 9ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 11ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.5ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 10ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 11ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.6ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 3ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 3ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (1.7ms) Sent mail to obama@ex.co (9.1ms) Date: Thu, 13 Aug 2015 16:41:36 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cd0f10d9a78_22ef3fdd45460200319eb@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 156.4ms  (0.4ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (7.6ms) Date: Thu, 13 Aug 2015 16:41:36 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cd0f10dd8de_22ef3fdd45460200320c0@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 11.0ms  (0.3ms) ROLLBACK  (0.4ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (7.5ms) Date: Thu, 13 Aug 2015 16:41:36 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cd0f10e11f6_22ef3fdd45460200321ed@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 10.8ms  (0.3ms) ROLLBACK  (0.3ms) BEGIN Participant Load (0.8ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.7ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.9ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.6ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.5ms) ROLLBACK  (3.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.5ms) BEGIN Fixture Delete (0.8ms) DELETE FROM "social_networking_comments" Fixture Insert (0.6ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-13 21:41:36', '2015-08-13 21:41:36', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (1.2ms) DELETE FROM "social_networking_likes" Fixture Insert (0.9ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-13 21:41:37', '2015-08-13 21:41:37', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (1.2ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.7ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 21:41:36.000000', '2015-08-13 21:41:37', 503297012, 700141617, 816972181) Fixture Insert (0.7ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 21:41:36.000000', '2015-08-13 21:41:37', 366290861, 700141617, 816972181) Fixture Insert (0.5ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-12 21:41:36.000000', '2015-08-13 21:41:37', 931788854, 816972181, 700141617) Fixture Insert (0.5ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 21:41:36.000000', '2015-08-13 21:41:37', 316146702, 816972181, 700141617) Fixture Delete (1.1ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.7ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-13 21:41:37', '2015-08-13 21:41:37', 576803333, 700141617) Fixture Insert (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-13 21:41:37', '2015-08-13 21:41:37', 369066228, 816972181) Fixture Delete (1.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.7ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-13 21:41:37', '2015-08-13 21:41:37', 465319974, 333620620) Fixture Insert (0.8ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-13 21:41:37', '2015-08-13 21:41:37', 45443486, 333620620) Fixture Insert (0.5ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-13 21:41:37', '2015-08-13 21:41:37', 10484799, 183235640) Fixture Delete (1.0ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.7ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-13 21:41:37', '2015-08-13 21:41:37', 781294868) Fixture Insert (0.6ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-13 21:41:37', '2015-08-13 21:41:37', 932760744) Fixture Insert (0.5ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-13 21:41:37', '2015-08-13 21:41:37', 10484799) Fixture Delete (1.0ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.7ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-13 21:41:37', '2015-08-13 21:41:37', 183235640, 816972181) Fixture Delete (0.8ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.6ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-13 21:41:37', '2015-08-13 21:41:37', 809335042, 'SocialNetworking::Goal', 809335042)  (0.7ms) COMMIT  (4.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) BEGIN SocialNetworking::Comment Load (1.0ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.8ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) ROLLBACK  (0.3ms) BEGIN SocialNetworking::Like Load (0.7ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.9ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.4ms) ROLLBACK  (0.3ms) BEGIN SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) ROLLBACK  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (1.0ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.7ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.7ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.7ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.4ms) ROLLBACK  (0.3ms) BEGIN SocialNetworking::Goal Load (1.0ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.6ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.7ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (1.1ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000') Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.4ms) SAVEPOINT active_record_1 Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (1.7ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 21:41:37.285744"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-13 23:59:59.999999' AND created_at >= '2015-08-13 00:00:00.000000')  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (1.0ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000') Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (1.9ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 21:41:37.311292"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (1.0ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 21:41:37.325039"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-06 00:00:00.000000')  (0.5ms) ROLLBACK  (0.4ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.4ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (1.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 21:41:37.349537"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK  (0.4ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 11ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.5ms) ROLLBACK  (0.4ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 3ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK  (0.3ms) BEGIN SocialNetworking::Goal Load (0.7ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.4ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-13 21:41:37.619775"], ["updated_at", "2015-08-13 21:41:37.619775"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.5ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (1.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 21:41:37.636655"], ["updated_at", "2015-08-13 21:41:37.636655"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 21:41:37.647144"], ["updated_at", "2015-08-13 21:41:37.647144"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.4ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (1.6ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (1.7ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (268.0ms)  (0.6ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) SAVEPOINT active_record_1  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.9ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.6ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (1.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 21:41:37.998841"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-05 00:00:00.000000"], ["updated_at", "2015-08-13 21:41:38.010734"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-06 00:00:00.000000')  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (1.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.4ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (1.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 21:41:38.033788"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-13 23:59:59.999999')  (0.4ms) ROLLBACK  (0.3ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) SAVEPOINT active_record_1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.4ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-13"], ["completed_at", "2015-08-11 00:00:00.000000"], ["created_at", "2015-08-13 21:41:38.063918"], ["updated_at", "2015-08-13 21:41:38.063918"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.4ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-14"], ["created_at", "2015-08-13 21:41:38.079040"], ["updated_at", "2015-08-13 21:41:38.079040"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.4ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-13 21:41:38.093403"], ["updated_at", "2015-08-13 21:41:38.093403"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (1.1ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 21:41:38.103308') AND ("social_networking_goals"."due_on" >= '2015-08-12 21:41:38.103410') SocialNetworking::Goal Load (1.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.6ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.8ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 21:41:38.113146') AND ("social_networking_goals"."due_on" >= '2015-08-12 21:41:38.113204')  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (1.1ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-13 21:41:38.120136') AND ("social_networking_goals"."due_on" >= '2015-08-12 21:41:38.120199')  (0.4ms) ROLLBACK  (0.3ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.8ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.7ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.6ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.7ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.5ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.4ms) ROLLBACK  (0.3ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.6ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.6ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.6ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.6ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.7ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.4ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.8ms) Completed 200 OK in 25ms (Views: 22.2ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (1.0ms) Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.7ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.6ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.7ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.6ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.9ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.7ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.6ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.8ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.7ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.4ms) ROLLBACK  (0.3ms) BEGIN SocialNetworking::Like Load (0.8ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.6ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.6ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.5ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.5ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.4ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.4ms) SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.9ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-13 21:41:38.320035"], ["updated_at", "2015-08-13 21:41:38.320035"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-13 21:41:38.329449"], ["updated_at", "2015-08-13 21:41:38.329449"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.8ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.6ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.4ms) ROLLBACK  (0.3ms) BEGIN SocialNetworking::SharedItem Load (0.6ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.6ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.6ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.4ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (1.3ms) Sent mail to obama@ex.co (8.3ms) Date: Thu, 13 Aug 2015 16:41:38 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cd0f127bf10_22ef3fdd4546020032253@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 142.5ms  (0.4ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (8.4ms) Date: Thu, 13 Aug 2015 16:41:38 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cd0f127fed0_22ef3fdd4546020032322@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 12.0ms  (0.5ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (7.8ms) Date: Thu, 13 Aug 2015 16:41:38 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55cd0f1283d1a_22ef3fdd45460200324e0@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 11.3ms  (0.4ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.1ms) Completed 202 Accepted in 12ms (Views: 10.5ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.5ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 3ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000') Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.4ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (1.0ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (1.2ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-13 21:41:38.787795"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.9ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-06 00:00:00.000000')  (0.3ms) ROLLBACK  (0.5ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999') Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.4ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.8ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (1.0ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (1.1ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-13 21:41:38.834250"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-13 23:59:59.999999')  (0.5ms) ROLLBACK  (0.3ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.7ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.8ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.4ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.5ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.8ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.7ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (1.0ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.3ms) BEGIN SocialNetworking::ProfileAnswer Load (0.7ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.8ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.8ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (1.1ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.4ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_nudge_alerts.html (7.1ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (143.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (71.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_nudge_alerts.html (5.1ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.7ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (159.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_nudge_alerts.html (4.2ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.3ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (127.0ms)  (0.2ms) ROLLBACK  (5.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (18.7ms) DELETE FROM "participants" Fixture Insert (2.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (13.2ms) DELETE FROM "social_networking_comments" Fixture Insert (4.7ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-14 15:05:31', '2015-08-14 15:05:31', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (1.8ms) DELETE FROM "social_networking_goals" Fixture Insert (0.6ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-14', '2015-08-14 15:05:31', '2015-08-14 15:05:31', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-14 15:05:31.000000', '2015-08-14', '2015-08-14 15:05:31', '2015-08-14 15:05:31', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-14', '2015-08-14 15:05:31', '2015-08-14 15:05:31', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-14 15:05:31', '2015-08-14 15:05:31', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-14 15:05:31.000000', '2015-08-14', '2015-08-14 15:05:31', '2015-08-14 15:05:31', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-13', '2015-08-14 15:05:31', '2015-08-14 15:05:31', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-12', '2015-08-14 15:05:31', '2015-08-14 15:05:31', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-14 15:05:31.000000', '2015-08-14', '2015-08-14 15:05:31', '2015-08-14 15:05:31', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-14', '2015-08-14 15:05:31', '2015-08-14 15:05:31', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-14 15:05:31.000000', '2015-08-14', '2015-08-14 15:05:31', '2015-08-14 15:05:31', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-14', '2015-08-14 15:05:31', '2015-08-14 15:05:31', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-14 15:05:31.000000', '2015-08-14', '2015-08-14 15:05:31', '2015-08-14 15:05:31', 16804933, 816972181) Fixture Delete (2.0ms) DELETE FROM "social_networking_likes" Fixture Insert (1.5ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-14 15:05:31', '2015-08-14 15:05:31', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (2.0ms) DELETE FROM "social_networking_nudges" Fixture Insert (1.6ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 15:05:31.000000', '2015-08-14 15:05:31', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 15:05:31.000000', '2015-08-14 15:05:31', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 15:05:31.000000', '2015-08-14 15:05:31', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 15:05:31.000000', '2015-08-14 15:05:31', 316146702, 816972181, 700141617) Fixture Delete (2.1ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (1.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-14 15:05:31', '2015-08-14 15:05:31', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-14 15:05:31', '2015-08-14 15:05:31', 369066228, 816972181) Fixture Delete (1.9ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.9ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-14 15:05:31', '2015-08-14 15:05:31', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-14 15:05:31', '2015-08-14 15:05:31', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-14 15:05:31', '2015-08-14 15:05:31', 10484799, 183235640) Fixture Delete (1.0ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.5ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-14 15:05:31', '2015-08-14 15:05:31', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-14 15:05:31', '2015-08-14 15:05:31', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-14 15:05:31', '2015-08-14 15:05:31', 10484799) Fixture Delete (1.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.7ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-14 15:05:31', '2015-08-14 15:05:31', 183235640, 816972181) Fixture Delete (1.9ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.9ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-14 15:05:31', '2015-08-14 15:05:31', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (7.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-14 15:05:31.505637"], ["updated_at", "2015-08-14 15:05:31.505637"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-14 15:05:31.520909"], ["updated_at", "2015-08-14 15:05:31.520909"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (5.6ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:05:31.709963"], ["updated_at", "2015-08-14 15:05:31.709963"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-14 15:05:31.714638"], ["updated_at", "2015-08-14 15:05:31.714638"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-14 15:05:31.719094"], ["updated_at", "2015-08-14 15:05:31.719094"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (25.8ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:05:31.767418"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-14 23:59:59.999999')  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:05:31.774860"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 15:05:31.777874"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 15:05:31.781601') AND ("social_networking_goals"."due_on" >= '2015-08-13 15:05:31.781637')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 15:05:31.786900') AND ("social_networking_goals"."due_on" >= '2015-08-13 15:05:31.786933') SocialNetworking::Goal Load (6.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 15:05:31.803126') AND ("social_networking_goals"."due_on" >= '2015-08-13 15:05:31.803148')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-14"], ["completed_at", "2015-08-12 00:00:00.000000"], ["created_at", "2015-08-14 15:05:31.807222"], ["updated_at", "2015-08-14 15:05:31.807222"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-14 15:05:31.814724"], ["updated_at", "2015-08-14 15:05:31.814724"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-15"], ["created_at", "2015-08-14 15:05:31.818753"], ["updated_at", "2015-08-14 15:05:31.818753"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 15:05:31.837471"], ["updated_at", "2015-08-14 15:05:31.837471"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:05:31.840370"], ["updated_at", "2015-08-14 15:05:31.840370"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 15:05:31.846188"], ["updated_at", "2015-08-14 15:05:31.846188"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:05:31.848291"], ["updated_at", "2015-08-14 15:05:31.848291"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 15:05:31.865751"], ["updated_at", "2015-08-14 15:05:31.865751"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:05:31.867974"], ["updated_at", "2015-08-14 15:05:31.867974"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 15:05:31.874075"], ["updated_at", "2015-08-14 15:05:31.874075"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:05:31.876298"], ["updated_at", "2015-08-14 15:05:31.876298"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_nudge_alerts.html.erb (0.6ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (215.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-14 23:59:59.999999' AND created_at >= '2015-08-14 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:05:32.206533"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-14 23:59:59.999999' AND created_at >= '2015-08-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:05:32.213471"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 15:05:32.216365"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-07 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:05:32.222322"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (9.8ms) Date: Fri, 14 Aug 2015 10:05:32 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce03bc6ef0f_4ae63fd88d460208898ce@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 227.1ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Fri, 14 Aug 2015 10:05:32 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce03bc71057_4ae63fd88d46020889945@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 14 Aug 2015 10:05:32 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce03bc720e7_4ae63fd88d460208900df@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:05:32.477525"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:05:32.485666"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:05:32.561726"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:05:32.568711"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 15:05:32.571738"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:05:32.615784"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:05:32.626837"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 15:05:32.630707"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.2ms) Date: Fri, 14 Aug 2015 10:05:32 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce03bca4a42_4ae63fd88d460208901f3@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 40.6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 14 Aug 2015 10:05:32 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce03bca5caf_4ae63fd88d46020890270@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.5ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.6ms) Date: Fri, 14 Aug 2015 10:05:32 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce03bca788a_4ae63fd88d4602089034@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 5.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.9ms) Date: Fri, 14 Aug 2015 10:05:32 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce03bcda116_4ae63fd88d460208904c9@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 44.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Fri, 14 Aug 2015 10:05:32 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce03bcdb413_4ae63fd88d4602089051e@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.4ms) Date: Fri, 14 Aug 2015 10:05:32 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce03bcdcba1_4ae63fd88d460208906e6@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 5.2ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:05:33 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.7ms) Completed 200 OK in 118ms (Views: 72.8ms | ActiveRecord: 6.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-14 10:05:33 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-14 10:05:33 -0500 SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-14 10:05:34 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-11", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-11"], ["updated_at", "2015-08-14 15:05:34.293016"], ["id", 53334230]]  (6.0ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 19ms (Views: 0.6ms | ActiveRecord: 8.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:05:34 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 17ms (Views: 1.9ms | ActiveRecord: 2.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:05:34 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 2.3ms | ActiveRecord: 1.8ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-14 10:05:34 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-28", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-28"], ["created_at", "2015-08-14 15:05:34.648640"], ["updated_at", "2015-08-14 15:05:34.648640"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:05:34.654271"], ["updated_at", "2015-08-14 15:05:34.654271"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 4.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:05:34 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 18ms (Views: 2.1ms | ActiveRecord: 2.2ms) SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-14 10:05:34 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-14", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-14 15:05:34.956583"], ["updated_at", "2015-08-14 15:05:34.959031"], ["id", 809335042]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:05:34.964451"], ["updated_at", "2015-08-14 15:05:34.964451"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 3.7ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:05:34 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 21ms (Views: 2.0ms | ActiveRecord: 2.3ms) SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-14 10:05:35 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-14", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-14 15:05:35.260303"], ["updated_at", "2015-08-14 15:05:35.262943"], ["id", 614371357]]  (1.6ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.6ms | ActiveRecord: 3.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (3.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-14', '2015-08-14 15:22:00', '2015-08-14 15:22:00', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-14 15:22:00.000000', '2015-08-14', '2015-08-14 15:22:00', '2015-08-14 15:22:00', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-14', '2015-08-14 15:22:00', '2015-08-14 15:22:00', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-14 15:22:00', '2015-08-14 15:22:00', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-14 15:22:00.000000', '2015-08-14', '2015-08-14 15:22:00', '2015-08-14 15:22:00', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-13', '2015-08-14 15:22:00', '2015-08-14 15:22:00', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-12', '2015-08-14 15:22:00', '2015-08-14 15:22:00', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-14 15:22:00.000000', '2015-08-14', '2015-08-14 15:22:00', '2015-08-14 15:22:00', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-14', '2015-08-14 15:22:00', '2015-08-14 15:22:00', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-14 15:22:00.000000', '2015-08-14', '2015-08-14 15:22:00', '2015-08-14 15:22:00', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-14', '2015-08-14 15:22:00', '2015-08-14 15:22:00', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-14 15:22:00.000000', '2015-08-14', '2015-08-14 15:22:00', '2015-08-14 15:22:00', 16804933, 816972181)  (6.0ms) COMMIT  (6.7ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (0.9ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-14 23:59:59.999999' AND created_at >= '2015-08-14 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:00.455405"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-14 23:59:59.999999' AND created_at >= '2015-08-14 00:00:00.000000')  (0.4ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:00.468464"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-07 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:00.476469"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:00.481441"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-07 00:00:00.000000')  (0.2ms) ROLLBACK  (2.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-14 15:22:00', '2015-08-14 15:22:00', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042)  (5.5ms) COMMIT  (6.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.5ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.5ms) Completed 200 OK in 20ms (Views: 14.3ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (6.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-14 15:22:00', '2015-08-14 15:22:00', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 15:22:00.000000', '2015-08-14 15:22:00', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 15:22:00.000000', '2015-08-14 15:22:00', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 15:22:00.000000', '2015-08-14 15:22:00', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 15:22:00.000000', '2015-08-14 15:22:00', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-14 15:22:00', '2015-08-14 15:22:00', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-14 15:22:00', '2015-08-14 15:22:00', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-14 15:22:00', '2015-08-14 15:22:00', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-14 15:22:00', '2015-08-14 15:22:00', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-14 15:22:00', '2015-08-14 15:22:00', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-14 15:22:00', '2015-08-14 15:22:00', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-14 15:22:00', '2015-08-14 15:22:00', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-14 15:22:00', '2015-08-14 15:22:00', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-14 15:22:00', '2015-08-14 15:22:00', 183235640, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-14 15:22:00', '2015-08-14 15:22:00', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (7.7ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (1.3ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (149.3ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-14 15:22:00.830291"], ["updated_at", "2015-08-14 15:22:00.830291"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-14 15:22:00.834424"], ["updated_at", "2015-08-14 15:22:00.834424"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:00.845353"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:00.857518"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:00.861180"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 15:22:00.869206') AND ("social_networking_goals"."due_on" >= '2015-08-13 15:22:00.869242')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 15:22:00.875279') AND ("social_networking_goals"."due_on" >= '2015-08-13 15:22:00.875307') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 15:22:00.878349') AND ("social_networking_goals"."due_on" >= '2015-08-13 15:22:00.878375')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-14 15:22:00.881895"], ["updated_at", "2015-08-14 15:22:00.881895"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-14"], ["completed_at", "2015-08-12 00:00:00.000000"], ["created_at", "2015-08-14 15:22:00.887186"], ["updated_at", "2015-08-14 15:22:00.887186"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-15"], ["created_at", "2015-08-14 15:22:00.892022"], ["updated_at", "2015-08-14 15:22:00.892022"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:22:01 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.3ms) Completed 200 OK in 102ms (Views: 71.3ms | ActiveRecord: 5.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-14 10:22:01 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-14 10:22:01 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-14 10:22:01 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-11", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-11"], ["updated_at", "2015-08-14 15:22:01.961636"], ["id", 53334230]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 27ms (Views: 0.3ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:22:02 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 17ms (Views: 2.1ms | ActiveRecord: 2.3ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-14 10:22:02 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-14", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-14 15:22:02.260214"], ["updated_at", "2015-08-14 15:22:02.263125"], ["id", 809335042]]  (1.4ms) COMMIT  (0.7ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:22:02.269130"], ["updated_at", "2015-08-14 15:22:02.269130"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 17ms (Views: 0.8ms | ActiveRecord: 4.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:22:02 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 14ms (Views: 2.0ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-14 10:22:02 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-14", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-14 15:22:02.419381"], ["updated_at", "2015-08-14 15:22:02.422516"], ["id", 614371357]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:22:02 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 2.1ms | ActiveRecord: 1.9ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-14 10:22:02 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-28", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-28"], ["created_at", "2015-08-14 15:22:02.738867"], ["updated_at", "2015-08-14 15:22:02.738867"]]  (1.6ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:22:02.743793"], ["updated_at", "2015-08-14 15:22:02.743793"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 3.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:22:02 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 15ms (Views: 1.7ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (6.6ms) Date: Fri, 14 Aug 2015 10:22:03 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce079b5a359_53f43ff5904601fc14313@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 296.6ms  (0.3ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 14 Aug 2015 10:22:03 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce079b5c013_53f43ff5904601fc1446e@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.4ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.6ms) Date: Fri, 14 Aug 2015 10:22:03 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce079b5e5ca_53f43ff5904601fc14519@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 5.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (1.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-14 15:22:03', '2015-08-14 15:22:03', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-14', '2015-08-14 15:22:03', '2015-08-14 15:22:03', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-14 15:22:03.000000', '2015-08-14', '2015-08-14 15:22:03', '2015-08-14 15:22:03', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-14', '2015-08-14 15:22:03', '2015-08-14 15:22:03', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-14 15:22:03', '2015-08-14 15:22:03', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-14 15:22:03.000000', '2015-08-14', '2015-08-14 15:22:03', '2015-08-14 15:22:03', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-13', '2015-08-14 15:22:03', '2015-08-14 15:22:03', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-12', '2015-08-14 15:22:03', '2015-08-14 15:22:03', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-14 15:22:03.000000', '2015-08-14', '2015-08-14 15:22:03', '2015-08-14 15:22:03', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-14', '2015-08-14 15:22:03', '2015-08-14 15:22:03', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-14 15:22:03.000000', '2015-08-14', '2015-08-14 15:22:03', '2015-08-14 15:22:03', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-14', '2015-08-14 15:22:03', '2015-08-14 15:22:03', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-14 15:22:03.000000', '2015-08-14', '2015-08-14 15:22:03', '2015-08-14 15:22:03', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-14 15:22:03', '2015-08-14 15:22:03', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 15:22:03.000000', '2015-08-14 15:22:03', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 15:22:03.000000', '2015-08-14 15:22:03', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 15:22:03.000000', '2015-08-14 15:22:03', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 15:22:03.000000', '2015-08-14 15:22:03', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-14 15:22:03', '2015-08-14 15:22:03', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-14 15:22:03', '2015-08-14 15:22:03', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-14 15:22:03', '2015-08-14 15:22:03', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-14 15:22:03', '2015-08-14 15:22:03', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-14 15:22:03', '2015-08-14 15:22:03', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-14 15:22:03', '2015-08-14 15:22:03', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-14 15:22:03', '2015-08-14 15:22:03', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-14 15:22:03', '2015-08-14 15:22:03', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-14 15:22:03', '2015-08-14 15:22:03', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-14 15:22:03', '2015-08-14 15:22:03', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 15:22:03.538333"], ["updated_at", "2015-08-14 15:22:03.538333"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:22:03.542118"], ["updated_at", "2015-08-14 15:22:03.542118"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 15:22:03.548506"], ["updated_at", "2015-08-14 15:22:03.548506"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:22:03.550881"], ["updated_at", "2015-08-14 15:22:03.550881"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 15:22:03.564628"], ["updated_at", "2015-08-14 15:22:03.564628"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:22:03.567202"], ["updated_at", "2015-08-14 15:22:03.567202"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 15:22:03.572473"], ["updated_at", "2015-08-14 15:22:03.572473"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:22:03.575071"], ["updated_at", "2015-08-14 15:22:03.575071"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:03.631384"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:03.639543"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:03.643184"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:22:03.748136"], ["updated_at", "2015-08-14 15:22:03.748136"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-14 15:22:03.752617"], ["updated_at", "2015-08-14 15:22:03.752617"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-14 15:22:03.755357"], ["updated_at", "2015-08-14 15:22:03.755357"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:03.783614"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:03.790998"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:03.794475"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 14 Aug 2015 10:22:03 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce079bcd61a_53f43ff5904601fc1461d@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 43.3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 14 Aug 2015 10:22:03 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce079bce85b_53f43ff5904601fc147e1@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 14 Aug 2015 10:22:03 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce079bcf995_53f43ff5904601fc148e5@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 14 Aug 2015 10:22:03 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce079beac2a_53f43ff5904601fc149d0@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 46.0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Fri, 14 Aug 2015 10:22:03 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce079bebe7a_53f43ff5904601fc1504d@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 14 Aug 2015 10:22:03 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce079becec3_53f43ff5904601fc151f0@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:04.059222"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:04.068879"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 1.2ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (2.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-14 15:22:20', '2015-08-14 15:22:20', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.5ms) COMMIT  (1.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (1.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-14 15:22:20', '2015-08-14 15:22:20', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-14', '2015-08-14 15:22:20', '2015-08-14 15:22:20', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-14 15:22:20.000000', '2015-08-14', '2015-08-14 15:22:20', '2015-08-14 15:22:20', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-14', '2015-08-14 15:22:20', '2015-08-14 15:22:20', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-14 15:22:20', '2015-08-14 15:22:20', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-14 15:22:20.000000', '2015-08-14', '2015-08-14 15:22:20', '2015-08-14 15:22:20', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-13', '2015-08-14 15:22:20', '2015-08-14 15:22:20', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-12', '2015-08-14 15:22:20', '2015-08-14 15:22:20', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-14 15:22:20.000000', '2015-08-14', '2015-08-14 15:22:20', '2015-08-14 15:22:20', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-14', '2015-08-14 15:22:20', '2015-08-14 15:22:20', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-14 15:22:20.000000', '2015-08-14', '2015-08-14 15:22:20', '2015-08-14 15:22:20', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-14', '2015-08-14 15:22:20', '2015-08-14 15:22:20', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-14 15:22:20.000000', '2015-08-14', '2015-08-14 15:22:20', '2015-08-14 15:22:20', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 15:22:20.000000', '2015-08-14 15:22:20', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 15:22:20.000000', '2015-08-14 15:22:20', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 15:22:20.000000', '2015-08-14 15:22:20', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 15:22:20.000000', '2015-08-14 15:22:20', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-14 15:22:20', '2015-08-14 15:22:20', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-14 15:22:20', '2015-08-14 15:22:20', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-14 15:22:20', '2015-08-14 15:22:20', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-14 15:22:20', '2015-08-14 15:22:20', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-14 15:22:20', '2015-08-14 15:22:20', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-14 15:22:20', '2015-08-14 15:22:20', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-14 15:22:20', '2015-08-14 15:22:20', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-14 15:22:20', '2015-08-14 15:22:20', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-14 15:22:20', '2015-08-14 15:22:20', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-14 15:22:20', '2015-08-14 15:22:20', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.9ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:22:20 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.4ms) Completed 200 OK in 91ms (Views: 58.4ms | ActiveRecord: 5.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-14 10:22:21 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-14 10:22:21 -0500 Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-14 10:22:21 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-28", "goal"=>{"description"=>"all of the things"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-28"], ["created_at", "2015-08-14 15:22:21.408377"], ["updated_at", "2015-08-14 15:22:21.408377"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:22:21.413990"], ["updated_at", "2015-08-14 15:22:21.413990"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 29ms (Views: 0.3ms | ActiveRecord: 6.4ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:22:21 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 18ms (Views: 2.1ms | ActiveRecord: 2.3ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-14 10:22:21 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-11", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-11"], ["updated_at", "2015-08-14 15:22:21.653846"], ["id", 53334230]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.4ms | ActiveRecord: 2.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:22:21 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 16ms (Views: 2.0ms | ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:22:21 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 17ms (Views: 2.1ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-14 10:22:21 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-14", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-14 15:22:21.980140"], ["updated_at", "2015-08-14 15:22:21.983009"], ["id", 809335042]]  (1.5ms) COMMIT  (0.5ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:22:21.988631"], ["updated_at", "2015-08-14 15:22:21.988631"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 4.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:22:22 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.6ms) Completed 200 OK in 17ms (Views: 3.6ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-14 10:22:22 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-14", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-14 15:22:22.284222"], ["updated_at", "2015-08-14 15:22:22.287150"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.4ms | ActiveRecord: 3.5ms)  (0.1ms) ROLLBACK  (1.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-14', '2015-08-14 15:22:22', '2015-08-14 15:22:22', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-14 15:22:22.000000', '2015-08-14', '2015-08-14 15:22:22', '2015-08-14 15:22:22', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-14', '2015-08-14 15:22:22', '2015-08-14 15:22:22', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-14 15:22:22', '2015-08-14 15:22:22', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-14 15:22:22.000000', '2015-08-14', '2015-08-14 15:22:22', '2015-08-14 15:22:22', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-13', '2015-08-14 15:22:22', '2015-08-14 15:22:22', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-12', '2015-08-14 15:22:22', '2015-08-14 15:22:22', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-14 15:22:22.000000', '2015-08-14', '2015-08-14 15:22:22', '2015-08-14 15:22:22', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-14', '2015-08-14 15:22:22', '2015-08-14 15:22:22', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-14 15:22:22.000000', '2015-08-14', '2015-08-14 15:22:22', '2015-08-14 15:22:22', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-14', '2015-08-14 15:22:22', '2015-08-14 15:22:22', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-14 15:22:22.000000', '2015-08-14', '2015-08-14 15:22:22', '2015-08-14 15:22:22', 16804933, 816972181)  (0.3ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (1.0ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:22.353828"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:22.360117"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:22.368730"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:22:22.374475"], ["updated_at", "2015-08-14 15:22:22.374475"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-14 15:22:22.386349"], ["updated_at", "2015-08-14 15:22:22.386349"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-14 15:22:22.389930"], ["updated_at", "2015-08-14 15:22:22.389930"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-14 23:59:59.999999' AND created_at >= '2015-08-14 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:22.396293"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-14 23:59:59.999999' AND created_at >= '2015-08-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:22.402415"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:22.405120"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:22.412459"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (139.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:22.615014"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:22.632207"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (112.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-14 15:22:22', '2015-08-14 15:22:22', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-14 15:22:22', '2015-08-14 15:22:22', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 15:22:22.000000', '2015-08-14 15:22:22', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 15:22:22.000000', '2015-08-14 15:22:22', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 15:22:22.000000', '2015-08-14 15:22:22', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 15:22:22.000000', '2015-08-14 15:22:22', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-14 15:22:22', '2015-08-14 15:22:22', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-14 15:22:22', '2015-08-14 15:22:22', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-14 15:22:22', '2015-08-14 15:22:22', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-14 15:22:22', '2015-08-14 15:22:22', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-14 15:22:22', '2015-08-14 15:22:22', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-14 15:22:22', '2015-08-14 15:22:22', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-14 15:22:22', '2015-08-14 15:22:22', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-14 15:22:22', '2015-08-14 15:22:22', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-14 15:22:22', '2015-08-14 15:22:22', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-14 15:22:22', '2015-08-14 15:22:22', 809335042, 'SocialNetworking::Goal', 809335042)  (0.8ms) COMMIT  (1.5ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.4ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:22.958177"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:22.961735"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:22.968721"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-14"], ["completed_at", "2015-08-12 00:00:00.000000"], ["created_at", "2015-08-14 15:22:22.974347"], ["updated_at", "2015-08-14 15:22:22.974347"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-15"], ["created_at", "2015-08-14 15:22:22.981354"], ["updated_at", "2015-08-14 15:22:22.981354"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-14 15:22:22.985314"], ["updated_at", "2015-08-14 15:22:22.985314"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 15:22:22.988085') AND ("social_networking_goals"."due_on" >= '2015-08-13 15:22:22.988115') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 15:22:22.991198') AND ("social_networking_goals"."due_on" >= '2015-08-13 15:22:22.991218')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 15:22:22.992999') AND ("social_networking_goals"."due_on" >= '2015-08-13 15:22:22.993019')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:23.004655"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:23.008376"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:23.016587"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (6.4ms) Date: Fri, 14 Aug 2015 10:22:23 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce07af4a1aa_545f3fd80d8601f832327@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 283.9ms  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.6ms) Date: Fri, 14 Aug 2015 10:22:23 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce07af4c457_545f3fd80d8601f832464@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 5.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Fri, 14 Aug 2015 10:22:23 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce07af4d87c_545f3fd80d8601f83251a@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 15:22:23.326168"], ["updated_at", "2015-08-14 15:22:23.326168"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:22:23.329097"], ["updated_at", "2015-08-14 15:22:23.329097"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 15:22:23.334805"], ["updated_at", "2015-08-14 15:22:23.334805"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:22:23.337037"], ["updated_at", "2015-08-14 15:22:23.337037"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 15:22:23.342156"], ["updated_at", "2015-08-14 15:22:23.342156"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:22:23.344514"], ["updated_at", "2015-08-14 15:22:23.344514"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 15:22:23.354001"], ["updated_at", "2015-08-14 15:22:23.354001"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:22:23.356096"], ["updated_at", "2015-08-14 15:22:23.356096"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 14 Aug 2015 10:22:23 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce07af6b0a1_545f3fd80d8601f83261c@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 38.4ms  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.2ms) Date: Fri, 14 Aug 2015 10:22:23 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce07af6cdda_545f3fd80d8601f83272d@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 6.2ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Fri, 14 Aug 2015 10:22:23 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce07af6e4ae_545f3fd80d8601f8328d9@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-14 15:22:23.456909"], ["updated_at", "2015-08-14 15:22:23.456909"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-14 15:22:23.460020"], ["updated_at", "2015-08-14 15:22:23.460020"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.5ms) Date: Fri, 14 Aug 2015 10:22:23 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce07af8b574_545f3fd80d8601f83291e@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 42.7ms  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.9ms) Date: Fri, 14 Aug 2015 10:22:23 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce07af8d500_545f3fd80d8601f8330ce@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 5.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.6ms) Date: Fri, 14 Aug 2015 10:22:23 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce07af8ee19_545f3fd80d8601f833167@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 4.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (5.1ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (147.8ms)  (0.2ms) ROLLBACK  (4.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:31.877001"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:31.880890"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:31.888451"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-14"], ["completed_at", "2015-08-12 00:00:00.000000"], ["created_at", "2015-08-14 15:22:31.894162"], ["updated_at", "2015-08-14 15:22:31.894162"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-15"], ["created_at", "2015-08-14 15:22:31.900535"], ["updated_at", "2015-08-14 15:22:31.900535"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-14 15:22:31.905861"], ["updated_at", "2015-08-14 15:22:31.905861"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-14 15:22:31', '2015-08-14 15:22:31', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-14', '2015-08-14 15:22:31', '2015-08-14 15:22:31', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-14 15:22:31.000000', '2015-08-14', '2015-08-14 15:22:31', '2015-08-14 15:22:31', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-14', '2015-08-14 15:22:31', '2015-08-14 15:22:31', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-14 15:22:31', '2015-08-14 15:22:31', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-14 15:22:31.000000', '2015-08-14', '2015-08-14 15:22:31', '2015-08-14 15:22:31', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-13', '2015-08-14 15:22:31', '2015-08-14 15:22:31', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-12', '2015-08-14 15:22:31', '2015-08-14 15:22:31', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-14 15:22:31.000000', '2015-08-14', '2015-08-14 15:22:31', '2015-08-14 15:22:31', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-14', '2015-08-14 15:22:31', '2015-08-14 15:22:31', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-14 15:22:31.000000', '2015-08-14', '2015-08-14 15:22:31', '2015-08-14 15:22:31', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-14', '2015-08-14 15:22:31', '2015-08-14 15:22:31', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-14 15:22:31.000000', '2015-08-14', '2015-08-14 15:22:31', '2015-08-14 15:22:31', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-14 15:22:31', '2015-08-14 15:22:31', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 15:22:31.000000', '2015-08-14 15:22:31', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 15:22:31.000000', '2015-08-14 15:22:31', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 15:22:31.000000', '2015-08-14 15:22:31', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 15:22:31.000000', '2015-08-14 15:22:31', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-14 15:22:31', '2015-08-14 15:22:31', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-14 15:22:31', '2015-08-14 15:22:31', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-14 15:22:31', '2015-08-14 15:22:31', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-14 15:22:31', '2015-08-14 15:22:31', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-14 15:22:31', '2015-08-14 15:22:31', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-14 15:22:31', '2015-08-14 15:22:31', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-14 15:22:31', '2015-08-14 15:22:31', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-14 15:22:31', '2015-08-14 15:22:31', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-14 15:22:31', '2015-08-14 15:22:31', 183235640, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-14 15:22:31', '2015-08-14 15:22:31', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.7ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 15:22:31.974333') AND ("social_networking_goals"."due_on" >= '2015-08-13 15:22:31.974371') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 15:22:31.978500') AND ("social_networking_goals"."due_on" >= '2015-08-13 15:22:31.978521')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 15:22:31.980442') AND ("social_networking_goals"."due_on" >= '2015-08-13 15:22:31.980459')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:22:32 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.2ms) Completed 200 OK in 82ms (Views: 51.0ms | ActiveRecord: 5.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-14 10:22:32 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-14 10:22:32 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-14 10:22:33 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-14", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-14 15:22:33.111821"], ["updated_at", "2015-08-14 15:22:33.114996"], ["id", 809335042]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:22:33.130584"], ["updated_at", "2015-08-14 15:22:33.130584"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 28ms (Views: 0.4ms | ActiveRecord: 5.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:22:33 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 18ms (Views: 2.3ms | ActiveRecord: 2.3ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-14 10:22:33 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-11", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-11"], ["updated_at", "2015-08-14 15:22:33.435184"], ["id", 53334230]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 2.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:22:33 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 29ms (Views: 1.9ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:22:33 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 14ms (Views: 2.0ms | ActiveRecord: 1.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-14 10:22:33 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-28", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-28"], ["created_at", "2015-08-14 15:22:33.897814"], ["updated_at", "2015-08-14 15:22:33.897814"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:22:33.902761"], ["updated_at", "2015-08-14 15:22:33.902761"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 3.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:22:33 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 16ms (Views: 2.0ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-14 10:22:34 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-14", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-14 15:22:34.127573"], ["updated_at", "2015-08-14 15:22:34.129896"], ["id", 614371357]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (1.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-14', '2015-08-14 15:22:34', '2015-08-14 15:22:34', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-14 15:22:34.000000', '2015-08-14', '2015-08-14 15:22:34', '2015-08-14 15:22:34', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-14', '2015-08-14 15:22:34', '2015-08-14 15:22:34', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-14 15:22:34', '2015-08-14 15:22:34', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-14 15:22:34.000000', '2015-08-14', '2015-08-14 15:22:34', '2015-08-14 15:22:34', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-13', '2015-08-14 15:22:34', '2015-08-14 15:22:34', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-12', '2015-08-14 15:22:34', '2015-08-14 15:22:34', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-14 15:22:34.000000', '2015-08-14', '2015-08-14 15:22:34', '2015-08-14 15:22:34', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-14', '2015-08-14 15:22:34', '2015-08-14 15:22:34', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-14 15:22:34.000000', '2015-08-14', '2015-08-14 15:22:34', '2015-08-14 15:22:34', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-14', '2015-08-14 15:22:34', '2015-08-14 15:22:34', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-14 15:22:34.000000', '2015-08-14', '2015-08-14 15:22:34', '2015-08-14 15:22:34', 16804933, 816972181)  (0.3ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-07 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:34.266035"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:34.269888"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-07 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-14 23:59:59.999999' AND created_at >= '2015-08-14 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:34.278239"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-14 23:59:59.999999' AND created_at >= '2015-08-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:34.283938"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (1.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-14 15:22:34', '2015-08-14 15:22:34', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-14 15:22:34', '2015-08-14 15:22:34', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 15:22:34.000000', '2015-08-14 15:22:34', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 15:22:34.000000', '2015-08-14 15:22:34', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 15:22:34.000000', '2015-08-14 15:22:34', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 15:22:34.000000', '2015-08-14 15:22:34', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-14 15:22:34', '2015-08-14 15:22:34', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-14 15:22:34', '2015-08-14 15:22:34', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-14 15:22:34', '2015-08-14 15:22:34', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-14 15:22:34', '2015-08-14 15:22:34', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-14 15:22:34', '2015-08-14 15:22:34', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-14 15:22:34', '2015-08-14 15:22:34', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-14 15:22:34', '2015-08-14 15:22:34', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-14 15:22:34', '2015-08-14 15:22:34', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-14 15:22:34', '2015-08-14 15:22:34', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-14 15:22:34', '2015-08-14 15:22:34', 809335042, 'SocialNetworking::Goal', 809335042)  (0.7ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-14 15:22:34.414972"], ["updated_at", "2015-08-14 15:22:34.414972"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-14 15:22:34.417953"], ["updated_at", "2015-08-14 15:22:34.417953"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (7.3ms) Date: Fri, 14 Aug 2015 10:22:34 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce07baaec25_546d3fe4b485e200186e3@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 285.7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 14 Aug 2015 10:22:34 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce07bab06da_546d3fe4b485e200187c2@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 14 Aug 2015 10:22:34 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce07bab197d_546d3fe4b485e200188f7@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:34.837801"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:34.842008"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:34.850022"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:34.862808"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:34.877619"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (2.7ms) Date: Fri, 14 Aug 2015 10:22:34 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce07bae8e4c_546d3fe4b485e20018961@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 45.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 14 Aug 2015 10:22:34 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce07baea215_546d3fe4b485e20019040@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 14 Aug 2015 10:22:34 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce07baeb4fb_546d3fe4b485e20019161@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:22:34.984028"], ["updated_at", "2015-08-14 15:22:34.984028"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-14 15:22:34.989048"], ["updated_at", "2015-08-14 15:22:34.989048"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-14 15:22:34.991928"], ["updated_at", "2015-08-14 15:22:34.991928"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:35.029686"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:35.033507"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:22:35.040866"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 15:22:35.049079"], ["updated_at", "2015-08-14 15:22:35.049079"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:22:35.051579"], ["updated_at", "2015-08-14 15:22:35.051579"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 15:22:35.057613"], ["updated_at", "2015-08-14 15:22:35.057613"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:22:35.060084"], ["updated_at", "2015-08-14 15:22:35.060084"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 15:22:35.065450"], ["updated_at", "2015-08-14 15:22:35.065450"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:22:35.067642"], ["updated_at", "2015-08-14 15:22:35.067642"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 15:22:35.077331"], ["updated_at", "2015-08-14 15:22:35.077331"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:22:35.079439"], ["updated_at", "2015-08-14 15:22:35.079439"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.6ms) Date: Fri, 14 Aug 2015 10:22:35 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce07bb35efd_546d3fe4b485e20019222@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 44.6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.8ms) Date: Fri, 14 Aug 2015 10:22:35 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce07bb376d7_546d3fe4b485e20019325@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 4.4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 14 Aug 2015 10:22:35 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce07bb38a97_546d3fe4b485e200194ea@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (2.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-14 15:25:20', '2015-08-14 15:25:20', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-14', '2015-08-14 15:25:20', '2015-08-14 15:25:20', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-14 15:25:20.000000', '2015-08-14', '2015-08-14 15:25:20', '2015-08-14 15:25:20', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-14', '2015-08-14 15:25:20', '2015-08-14 15:25:20', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-14 15:25:20', '2015-08-14 15:25:20', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-14 15:25:20.000000', '2015-08-14', '2015-08-14 15:25:20', '2015-08-14 15:25:20', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-13', '2015-08-14 15:25:20', '2015-08-14 15:25:20', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-12', '2015-08-14 15:25:20', '2015-08-14 15:25:20', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-14 15:25:20.000000', '2015-08-14', '2015-08-14 15:25:20', '2015-08-14 15:25:20', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-14', '2015-08-14 15:25:20', '2015-08-14 15:25:20', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-14 15:25:20.000000', '2015-08-14', '2015-08-14 15:25:20', '2015-08-14 15:25:20', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-14', '2015-08-14 15:25:20', '2015-08-14 15:25:20', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-14 15:25:20.000000', '2015-08-14', '2015-08-14 15:25:20', '2015-08-14 15:25:20', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-14 15:25:20', '2015-08-14 15:25:20', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 15:25:20.000000', '2015-08-14 15:25:20', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 15:25:20.000000', '2015-08-14 15:25:20', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 15:25:20.000000', '2015-08-14 15:25:20', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 15:25:20.000000', '2015-08-14 15:25:20', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-14 15:25:20', '2015-08-14 15:25:20', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-14 15:25:20', '2015-08-14 15:25:20', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-14 15:25:20', '2015-08-14 15:25:20', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-14 15:25:20', '2015-08-14 15:25:20', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-14 15:25:20', '2015-08-14 15:25:20', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-14 15:25:20', '2015-08-14 15:25:20', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-14 15:25:20', '2015-08-14 15:25:20', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-14 15:25:20', '2015-08-14 15:25:20', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-14 15:25:20', '2015-08-14 15:25:20', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-14 15:25:20', '2015-08-14 15:25:20', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (3.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.9ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 15:25:21.004454"], ["updated_at", "2015-08-14 15:25:21.004454"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:25:21.018004"], ["updated_at", "2015-08-14 15:25:21.018004"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 15:25:21.033688"], ["updated_at", "2015-08-14 15:25:21.033688"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:25:21.037790"], ["updated_at", "2015-08-14 15:25:21.037790"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 15:25:21.046638"], ["updated_at", "2015-08-14 15:25:21.046638"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:25:21.049441"], ["updated_at", "2015-08-14 15:25:21.049441"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 15:25:21.070576"], ["updated_at", "2015-08-14 15:25:21.070576"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:25:21.074210"], ["updated_at", "2015-08-14 15:25:21.074210"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 23ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (1.3ms) Sent mail to obama@ex.co (6.8ms) Date: Fri, 14 Aug 2015 10:25:21 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce086171945_56223fc29d06020853542@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 201.0ms  (0.3ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.1ms) Date: Fri, 14 Aug 2015 10:25:21 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce086173fca_56223fc29d06020853631@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 6.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.9ms) Date: Fri, 14 Aug 2015 10:25:21 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce08617584e_56223fc29d060208537bb@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 4.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.2ms) Date: Fri, 14 Aug 2015 10:25:21 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce08617f0d5_56223fc29d06020853856@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 36.9ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.7ms) Date: Fri, 14 Aug 2015 10:25:21 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce086180b5a_56223fc29d06020853941@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 5.6ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (3.2ms) Date: Fri, 14 Aug 2015 10:25:21 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce0861823d4_56223fc29d06020854014@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 4.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:25:22 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (1.0ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.1ms) Completed 200 OK in 86ms (Views: 59.0ms | ActiveRecord: 6.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-14 10:25:22 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-14 10:25:22 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-14 10:25:22 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-14", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-14 15:25:22.542990"], ["updated_at", "2015-08-14 15:25:22.546540"], ["id", 809335042]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (174.4ms) COMMIT  (0.2ms) BEGIN SQL (0.7ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:25:22.728790"], ["updated_at", "2015-08-14 15:25:22.728790"]]  (0.8ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 196ms (Views: 0.5ms | ActiveRecord: 178.1ms) Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:25:22 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 218ms (Views: 2.3ms | ActiveRecord: 2.9ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-14 10:25:23 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-14", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-14 15:25:23.163903"], ["updated_at", "2015-08-14 15:25:23.166540"], ["id", 614371357]]  (5.2ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.4ms | ActiveRecord: 6.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:25:23 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-14 10:25:23 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-11", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-11"], ["updated_at", "2015-08-14 15:25:23.375236"], ["id", 53334230]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 2.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:25:23 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 16ms (Views: 1.8ms | ActiveRecord: 2.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:25:23 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 16ms (Views: 1.6ms | ActiveRecord: 1.8ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-14 10:25:23 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-28", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-28"], ["created_at", "2015-08-14 15:25:23.762121"], ["updated_at", "2015-08-14 15:25:23.762121"]]  (1.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:25:23.767414"], ["updated_at", "2015-08-14 15:25:23.767414"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:25:23.828999"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.1ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-07 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:25:23.836167"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 15:25:23.839340"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-14 23:59:59.999999' AND created_at >= '2015-08-14 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:25:23.845624"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-14 23:59:59.999999' AND created_at >= '2015-08-14 00:00:00.000000')  (0.1ms) ROLLBACK  (1.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-14 15:25:23', '2015-08-14 15:25:23', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-14', '2015-08-14 15:25:23', '2015-08-14 15:25:23', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-14 15:25:23.000000', '2015-08-14', '2015-08-14 15:25:23', '2015-08-14 15:25:23', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-14', '2015-08-14 15:25:23', '2015-08-14 15:25:23', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-14 15:25:23', '2015-08-14 15:25:23', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-14 15:25:23.000000', '2015-08-14', '2015-08-14 15:25:23', '2015-08-14 15:25:23', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-13', '2015-08-14 15:25:23', '2015-08-14 15:25:23', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-12', '2015-08-14 15:25:23', '2015-08-14 15:25:23', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-14 15:25:23.000000', '2015-08-14', '2015-08-14 15:25:23', '2015-08-14 15:25:23', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-14', '2015-08-14 15:25:23', '2015-08-14 15:25:23', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-14 15:25:23.000000', '2015-08-14', '2015-08-14 15:25:23', '2015-08-14 15:25:23', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-14', '2015-08-14 15:25:23', '2015-08-14 15:25:23', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-14 15:25:23.000000', '2015-08-14', '2015-08-14 15:25:23', '2015-08-14 15:25:23', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-14 15:25:23', '2015-08-14 15:25:23', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 15:25:23.000000', '2015-08-14 15:25:23', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 15:25:23.000000', '2015-08-14 15:25:23', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 15:25:23.000000', '2015-08-14 15:25:23', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 15:25:23.000000', '2015-08-14 15:25:23', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-14 15:25:23', '2015-08-14 15:25:23', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-14 15:25:23', '2015-08-14 15:25:23', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-14 15:25:23', '2015-08-14 15:25:23', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-14 15:25:23', '2015-08-14 15:25:23', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-14 15:25:23', '2015-08-14 15:25:23', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-14 15:25:23', '2015-08-14 15:25:23', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-14 15:25:23', '2015-08-14 15:25:23', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-14 15:25:23', '2015-08-14 15:25:23', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-14 15:25:23', '2015-08-14 15:25:23', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-14 15:25:23', '2015-08-14 15:25:23', 809335042, 'SocialNetworking::Goal', 809335042)  (0.3ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:25:24.006903"], ["updated_at", "2015-08-14 15:25:24.006903"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-14 15:25:24.011832"], ["updated_at", "2015-08-14 15:25:24.011832"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-14 15:25:24.015520"], ["updated_at", "2015-08-14 15:25:24.015520"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-14 15:25:24.063510"], ["updated_at", "2015-08-14 15:25:24.063510"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-14 15:25:24.066297"], ["updated_at", "2015-08-14 15:25:24.066297"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.1ms) Completed 202 Accepted in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (134.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:25:24.254432"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 15:25:24.258140"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:25:24.266915"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:25:24.276565"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 15:25:24.280507"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:25:24.288529"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 7ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 7ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.8ms) Date: Fri, 14 Aug 2015 10:25:24 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce0864633bb_56223fc29d0602085416@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 42.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.6ms) Date: Fri, 14 Aug 2015 10:25:24 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce086464962_56223fc29d06020854268@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (3.4ms) Date: Fri, 14 Aug 2015 10:25:24 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce08646612d_56223fc29d060208543be@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 4.6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:25:24.425281"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:25:24.433061"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 15:25:24.436611"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-14 15:25:24.448587"], ["updated_at", "2015-08-14 15:25:24.448587"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-15"], ["created_at", "2015-08-14 15:25:24.453872"], ["updated_at", "2015-08-14 15:25:24.453872"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-14"], ["completed_at", "2015-08-12 00:00:00.000000"], ["created_at", "2015-08-14 15:25:24.461499"], ["updated_at", "2015-08-14 15:25:24.461499"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 15:25:24.464991') AND ("social_networking_goals"."due_on" >= '2015-08-13 15:25:24.465025') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 15:25:24.468208') AND ("social_networking_goals"."due_on" >= '2015-08-13 15:25:24.468231')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 15:25:24.470256') AND ("social_networking_goals"."due_on" >= '2015-08-13 15:25:24.470275')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:25:24.479410"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:25:24.494765"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (3.4ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.6ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-14 15:29:12', '2015-08-14 15:29:12', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-14', '2015-08-14 15:29:12', '2015-08-14 15:29:12', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-14 15:29:12.000000', '2015-08-14', '2015-08-14 15:29:12', '2015-08-14 15:29:12', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-14', '2015-08-14 15:29:12', '2015-08-14 15:29:12', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-14 15:29:12', '2015-08-14 15:29:12', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-14 15:29:12.000000', '2015-08-14', '2015-08-14 15:29:12', '2015-08-14 15:29:12', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-13', '2015-08-14 15:29:12', '2015-08-14 15:29:12', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-12', '2015-08-14 15:29:12', '2015-08-14 15:29:12', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-14 15:29:12.000000', '2015-08-14', '2015-08-14 15:29:12', '2015-08-14 15:29:12', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-14', '2015-08-14 15:29:12', '2015-08-14 15:29:12', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-14 15:29:12.000000', '2015-08-14', '2015-08-14 15:29:12', '2015-08-14 15:29:12', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-14', '2015-08-14 15:29:12', '2015-08-14 15:29:12', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-14 15:29:12.000000', '2015-08-14', '2015-08-14 15:29:12', '2015-08-14 15:29:12', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-14 15:29:12', '2015-08-14 15:29:12', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 15:29:12.000000', '2015-08-14 15:29:12', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 15:29:12.000000', '2015-08-14 15:29:12', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 15:29:12.000000', '2015-08-14 15:29:12', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 15:29:12.000000', '2015-08-14 15:29:12', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-14 15:29:12', '2015-08-14 15:29:12', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-14 15:29:12', '2015-08-14 15:29:12', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-14 15:29:12', '2015-08-14 15:29:12', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-14 15:29:12', '2015-08-14 15:29:12', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-14 15:29:12', '2015-08-14 15:29:12', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-14 15:29:12', '2015-08-14 15:29:12', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-14 15:29:12', '2015-08-14 15:29:12', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-14 15:29:12', '2015-08-14 15:29:12', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-14 15:29:12', '2015-08-14 15:29:12', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-14 15:29:12', '2015-08-14 15:29:12', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.6ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:29:12.685471"], ["updated_at", "2015-08-14 15:29:12.685471"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-14 15:29:12.701795"], ["updated_at", "2015-08-14 15:29:12.701795"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-14 15:29:12.706955"], ["updated_at", "2015-08-14 15:29:12.706955"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:29:12.725269"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:29:12.746906"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 15:29:12.968293"], ["updated_at", "2015-08-14 15:29:12.968293"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:29:12.970894"], ["updated_at", "2015-08-14 15:29:12.970894"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.3ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 15:29:12.980255"], ["updated_at", "2015-08-14 15:29:12.980255"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:29:12.983295"], ["updated_at", "2015-08-14 15:29:12.983295"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 15:29:12.989673"], ["updated_at", "2015-08-14 15:29:12.989673"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:29:12.992085"], ["updated_at", "2015-08-14 15:29:12.992085"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 15:29:13.007357"], ["updated_at", "2015-08-14 15:29:13.007357"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:29:13.009599"], ["updated_at", "2015-08-14 15:29:13.009599"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.3ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (131.7ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (6.3ms) Date: Fri, 14 Aug 2015 10:29:13 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce0949587aa_59643fe8414602088925c@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 200.1ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 14 Aug 2015 10:29:13 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce09495a206_59643fe84146020889311@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.7ms) Date: Fri, 14 Aug 2015 10:29:13 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce09495bc64_59643fe841460208894ee@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 5.4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.2ms) Date: Fri, 14 Aug 2015 10:29:13 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce094984fa5_59643fe841460208895f@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 44.3ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Fri, 14 Aug 2015 10:29:13 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce09498618f_59643fe8414602088966b@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.1ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.7ms) Date: Fri, 14 Aug 2015 10:29:13 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce094987b2f_59643fe8414602088976c@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 5.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-14 15:29:13.606796"], ["updated_at", "2015-08-14 15:29:13.606796"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-14 15:29:13.609988"], ["updated_at", "2015-08-14 15:29:13.609988"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:29:14 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.7ms) Completed 200 OK in 111ms (Views: 89.3ms | ActiveRecord: 5.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-14 10:29:14 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-14 10:29:14 -0500 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-14 10:29:15 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-14", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-14 15:29:15.049573"], ["updated_at", "2015-08-14 15:29:15.052478"], ["id", 809335042]]  (1.4ms) COMMIT  (0.3ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:29:15.058479"], ["updated_at", "2015-08-14 15:29:15.058479"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 4.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:29:15 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 22ms (Views: 2.2ms | ActiveRecord: 2.9ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-14 10:29:15 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-11", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-11"], ["updated_at", "2015-08-14 15:29:15.383535"], ["id", 53334230]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 2.6ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:29:15 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 19ms (Views: 2.2ms | ActiveRecord: 2.6ms) SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-14 10:29:15 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-14", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-14 15:29:15.690549"], ["updated_at", "2015-08-14 15:29:15.694669"], ["id", 614371357]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 3.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:29:15 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.0ms) Completed 200 OK in 13ms (Views: 1.6ms | ActiveRecord: 1.5ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-14 10:29:15 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-28", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-28"], ["created_at", "2015-08-14 15:29:15.930490"], ["updated_at", "2015-08-14 15:29:15.930490"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-14 15:29:15.935745"], ["updated_at", "2015-08-14 15:29:15.935745"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 3.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 10:29:16 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (1.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:29:16.260040"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 15:29:16.262977"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:29:16.282471"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-15"], ["created_at", "2015-08-14 15:29:16.288340"], ["updated_at", "2015-08-14 15:29:16.288340"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-14"], ["completed_at", "2015-08-12 00:00:00.000000"], ["created_at", "2015-08-14 15:29:16.292629"], ["updated_at", "2015-08-14 15:29:16.292629"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-14 15:29:16.300938"], ["updated_at", "2015-08-14 15:29:16.300938"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.4ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-14 15:29:16', '2015-08-14 15:29:16', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-14', '2015-08-14 15:29:16', '2015-08-14 15:29:16', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-14 15:29:16.000000', '2015-08-14', '2015-08-14 15:29:16', '2015-08-14 15:29:16', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-14', '2015-08-14 15:29:16', '2015-08-14 15:29:16', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-14 15:29:16', '2015-08-14 15:29:16', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-14 15:29:16.000000', '2015-08-14', '2015-08-14 15:29:16', '2015-08-14 15:29:16', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-13', '2015-08-14 15:29:16', '2015-08-14 15:29:16', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-12', '2015-08-14 15:29:16', '2015-08-14 15:29:16', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-14 15:29:16.000000', '2015-08-14', '2015-08-14 15:29:16', '2015-08-14 15:29:16', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-14', '2015-08-14 15:29:16', '2015-08-14 15:29:16', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-14 15:29:16.000000', '2015-08-14', '2015-08-14 15:29:16', '2015-08-14 15:29:16', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-14', '2015-08-14 15:29:16', '2015-08-14 15:29:16', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-14 15:29:16.000000', '2015-08-14', '2015-08-14 15:29:16', '2015-08-14 15:29:16', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-14 15:29:16', '2015-08-14 15:29:16', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 15:29:16.000000', '2015-08-14 15:29:16', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 15:29:16.000000', '2015-08-14 15:29:16', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 15:29:16.000000', '2015-08-14 15:29:16', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 15:29:16.000000', '2015-08-14 15:29:16', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-14 15:29:16', '2015-08-14 15:29:16', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-14 15:29:16', '2015-08-14 15:29:16', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-14 15:29:16', '2015-08-14 15:29:16', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-14 15:29:16', '2015-08-14 15:29:16', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-14 15:29:16', '2015-08-14 15:29:16', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-14 15:29:16', '2015-08-14 15:29:16', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-14 15:29:16', '2015-08-14 15:29:16', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-14 15:29:16', '2015-08-14 15:29:16', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-14 15:29:16', '2015-08-14 15:29:16', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-14 15:29:16', '2015-08-14 15:29:16', 809335042, 'SocialNetworking::Goal', 809335042)  (0.3ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 15:29:16.354018') AND ("social_networking_goals"."due_on" >= '2015-08-13 15:29:16.354062') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 15:29:16.357281') AND ("social_networking_goals"."due_on" >= '2015-08-13 15:29:16.357298')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 15:29:16.359194') AND ("social_networking_goals"."due_on" >= '2015-08-13 15:29:16.359216')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:29:16.368631"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 15:29:16.372995"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:29:16.380429"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.5ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-14 23:59:59.999999' AND created_at >= '2015-08-14 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:29:16.448044"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-14 23:59:59.999999' AND created_at >= '2015-08-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:29:16.454994"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 15:29:16.459138"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-07 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:29:16.465529"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.9ms) Date: Fri, 14 Aug 2015 10:29:16 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce094c855d1_59643fe8414602088982b@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 41.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 14 Aug 2015 10:29:16 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce094c86925_59643fe8414602088995a@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 14 Aug 2015 10:29:16 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce094c87c3d_59643fe841460208900c0@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 15:29:16.584573"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 15:29:16.588711"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 15:29:16.596849"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (7.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (141.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (7.9ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_comment_form.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (1.1ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb (154.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (10.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (2.6ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (10.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (10.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (6.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (8.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (5.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (9.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (36.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (2.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (7.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (2.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (10.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (26.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (2.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (27.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (3.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (25.7ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (6.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (7.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (6.4ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (23.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (10.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (8.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (9.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (24.2ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (4.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (23.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (7.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (5.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (6.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (8.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.8ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (2.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (7.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (8.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (9.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (6.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (5.5ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (6.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (36.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (5.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (0.9ms)  (0.2ms) ROLLBACK  (1.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (6.6ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (6.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-14', '2015-08-14 16:52:03', '2015-08-14 16:52:03', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-14 16:52:03.000000', '2015-08-14', '2015-08-14 16:52:03', '2015-08-14 16:52:03', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-14', '2015-08-14 16:52:03', '2015-08-14 16:52:03', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-14 16:52:03', '2015-08-14 16:52:03', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-14 16:52:03.000000', '2015-08-14', '2015-08-14 16:52:03', '2015-08-14 16:52:03', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-13', '2015-08-14 16:52:03', '2015-08-14 16:52:03', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-12', '2015-08-14 16:52:03', '2015-08-14 16:52:03', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-14 16:52:03.000000', '2015-08-14', '2015-08-14 16:52:03', '2015-08-14 16:52:03', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-14', '2015-08-14 16:52:03', '2015-08-14 16:52:03', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-14 16:52:03.000000', '2015-08-14', '2015-08-14 16:52:03', '2015-08-14 16:52:03', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-14', '2015-08-14 16:52:03', '2015-08-14 16:52:03', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-14 16:52:03.000000', '2015-08-14', '2015-08-14 16:52:03', '2015-08-14 16:52:03', 16804933, 816972181)  (0.5ms) COMMIT  (1.6ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (1.6ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 16:52:03.593921"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-14 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 16:52:03.604872"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.6ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.9ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 16:52:03.668833"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-14 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 16:52:03.678645"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 16:52:03.681775"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (1.3ms) Sent mail to obama@ex.co (6.4ms) Date: Fri, 14 Aug 2015 11:52:03 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce1cb3d54c8_83a53fd5b886020478fa@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 189.4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 14 Aug 2015 11:52:03 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce1cb3d71de_83a53fd5b886020479f8@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.1ms) Date: Fri, 14 Aug 2015 11:52:03 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce1cb3d8c92_83a53fd5b88602048037@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 6.1ms  (0.2ms) ROLLBACK  (7.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-14 16:52:03', '2015-08-14 16:52:03', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-14 16:52:03', '2015-08-14 16:52:03', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 16:52:03.000000', '2015-08-14 16:52:03', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 16:52:03.000000', '2015-08-14 16:52:03', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 16:52:03.000000', '2015-08-14 16:52:03', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 16:52:03.000000', '2015-08-14 16:52:03', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-14 16:52:03', '2015-08-14 16:52:03', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-14 16:52:03', '2015-08-14 16:52:03', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-14 16:52:03', '2015-08-14 16:52:03', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-14 16:52:03', '2015-08-14 16:52:03', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-14 16:52:03', '2015-08-14 16:52:03', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-14 16:52:03', '2015-08-14 16:52:03', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-14 16:52:03', '2015-08-14 16:52:03', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-14 16:52:03', '2015-08-14 16:52:03', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-14 16:52:03', '2015-08-14 16:52:03', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-14 16:52:03', '2015-08-14 16:52:03', 809335042, 'SocialNetworking::Goal', 809335042)  (0.7ms) COMMIT  (2.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (2.9ms) Date: Fri, 14 Aug 2015 11:52:04 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce1cb42806_83a53fd5b886020481f7@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 38.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (3.0ms) Date: Fri, 14 Aug 2015 11:52:04 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce1cb43e2a_83a53fd5b88602048292@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 4.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 14 Aug 2015 11:52:04 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce1cb451b3_83a53fd5b88602048366@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 11:52:04 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.4ms) Completed 200 OK in 102ms (Views: 68.3ms | ActiveRecord: 5.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-14 11:52:04 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-14 11:52:04 -0500  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 11:52:05 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 23ms (Views: 2.1ms | ActiveRecord: 3.0ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-14 11:52:05 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-28", "goal"=>{"description"=>"all of the things"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-28"], ["created_at", "2015-08-14 16:52:05.245178"], ["updated_at", "2015-08-14 16:52:05.245178"]]  (1.4ms) COMMIT  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-14 16:52:05.255557"], ["updated_at", "2015-08-14 16:52:05.255557"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 20ms (Views: 0.5ms | ActiveRecord: 4.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 11:52:05 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (6.0ms) Completed 200 OK in 22ms (Views: 6.9ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-14 11:52:05 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-14", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-14 16:52:05.460912"], ["updated_at", "2015-08-14 16:52:05.463672"], ["id", 614371357]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 3.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 11:52:05 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-14 11:52:05 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-14", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-14 16:52:05.632590"], ["updated_at", "2015-08-14 16:52:05.635554"], ["id", 809335042]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-14 16:52:05.640888"], ["updated_at", "2015-08-14 16:52:05.640888"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.2ms | ActiveRecord: 4.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 11:52:05 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 16ms (Views: 2.3ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-14 11:52:05 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-11", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-11"], ["updated_at", "2015-08-14 16:52:05.881028"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 2.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (2.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-14', '2015-08-14 16:52:06', '2015-08-14 16:52:06', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-14 16:52:06.000000', '2015-08-14', '2015-08-14 16:52:06', '2015-08-14 16:52:06', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-14', '2015-08-14 16:52:06', '2015-08-14 16:52:06', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-14 16:52:06', '2015-08-14 16:52:06', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-14 16:52:06.000000', '2015-08-14', '2015-08-14 16:52:06', '2015-08-14 16:52:06', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-13', '2015-08-14 16:52:06', '2015-08-14 16:52:06', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-12', '2015-08-14 16:52:06', '2015-08-14 16:52:06', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-14 16:52:06.000000', '2015-08-14', '2015-08-14 16:52:06', '2015-08-14 16:52:06', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-14', '2015-08-14 16:52:06', '2015-08-14 16:52:06', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-14 16:52:06.000000', '2015-08-14', '2015-08-14 16:52:06', '2015-08-14 16:52:06', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-14', '2015-08-14 16:52:06', '2015-08-14 16:52:06', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-14 16:52:06.000000', '2015-08-14', '2015-08-14 16:52:06', '2015-08-14 16:52:06', 16804933, 816972181)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 16:52:06.061544"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-14 23:59:59.999999' AND created_at >= '2015-08-14 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 16:52:06.069220"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-14 23:59:59.999999' AND created_at >= '2015-08-14 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 16:52:06.076265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 16:52:06.079443"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (1.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-14 16:52:06', '2015-08-14 16:52:06', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-14 16:52:06', '2015-08-14 16:52:06', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 16:52:06.000000', '2015-08-14 16:52:06', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 16:52:06.000000', '2015-08-14 16:52:06', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 16:52:06.000000', '2015-08-14 16:52:06', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 16:52:06.000000', '2015-08-14 16:52:06', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-14 16:52:06', '2015-08-14 16:52:06', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-14 16:52:06', '2015-08-14 16:52:06', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-14 16:52:06', '2015-08-14 16:52:06', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-14 16:52:06', '2015-08-14 16:52:06', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-14 16:52:06', '2015-08-14 16:52:06', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-14 16:52:06', '2015-08-14 16:52:06', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-14 16:52:06', '2015-08-14 16:52:06', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-14 16:52:06', '2015-08-14 16:52:06', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-14 16:52:06', '2015-08-14 16:52:06', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-14 16:52:06', '2015-08-14 16:52:06', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 16:52:06.250118"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 16:52:06.253103"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 16:52:06.259301"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 16:52:06.270959') AND ("social_networking_goals"."due_on" >= '2015-08-13 16:52:06.270994')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 16:52:06.273752') AND ("social_networking_goals"."due_on" >= '2015-08-13 16:52:06.273774') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 16:52:06.276151') AND ("social_networking_goals"."due_on" >= '2015-08-13 16:52:06.276169')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-15"], ["created_at", "2015-08-14 16:52:06.279793"], ["updated_at", "2015-08-14 16:52:06.279793"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-14 16:52:06.284268"], ["updated_at", "2015-08-14 16:52:06.284268"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-14"], ["completed_at", "2015-08-12 00:00:00.000000"], ["created_at", "2015-08-14 16:52:06.288181"], ["updated_at", "2015-08-14 16:52:06.288181"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-14 16:52:06.301900"], ["updated_at", "2015-08-14 16:52:06.301900"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-14 16:52:06.304883"], ["updated_at", "2015-08-14 16:52:06.304883"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 16:52:06.431450"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 16:52:06.439950"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 16:52:06.443664"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-14 16:52:06.449959"], ["updated_at", "2015-08-14 16:52:06.449959"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-14 16:52:06.455292"], ["updated_at", "2015-08-14 16:52:06.455292"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-14 16:52:06.457932"], ["updated_at", "2015-08-14 16:52:06.457932"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 16:52:06.464849"], ["updated_at", "2015-08-14 16:52:06.464849"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 16:52:06.467306"], ["updated_at", "2015-08-14 16:52:06.467306"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 16:52:06.472626"], ["updated_at", "2015-08-14 16:52:06.472626"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 16:52:06.474763"], ["updated_at", "2015-08-14 16:52:06.474763"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 16:52:06.486941"], ["updated_at", "2015-08-14 16:52:06.486941"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 16:52:06.489376"], ["updated_at", "2015-08-14 16:52:06.489376"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 16:52:06.494911"], ["updated_at", "2015-08-14 16:52:06.494911"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 16:52:06.497121"], ["updated_at", "2015-08-14 16:52:06.497121"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.5ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.7ms) Sent mail to obama@ex.co (4.0ms) Date: Fri, 14 Aug 2015 11:52:06 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce1cb6a2b01_83a53fd5b886020484d4@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 49.9ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.6ms) Date: Fri, 14 Aug 2015 11:52:06 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce1cb6a43ed_83a53fd5b8860204855c@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.8ms) Date: Fri, 14 Aug 2015 11:52:06 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce1cb6a56f2_83a53fd5b8860204869a@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (2.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-14 17:28:54', '2015-08-14 17:28:54', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-14', '2015-08-14 17:28:54', '2015-08-14 17:28:54', 809335042, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-14 17:28:54.000000', '2015-08-14', '2015-08-14 17:28:54', '2015-08-14 17:28:54', 576699391, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-14', '2015-08-14 17:28:54', '2015-08-14 17:28:54', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-14 17:28:54', '2015-08-14 17:28:54', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-14 17:28:54.000000', '2015-08-14', '2015-08-14 17:28:54', '2015-08-14 17:28:54', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-13', '2015-08-14 17:28:54', '2015-08-14 17:28:54', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-12', '2015-08-14 17:28:54', '2015-08-14 17:28:54', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-14 17:28:54.000000', '2015-08-14', '2015-08-14 17:28:54', '2015-08-14 17:28:54', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-14', '2015-08-14 17:28:54', '2015-08-14 17:28:54', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-14 17:28:54.000000', '2015-08-14', '2015-08-14 17:28:54', '2015-08-14 17:28:54', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-14', '2015-08-14 17:28:54', '2015-08-14 17:28:54', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-14 17:28:54.000000', '2015-08-14', '2015-08-14 17:28:54', '2015-08-14 17:28:54', 16804933, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-14 17:28:54', '2015-08-14 17:28:54', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 17:28:54.000000', '2015-08-14 17:28:54', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 17:28:54.000000', '2015-08-14 17:28:54', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 17:28:54.000000', '2015-08-14 17:28:54', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 17:28:54.000000', '2015-08-14 17:28:54', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-14 17:28:54', '2015-08-14 17:28:54', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-14 17:28:54', '2015-08-14 17:28:54', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-14 17:28:54', '2015-08-14 17:28:54', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-14 17:28:54', '2015-08-14 17:28:54', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-14 17:28:54', '2015-08-14 17:28:54', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-14 17:28:54', '2015-08-14 17:28:54', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-14 17:28:54', '2015-08-14 17:28:54', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-14 17:28:54', '2015-08-14 17:28:54', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-14 17:28:54', '2015-08-14 17:28:54', 183235640, 816972181) Fixture Delete (1.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.4ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-14 17:28:54', '2015-08-14 17:28:54', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (2.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 17:28:54.781475"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 17:28:54.784990"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 17:28:54.792178"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (2.9ms) Sent mail to obama@ex.co (6.4ms) Date: Fri, 14 Aug 2015 12:28:54 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce2556f36d7_93703fea8046020825474@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 202.4ms  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 14 Aug 2015 12:28:55 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce2557e1c_93703fea80460208255d8@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 14 Aug 2015 12:28:55 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce25572096_93703fea804602082561c@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.2ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-14 17:28:55.023021"], ["updated_at", "2015-08-14 17:28:55.023021"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-14 17:28:55.030721"], ["updated_at", "2015-08-14 17:28:55.030721"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-14 17:28:55.033632"], ["updated_at", "2015-08-14 17:28:55.033632"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-14 17:28:55.058447"], ["updated_at", "2015-08-14 17:28:55.058447"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-14 17:28:55.061251"], ["updated_at", "2015-08-14 17:28:55.061251"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (1.0ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 17:28:55.095631"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 17:28:55.114277"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.6ms) Date: Fri, 14 Aug 2015 12:28:55 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce25572bd42_93703fea804602082577d@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 43.5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.6ms) Date: Fri, 14 Aug 2015 12:28:55 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce25572d310_93703fea80460208258ea@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 4.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Fri, 14 Aug 2015 12:28:55 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce25572e559_93703fea804602082599c@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-14 23:59:59.999999' AND created_at >= '2015-08-14 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 17:28:55.195581"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-14 23:59:59.999999' AND created_at >= '2015-08-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 17:28:55.201101"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 17:28:55.203579"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 17:28:55.208141"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 17:28:55.292059"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 17:28:55.295675"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 17:28:55.302474"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.5ms) Date: Fri, 14 Aug 2015 12:28:55 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce255757d9a_93703fea8046020826042@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 43.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 14 Aug 2015 12:28:55 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce25575911b_93703fea80460208261a5@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Fri, 14 Aug 2015 12:28:55 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce25575a25d_93703fea8046020826249@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 17:28:55.474145"], ["updated_at", "2015-08-14 17:28:55.474145"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 17:28:55.476720"], ["updated_at", "2015-08-14 17:28:55.476720"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 17:28:55.482623"], ["updated_at", "2015-08-14 17:28:55.482623"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 17:28:55.484653"], ["updated_at", "2015-08-14 17:28:55.484653"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 17:28:55.491451"], ["updated_at", "2015-08-14 17:28:55.491451"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 17:28:55.493476"], ["updated_at", "2015-08-14 17:28:55.493476"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 17:28:55.512388"], ["updated_at", "2015-08-14 17:28:55.512388"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 17:28:55.514634"], ["updated_at", "2015-08-14 17:28:55.514634"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 12:28:56 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.1ms) Completed 200 OK in 72ms (Views: 41.9ms | ActiveRecord: 7.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-14 12:28:56 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-14 12:28:56 -0500 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-14 12:28:56 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-14", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-14 17:28:56.899935"], ["updated_at", "2015-08-14 17:28:56.902930"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 3.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 12:28:56 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.5ms) Completed 200 OK in 17ms (Views: 3.8ms | ActiveRecord: 2.3ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-14 12:28:57 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-11", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-11"], ["updated_at", "2015-08-14 17:28:57.136922"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 2.9ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 12:28:57 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 14ms (Views: 1.9ms | ActiveRecord: 2.0ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-14 12:28:57 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-28", "goal"=>{"description"=>"all of the things"}} Participant Load (0.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.9ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-28"], ["created_at", "2015-08-14 17:28:57.390583"], ["updated_at", "2015-08-14 17:28:57.390583"]]  (1.3ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-14 17:28:57.397157"], ["updated_at", "2015-08-14 17:28:57.397157"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.4ms | ActiveRecord: 5.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 12:28:57 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.2ms) Completed 200 OK in 17ms (Views: 2.8ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 12:28:57 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.3ms) Completed 200 OK in 19ms (Views: 4.1ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-14 12:28:57 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-14", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (1.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-14 17:28:57.843187"], ["updated_at", "2015-08-14 17:28:57.847078"], ["id", 809335042]]  (1.3ms) COMMIT  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-14 17:28:57.852593"], ["updated_at", "2015-08-14 17:28:57.852593"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 18ms (Views: 0.3ms | ActiveRecord: 5.0ms)  (0.2ms) ROLLBACK  (2.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-14 17:28:57', '2015-08-14 17:28:57', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-14', '2015-08-14 17:28:57', '2015-08-14 17:28:57', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-14 17:28:57.000000', '2015-08-14', '2015-08-14 17:28:57', '2015-08-14 17:28:57', 576699391, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-14', '2015-08-14 17:28:57', '2015-08-14 17:28:57', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-14 17:28:57', '2015-08-14 17:28:57', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-14 17:28:57.000000', '2015-08-14', '2015-08-14 17:28:57', '2015-08-14 17:28:57', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-13', '2015-08-14 17:28:57', '2015-08-14 17:28:57', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-12', '2015-08-14 17:28:57', '2015-08-14 17:28:57', 938656909, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-14 17:28:57.000000', '2015-08-14', '2015-08-14 17:28:57', '2015-08-14 17:28:57', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-14', '2015-08-14 17:28:57', '2015-08-14 17:28:57', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-14 17:28:57.000000', '2015-08-14', '2015-08-14 17:28:57', '2015-08-14 17:28:57', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-14', '2015-08-14 17:28:57', '2015-08-14 17:28:57', 318784238, 816972181) Fixture Insert (0.5ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-14 17:28:57.000000', '2015-08-14', '2015-08-14 17:28:57', '2015-08-14 17:28:57', 16804933, 816972181) Fixture Delete (0.8ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-14 17:28:57', '2015-08-14 17:28:57', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.5ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 17:28:57.000000', '2015-08-14 17:28:57', 503297012, 700141617, 816972181) Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 17:28:57.000000', '2015-08-14 17:28:57', 366290861, 700141617, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 17:28:57.000000', '2015-08-14 17:28:57', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 17:28:57.000000', '2015-08-14 17:28:57', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-14 17:28:57', '2015-08-14 17:28:57', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-14 17:28:57', '2015-08-14 17:28:57', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-14 17:28:57', '2015-08-14 17:28:57', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-14 17:28:57', '2015-08-14 17:28:57', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-14 17:28:57', '2015-08-14 17:28:57', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-14 17:28:57', '2015-08-14 17:28:57', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-14 17:28:57', '2015-08-14 17:28:57', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-14 17:28:57', '2015-08-14 17:28:57', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-14 17:28:57', '2015-08-14 17:28:57', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-14 17:28:57', '2015-08-14 17:28:57', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.4ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 17:28:58.037650"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 17:28:58.040744"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000')  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 17:28:58.059098"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-15"], ["created_at", "2015-08-14 17:28:58.067339"], ["updated_at", "2015-08-14 17:28:58.067339"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-14"], ["completed_at", "2015-08-12 00:00:00.000000"], ["created_at", "2015-08-14 17:28:58.071767"], ["updated_at", "2015-08-14 17:28:58.071767"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-14 17:28:58.078150"], ["updated_at", "2015-08-14 17:28:58.078150"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 17:28:58.080901') AND ("social_networking_goals"."due_on" >= '2015-08-13 17:28:58.080939') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 17:28:58.083957') AND ("social_networking_goals"."due_on" >= '2015-08-13 17:28:58.083979')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 17:28:58.085820') AND ("social_networking_goals"."due_on" >= '2015-08-13 17:28:58.085841')  (0.1ms) ROLLBACK  (4.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-14', '2015-08-14 18:15:37', '2015-08-14 18:15:37', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-14 18:15:37.000000', '2015-08-14', '2015-08-14 18:15:37', '2015-08-14 18:15:37', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-14', '2015-08-14 18:15:37', '2015-08-14 18:15:37', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-14 18:15:37', '2015-08-14 18:15:37', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-14 18:15:37.000000', '2015-08-14', '2015-08-14 18:15:37', '2015-08-14 18:15:37', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-13', '2015-08-14 18:15:37', '2015-08-14 18:15:37', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-12', '2015-08-14 18:15:37', '2015-08-14 18:15:37', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-14 18:15:37.000000', '2015-08-14', '2015-08-14 18:15:37', '2015-08-14 18:15:37', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-14', '2015-08-14 18:15:37', '2015-08-14 18:15:37', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-14 18:15:37.000000', '2015-08-14', '2015-08-14 18:15:37', '2015-08-14 18:15:37', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-14', '2015-08-14 18:15:37', '2015-08-14 18:15:37', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-14 18:15:37.000000', '2015-08-14', '2015-08-14 18:15:37', '2015-08-14 18:15:37', 16804933, 816972181)  (5.8ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.6ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 18:15:37.651075"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-14 23:59:59.999999')  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 18:15:37.663783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 18:15:37.667893"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (2.5ms) Sent mail to obama@ex.co (8.0ms) Date: Fri, 14 Aug 2015 13:15:37 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce3049d76c1_ab463ff471c60200664e6@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 211.3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 14 Aug 2015 13:15:37 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce3049d915c_ab463ff471c60200665d5@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Fri, 14 Aug 2015 13:15:37 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce3049da692_ab463ff471c602006666@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.2ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 18:15:37.920443"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-14 23:59:59.999999')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 18:15:37.931761"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 18:15:37.935648"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 9ms (Views: 0.4ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-14 18:15:38', '2015-08-14 18:15:38', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042)  (5.8ms) COMMIT  (6.8ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.6ms) Date: Fri, 14 Aug 2015 13:15:38 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce304a2cd03_ab463ff471c602006671e@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 44.9ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Fri, 14 Aug 2015 13:15:38 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce304a2e09c_ab463ff471c602006686b@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 14 Aug 2015 13:15:38 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce304a2f32d_ab463ff471c6020066957@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (5.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-14 18:15:38', '2015-08-14 18:15:38', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 18:15:38.000000', '2015-08-14 18:15:38', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 18:15:38.000000', '2015-08-14 18:15:38', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 18:15:38.000000', '2015-08-14 18:15:38', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 18:15:38.000000', '2015-08-14 18:15:38', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-14 18:15:38', '2015-08-14 18:15:38', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-14 18:15:38', '2015-08-14 18:15:38', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-14 18:15:38', '2015-08-14 18:15:38', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-14 18:15:38', '2015-08-14 18:15:38', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-14 18:15:38', '2015-08-14 18:15:38', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-14 18:15:38', '2015-08-14 18:15:38', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-14 18:15:38', '2015-08-14 18:15:38', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-14 18:15:38', '2015-08-14 18:15:38', 10484799) Fixture Delete (0.5ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-14 18:15:38', '2015-08-14 18:15:38', 183235640, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-14 18:15:38', '2015-08-14 18:15:38', 809335042, 'SocialNetworking::Goal', 809335042)  (0.7ms) COMMIT  (2.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-14 18:15:38.266991"], ["updated_at", "2015-08-14 18:15:38.266991"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-14 18:15:38.269981"], ["updated_at", "2015-08-14 18:15:38.269981"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-14 23:59:59.999999' AND created_at >= '2015-08-14 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 18:15:38.280421"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-14 23:59:59.999999' AND created_at >= '2015-08-14 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 18:15:38.289275"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-07 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 18:15:38.296003"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 18:15:38.299876"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-14 18:15:38.306211"], ["updated_at", "2015-08-14 18:15:38.306211"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-14 18:15:38.310697"], ["updated_at", "2015-08-14 18:15:38.310697"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-14 18:15:38.313175"], ["updated_at", "2015-08-14 18:15:38.313175"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 18:15:38.376831"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 18:15:38.385422"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 18:15:38.645432"], ["updated_at", "2015-08-14 18:15:38.645432"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 18:15:38.647943"], ["updated_at", "2015-08-14 18:15:38.647943"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 18:15:38.653449"], ["updated_at", "2015-08-14 18:15:38.653449"]] SQL (0.1ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 18:15:38.655542"], ["updated_at", "2015-08-14 18:15:38.655542"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 18:15:38.680804"], ["updated_at", "2015-08-14 18:15:38.680804"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 18:15:38.683056"], ["updated_at", "2015-08-14 18:15:38.683056"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 18:15:38.688431"], ["updated_at", "2015-08-14 18:15:38.688431"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 18:15:38.690527"], ["updated_at", "2015-08-14 18:15:38.690527"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 13:15:39 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.9ms) Completed 200 OK in 106ms (Views: 80.4ms | ActiveRecord: 5.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-14 13:15:39 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-14 13:15:39 -0500 Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-14 13:15:40 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-28", "goal"=>{"description"=>"all of the things"}} Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-28"], ["created_at", "2015-08-14 18:15:40.064811"], ["updated_at", "2015-08-14 18:15:40.064811"]]  (5.8ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-14 18:15:40.075291"], ["updated_at", "2015-08-14 18:15:40.075291"]]  (4.7ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 24ms (Views: 0.4ms | ActiveRecord: 13.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 13:15:40 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.3ms) Completed 200 OK in 22ms (Views: 3.2ms | ActiveRecord: 2.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 13:15:40 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.9ms) Completed 200 OK in 16ms (Views: 3.1ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-14 13:15:40 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-11", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-11"], ["updated_at", "2015-08-14 18:15:40.431522"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 2.8ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 13:15:40 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 21ms (Views: 1.7ms | ActiveRecord: 2.6ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-14 13:15:40 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-14", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-14 18:15:40.633228"], ["updated_at", "2015-08-14 18:15:40.635547"], ["id", 614371357]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 13:15:40 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.8ms) Completed 200 OK in 19ms (Views: 2.6ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-14 13:15:40 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-14", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-14 18:15:40.946092"], ["updated_at", "2015-08-14 18:15:40.948435"], ["id", 809335042]]  (1.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-14 18:15:40.953150"], ["updated_at", "2015-08-14 18:15:40.953150"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.8ms)  (0.2ms) ROLLBACK  (1.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 18:15:40.994157"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-14 23:59:59.999999')  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 18:15:41.008075"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 18:15:41.012954"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-14 18:15:41', '2015-08-14 18:15:41', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-14', '2015-08-14 18:15:41', '2015-08-14 18:15:41', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-14 18:15:41.000000', '2015-08-14', '2015-08-14 18:15:41', '2015-08-14 18:15:41', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-14', '2015-08-14 18:15:41', '2015-08-14 18:15:41', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-14 18:15:41', '2015-08-14 18:15:41', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-14 18:15:41.000000', '2015-08-14', '2015-08-14 18:15:41', '2015-08-14 18:15:41', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-13', '2015-08-14 18:15:41', '2015-08-14 18:15:41', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-12', '2015-08-14 18:15:41', '2015-08-14 18:15:41', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-14 18:15:41.000000', '2015-08-14', '2015-08-14 18:15:41', '2015-08-14 18:15:41', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-14', '2015-08-14 18:15:41', '2015-08-14 18:15:41', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-14 18:15:41.000000', '2015-08-14', '2015-08-14 18:15:41', '2015-08-14 18:15:41', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-14', '2015-08-14 18:15:41', '2015-08-14 18:15:41', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-14 18:15:41.000000', '2015-08-14', '2015-08-14 18:15:41', '2015-08-14 18:15:41', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-14 18:15:41', '2015-08-14 18:15:41', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 18:15:41.000000', '2015-08-14 18:15:41', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 18:15:41.000000', '2015-08-14 18:15:41', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 18:15:41.000000', '2015-08-14 18:15:41', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 18:15:41.000000', '2015-08-14 18:15:41', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-14 18:15:41', '2015-08-14 18:15:41', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-14 18:15:41', '2015-08-14 18:15:41', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-14 18:15:41', '2015-08-14 18:15:41', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-14 18:15:41', '2015-08-14 18:15:41', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-14 18:15:41', '2015-08-14 18:15:41', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-14 18:15:41', '2015-08-14 18:15:41', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-14 18:15:41', '2015-08-14 18:15:41', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-14 18:15:41', '2015-08-14 18:15:41', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-14 18:15:41', '2015-08-14 18:15:41', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-14 18:15:41', '2015-08-14 18:15:41', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 18:15:41.068790') AND ("social_networking_goals"."due_on" >= '2015-08-13 18:15:41.068829')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 18:15:41.071741') AND ("social_networking_goals"."due_on" >= '2015-08-13 18:15:41.071762') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 18:15:41.074096') AND ("social_networking_goals"."due_on" >= '2015-08-13 18:15:41.074118')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-14"], ["completed_at", "2015-08-12 00:00:00.000000"], ["created_at", "2015-08-14 18:15:41.078093"], ["updated_at", "2015-08-14 18:15:41.078093"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-14 18:15:41.082521"], ["updated_at", "2015-08-14 18:15:41.082521"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-15"], ["created_at", "2015-08-14 18:15:41.086412"], ["updated_at", "2015-08-14 18:15:41.086412"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.7ms) Sent mail to obama@ex.co (3.6ms) Date: Fri, 14 Aug 2015 13:15:41 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce304d20e85_ab463ff471c6020067065@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 44.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.5ms) Date: Fri, 14 Aug 2015 13:15:41 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce304d2243c_ab463ff471c6020067164@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 14 Aug 2015 13:15:41 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce304d236e2_ab463ff471c60200672e7@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (1.7ms) Sent mail to obama@ex.co (6.4ms) Date: Fri, 14 Aug 2015 13:21:06 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce319295bd3_aeaa3fd3160601fc40883@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 244.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 14 Aug 2015 13:21:06 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce319297735_aeaa3fd3160601fc4091d@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 14 Aug 2015 13:21:06 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce319298c8b_aeaa3fd3160601fc41097@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (3.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.6ms) DELETE FROM "social_networking_goals" Fixture Insert (0.5ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-14', '2015-08-14 18:21:06', '2015-08-14 18:21:06', 809335042, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-14 18:21:06.000000', '2015-08-14', '2015-08-14 18:21:06', '2015-08-14 18:21:06', 576699391, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-14', '2015-08-14 18:21:06', '2015-08-14 18:21:06', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-14 18:21:06', '2015-08-14 18:21:06', 53334230, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-14 18:21:06.000000', '2015-08-14', '2015-08-14 18:21:06', '2015-08-14 18:21:06', 916373174, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-13', '2015-08-14 18:21:06', '2015-08-14 18:21:06', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-12', '2015-08-14 18:21:06', '2015-08-14 18:21:06', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-14 18:21:06.000000', '2015-08-14', '2015-08-14 18:21:06', '2015-08-14 18:21:06', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-14', '2015-08-14 18:21:06', '2015-08-14 18:21:06', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-14 18:21:06.000000', '2015-08-14', '2015-08-14 18:21:06', '2015-08-14 18:21:06', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-14', '2015-08-14 18:21:06', '2015-08-14 18:21:06', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-14 18:21:06.000000', '2015-08-14', '2015-08-14 18:21:06', '2015-08-14 18:21:06', 16804933, 816972181)  (0.4ms) COMMIT  (1.6ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-14 18:21:06.723644"], ["updated_at", "2015-08-14 18:21:06.723644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.9ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-14 18:21:06.747985"], ["updated_at", "2015-08-14 18:21:06.747985"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-14 18:21:06.752061"], ["updated_at", "2015-08-14 18:21:06.752061"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (11.8ms) Date: Fri, 14 Aug 2015 13:21:06 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce3192dd374_aeaa3fd3160601fc41179@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 48.6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.1ms) Date: Fri, 14 Aug 2015 13:21:06 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce3192e175a_aeaa3fd3160601fc41247@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 6.5ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.1ms) Date: Fri, 14 Aug 2015 13:21:06 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce3192e30b6_aeaa3fd3160601fc4139f@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 4.4ms  (0.1ms) ROLLBACK  (1.4ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.7ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-14 18:21:06', '2015-08-14 18:21:06', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_likes" Fixture Insert (0.5ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-14 18:21:06', '2015-08-14 18:21:06', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 18:21:06.000000', '2015-08-14 18:21:06', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 18:21:06.000000', '2015-08-14 18:21:06', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-13 18:21:06.000000', '2015-08-14 18:21:06', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-14 18:21:06.000000', '2015-08-14 18:21:06', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-14 18:21:06', '2015-08-14 18:21:06', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-14 18:21:06', '2015-08-14 18:21:06', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-14 18:21:06', '2015-08-14 18:21:06', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-14 18:21:06', '2015-08-14 18:21:06', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-14 18:21:06', '2015-08-14 18:21:06', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-14 18:21:06', '2015-08-14 18:21:06', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-14 18:21:06', '2015-08-14 18:21:06', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-14 18:21:06', '2015-08-14 18:21:06', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.4ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-14 18:21:06', '2015-08-14 18:21:06', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-14 18:21:06', '2015-08-14 18:21:06', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.6ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 10ms (Views: 6.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 18:21:07.094710"], ["updated_at", "2015-08-14 18:21:07.094710"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 18:21:07.097506"], ["updated_at", "2015-08-14 18:21:07.097506"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 18:21:07.104838"], ["updated_at", "2015-08-14 18:21:07.104838"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 18:21:07.106850"], ["updated_at", "2015-08-14 18:21:07.106850"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 18:21:07.122908"], ["updated_at", "2015-08-14 18:21:07.122908"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 18:21:07.124887"], ["updated_at", "2015-08-14 18:21:07.124887"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-14 18:21:07.131329"], ["updated_at", "2015-08-14 18:21:07.131329"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-14 18:21:07.135041"], ["updated_at", "2015-08-14 18:21:07.135041"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 18:21:07.145486"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 18:21:07.148424"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-07 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 18:21:07.159392"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 18:21:07.165841') AND ("social_networking_goals"."due_on" >= '2015-08-13 18:21:07.165870')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 18:21:07.168214') AND ("social_networking_goals"."due_on" >= '2015-08-13 18:21:07.168234') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-14 18:21:07.170669') AND ("social_networking_goals"."due_on" >= '2015-08-13 18:21:07.170686')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-15"], ["created_at", "2015-08-14 18:21:07.173850"], ["updated_at", "2015-08-14 18:21:07.173850"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-14"], ["completed_at", "2015-08-12 00:00:00.000000"], ["created_at", "2015-08-14 18:21:07.177786"], ["updated_at", "2015-08-14 18:21:07.177786"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-14 18:21:07.181547"], ["updated_at", "2015-08-14 18:21:07.181547"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 18:21:07.195777"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 18:21:07.202745"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 18:21:07.205629"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-14 23:59:59.999999' AND created_at >= '2015-08-14 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 18:21:07.211521"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-14 23:59:59.999999' AND created_at >= '2015-08-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 18:21:07.216785"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-07 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 18:21:07.223394"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 18:21:07.227172"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 14 Aug 2015 13:21:07 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce319341b82_aeaa3fd3160601fc4146b@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 36.5ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.1ms) Date: Fri, 14 Aug 2015 13:21:07 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce319343805_aeaa3fd3160601fc4157d@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 6.2ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.0ms) Date: Fri, 14 Aug 2015 13:21:07 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ce31934526c_aeaa3fd3160601fc416db@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 4.4ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Nudge Load (0.7ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 18:21:07.362950"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-14 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 18:21:07.371905"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-07 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-14 00:00:00.000000"], ["updated_at", "2015-08-14 18:21:07.490932"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000') Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-14 18:21:07.499052"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-06 00:00:00.000000"], ["updated_at", "2015-08-14 18:21:07.505419"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-07 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-14 18:21:07.537011"], ["updated_at", "2015-08-14 18:21:07.537011"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-14 18:21:07.539709"], ["updated_at", "2015-08-14 18:21:07.539709"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 13:21:08 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.6ms) Completed 200 OK in 73ms (Views: 49.1ms | ActiveRecord: 5.6ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-14 13:21:08 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-14 13:21:08 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-14 13:21:08 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-11", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-11"], ["updated_at", "2015-08-14 18:21:08.706833"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 13:21:08 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 16ms (Views: 2.1ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 13:21:08 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 15ms (Views: 2.0ms | ActiveRecord: 1.9ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-14 13:21:09 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-08-28", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-08-28"], ["created_at", "2015-08-14 18:21:09.049105"], ["updated_at", "2015-08-14 18:21:09.049105"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-14 18:21:09.054659"], ["updated_at", "2015-08-14 18:21:09.054659"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.4ms | ActiveRecord: 3.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 13:21:09 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.3ms) Completed 200 OK in 19ms (Views: 3.3ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-14 13:21:09 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-14", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-14 18:21:09.251600"], ["updated_at", "2015-08-14 18:21:09.255251"], ["id", 809335042]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-14 18:21:09.262073"], ["updated_at", "2015-08-14 18:21:09.262073"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 19ms (Views: 0.3ms | ActiveRecord: 4.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-14 13:21:09 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.0ms) Completed 200 OK in 24ms (Views: 2.8ms | ActiveRecord: 2.3ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-14 13:21:09 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-14", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-14 18:21:09.554338"], ["updated_at", "2015-08-14 18:21:09.556745"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 2.7ms)  (0.2ms) ROLLBACK  (8.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (2.2ms) DELETE FROM "social_networking_comments" Fixture Insert (8.6ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-19 17:40:29', '2015-08-19 17:40:29', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.3ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (13.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (6.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (13.0ms) DELETE FROM "social_networking_goals" Fixture Insert (5.9ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-19', '2015-08-19 17:40:29', '2015-08-19 17:40:29', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-19 17:40:29.000000', '2015-08-19', '2015-08-19 17:40:29', '2015-08-19 17:40:29', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-19', '2015-08-19 17:40:29', '2015-08-19 17:40:29', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-19 17:40:29', '2015-08-19 17:40:29', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-19 17:40:29.000000', '2015-08-19', '2015-08-19 17:40:29', '2015-08-19 17:40:29', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-18', '2015-08-19 17:40:29', '2015-08-19 17:40:29', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-17', '2015-08-19 17:40:29', '2015-08-19 17:40:29', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-19 17:40:29.000000', '2015-08-19', '2015-08-19 17:40:29', '2015-08-19 17:40:29', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-19', '2015-08-19 17:40:29', '2015-08-19 17:40:29', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-19 17:40:29.000000', '2015-08-19', '2015-08-19 17:40:29', '2015-08-19 17:40:29', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-19', '2015-08-19 17:40:29', '2015-08-19 17:40:29', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-19 17:40:29.000000', '2015-08-19', '2015-08-19 17:40:29', '2015-08-19 17:40:29', 16804933, 816972181) Fixture Delete (24.5ms) DELETE FROM "social_networking_likes" Fixture Insert (6.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-19 17:40:29', '2015-08-19 17:40:29', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (2.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (1.7ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-18 17:40:29.000000', '2015-08-19 17:40:29', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 17:40:29.000000', '2015-08-19 17:40:29', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-18 17:40:29.000000', '2015-08-19 17:40:29', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 17:40:29.000000', '2015-08-19 17:40:29', 316146702, 816972181, 700141617) Fixture Delete (1.7ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (1.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-19 17:40:29', '2015-08-19 17:40:29', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-19 17:40:29', '2015-08-19 17:40:29', 369066228, 816972181) Fixture Delete (1.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.7ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-19 17:40:29', '2015-08-19 17:40:29', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-19 17:40:29', '2015-08-19 17:40:29', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-19 17:40:29', '2015-08-19 17:40:29', 10484799, 183235640) Fixture Delete (0.9ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.5ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-19 17:40:29', '2015-08-19 17:40:29', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-19 17:40:29', '2015-08-19 17:40:29', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-19 17:40:29', '2015-08-19 17:40:29', 10484799) Fixture Delete (1.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.5ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-19 17:40:29', '2015-08-19 17:40:29', 183235640, 816972181) Fixture Delete (2.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (1.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-19 17:40:29', '2015-08-19 17:40:29', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (2.0ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (15.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (7.0ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (4.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:40:29.840238"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.7ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000')  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:40:29.865855"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:40:29.919827"], ["updated_at", "2015-08-19 17:40:29.919827"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:40:29.922853"], ["updated_at", "2015-08-19 17:40:29.922853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:40:29.931144"], ["updated_at", "2015-08-19 17:40:29.931144"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:40:29.933631"], ["updated_at", "2015-08-19 17:40:29.933631"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:40:29.939155"], ["updated_at", "2015-08-19 17:40:29.939155"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:40:29.941582"], ["updated_at", "2015-08-19 17:40:29.941582"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:40:29.962109"], ["updated_at", "2015-08-19 17:40:29.962109"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:40:29.964579"], ["updated_at", "2015-08-19 17:40:29.964579"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.6ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:40:30.006110"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:40:30.011552"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:40:30.020610"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.5ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:40:30.124580"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:40:30.131383"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:40:30.134435"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-19 17:40:30.146782"], ["updated_at", "2015-08-19 17:40:30.146782"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-20"], ["created_at", "2015-08-19 17:40:30.151330"], ["updated_at", "2015-08-19 17:40:30.151330"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-19"], ["completed_at", "2015-08-17 00:00:00.000000"], ["created_at", "2015-08-19 17:40:30.158435"], ["updated_at", "2015-08-19 17:40:30.158435"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:40:30.162055') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:40:30.162088') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:40:30.165363') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:40:30.165382')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:40:30.166962') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:40:30.166980')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-19 17:40:30.171989"], ["updated_at", "2015-08-19 17:40:30.171989"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-19 17:40:30.175054"], ["updated_at", "2015-08-19 17:40:30.175054"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:40:30.188592"], ["updated_at", "2015-08-19 17:40:30.188592"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-19 17:40:30.192825"], ["updated_at", "2015-08-19 17:40:30.192825"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-19 17:40:30.195314"], ["updated_at", "2015-08-19 17:40:30.195314"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:40:30.207979"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:40:30.212084"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:40:30.218976"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:40:30.224125"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:40:30.229791"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:40:30.232680"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-19 23:59:59.999999' AND created_at >= '2015-08-19 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:40:30.238265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-19 23:59:59.999999' AND created_at >= '2015-08-19 00:00:00.000000')  (0.1ms) ROLLBACK  (6.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-19 17:41:35', '2015-08-19 17:41:35', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-19', '2015-08-19 17:41:35', '2015-08-19 17:41:35', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-19 17:41:35.000000', '2015-08-19', '2015-08-19 17:41:35', '2015-08-19 17:41:35', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-19', '2015-08-19 17:41:35', '2015-08-19 17:41:35', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-19 17:41:35', '2015-08-19 17:41:35', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-19 17:41:35.000000', '2015-08-19', '2015-08-19 17:41:35', '2015-08-19 17:41:35', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-18', '2015-08-19 17:41:35', '2015-08-19 17:41:35', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-17', '2015-08-19 17:41:35', '2015-08-19 17:41:35', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-19 17:41:35.000000', '2015-08-19', '2015-08-19 17:41:35', '2015-08-19 17:41:35', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-19', '2015-08-19 17:41:35', '2015-08-19 17:41:35', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-19 17:41:35.000000', '2015-08-19', '2015-08-19 17:41:35', '2015-08-19 17:41:35', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-19', '2015-08-19 17:41:35', '2015-08-19 17:41:35', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-19 17:41:35.000000', '2015-08-19', '2015-08-19 17:41:35', '2015-08-19 17:41:35', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-19 17:41:35', '2015-08-19 17:41:35', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-18 17:41:35.000000', '2015-08-19 17:41:35', 503297012, 700141617, 816972181) Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 17:41:35.000000', '2015-08-19 17:41:35', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-18 17:41:35.000000', '2015-08-19 17:41:35', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 17:41:35.000000', '2015-08-19 17:41:35', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-19 17:41:35', '2015-08-19 17:41:35', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-19 17:41:35', '2015-08-19 17:41:35', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-19 17:41:35', '2015-08-19 17:41:35', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-19 17:41:35', '2015-08-19 17:41:35', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-19 17:41:35', '2015-08-19 17:41:35', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-19 17:41:35', '2015-08-19 17:41:35', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-19 17:41:35', '2015-08-19 17:41:35', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-19 17:41:35', '2015-08-19 17:41:35', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-19 17:41:35', '2015-08-19 17:41:35', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-19 17:41:35', '2015-08-19 17:41:35', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:41:35.534217"], ["updated_at", "2015-08-19 17:41:35.534217"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:41:35.546720"], ["updated_at", "2015-08-19 17:41:35.546720"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:41:35.560489"], ["updated_at", "2015-08-19 17:41:35.560489"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:41:35.563102"], ["updated_at", "2015-08-19 17:41:35.563102"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:41:35.570480"], ["updated_at", "2015-08-19 17:41:35.570480"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:41:35.572789"], ["updated_at", "2015-08-19 17:41:35.572789"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:41:35.591659"], ["updated_at", "2015-08-19 17:41:35.591659"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:41:35.594177"], ["updated_at", "2015-08-19 17:41:35.594177"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-19 17:41:35.621112"], ["updated_at", "2015-08-19 17:41:35.621112"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-19 17:41:35.624530"], ["updated_at", "2015-08-19 17:41:35.624530"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:41:35.700543"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:41:35.706490"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:41:35.715306"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-19"], ["completed_at", "2015-08-17 00:00:00.000000"], ["created_at", "2015-08-19 17:41:35.721916"], ["updated_at", "2015-08-19 17:41:35.721916"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-20"], ["created_at", "2015-08-19 17:41:35.731879"], ["updated_at", "2015-08-19 17:41:35.731879"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-19 17:41:35.736724"], ["updated_at", "2015-08-19 17:41:35.736724"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:41:35.739995') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:41:35.740028') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:41:35.743846') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:41:35.743866')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:41:35.745744') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:41:35.745761')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.5ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:41:35.797495"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:41:35.837798"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:41:35.865220"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:41:35.867900"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-12 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-19 23:59:59.999999' AND created_at >= '2015-08-19 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:41:35.873871"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-19 23:59:59.999999' AND created_at >= '2015-08-19 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:41:35.878636"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:41:35.886016"], ["updated_at", "2015-08-19 17:41:35.886016"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-19 17:41:35.891420"], ["updated_at", "2015-08-19 17:41:35.891420"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-19 17:41:35.894526"], ["updated_at", "2015-08-19 17:41:35.894526"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:41:35.942558"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:41:35.946277"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:41:35.953288"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:41:35.962364"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:41:35.966647"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:41:35.973778"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (2.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.6ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-19', '2015-08-19 17:43:03', '2015-08-19 17:43:03', 809335042, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-19 17:43:03.000000', '2015-08-19', '2015-08-19 17:43:03', '2015-08-19 17:43:03', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-19', '2015-08-19 17:43:03', '2015-08-19 17:43:03', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-19 17:43:03', '2015-08-19 17:43:03', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-19 17:43:03.000000', '2015-08-19', '2015-08-19 17:43:03', '2015-08-19 17:43:03', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-18', '2015-08-19 17:43:03', '2015-08-19 17:43:03', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-17', '2015-08-19 17:43:03', '2015-08-19 17:43:03', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-19 17:43:03.000000', '2015-08-19', '2015-08-19 17:43:03', '2015-08-19 17:43:03', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-19', '2015-08-19 17:43:03', '2015-08-19 17:43:03', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-19 17:43:03.000000', '2015-08-19', '2015-08-19 17:43:03', '2015-08-19 17:43:03', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-19', '2015-08-19 17:43:03', '2015-08-19 17:43:03', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-19 17:43:03.000000', '2015-08-19', '2015-08-19 17:43:03', '2015-08-19 17:43:03', 16804933, 816972181)  (6.2ms) COMMIT  (1.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:43:03.215788"], ["updated_at", "2015-08-19 17:43:03.215788"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-19 17:43:03.240471"], ["updated_at", "2015-08-19 17:43:03.240471"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803340], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-19 17:43:03.244677"], ["updated_at", "2015-08-19 17:43:03.244677"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (6.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-19 17:43:03', '2015-08-19 17:43:03', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042)  (5.8ms) COMMIT  (7.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) ROLLBACK  (7.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-19 17:43:03', '2015-08-19 17:43:03', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-18 17:43:03.000000', '2015-08-19 17:43:03', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 17:43:03.000000', '2015-08-19 17:43:03', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-18 17:43:03.000000', '2015-08-19 17:43:03', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 17:43:03.000000', '2015-08-19 17:43:03', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-19 17:43:03', '2015-08-19 17:43:03', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-19 17:43:03', '2015-08-19 17:43:03', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-19 17:43:03', '2015-08-19 17:43:03', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-19 17:43:03', '2015-08-19 17:43:03', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-19 17:43:03', '2015-08-19 17:43:03', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-19 17:43:03', '2015-08-19 17:43:03', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-19 17:43:03', '2015-08-19 17:43:03', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-19 17:43:03', '2015-08-19 17:43:03', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-19 17:43:03', '2015-08-19 17:43:03', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-19 17:43:03', '2015-08-19 17:43:03', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-19 17:43:03.370025"], ["updated_at", "2015-08-19 17:43:03.370025"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-19 17:43:03.372889"], ["updated_at", "2015-08-19 17:43:03.372889"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:43:03.398281"], ["updated_at", "2015-08-19 17:43:03.398281"]] SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:43:03.401636"], ["updated_at", "2015-08-19 17:43:03.401636"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:43:03.408730"], ["updated_at", "2015-08-19 17:43:03.408730"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:43:03.411201"], ["updated_at", "2015-08-19 17:43:03.411201"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:43:03.430998"], ["updated_at", "2015-08-19 17:43:03.430998"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:43:03.433156"], ["updated_at", "2015-08-19 17:43:03.433156"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:43:03.439202"], ["updated_at", "2015-08-19 17:43:03.439202"]] SQL (0.1ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:43:03.441716"], ["updated_at", "2015-08-19 17:43:03.441716"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-12 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:03.527005"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:03.530500"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-19 23:59:59.999999' AND created_at >= '2015-08-19 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:03.537380"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-19 23:59:59.999999' AND created_at >= '2015-08-19 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:03.542795"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:03.552087"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:03.560499"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:03.564963"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:03.618233"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:03.625700"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:03.628683"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:03.649269"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:03.655850"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:03.659203"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:43:03.663108') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:43:03.663137')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:43:03.665558') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:43:03.665575') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:43:03.668137') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:43:03.668153')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-19"], ["completed_at", "2015-08-17 00:00:00.000000"], ["created_at", "2015-08-19 17:43:03.674216"], ["updated_at", "2015-08-19 17:43:03.674216"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-19 17:43:03.678478"], ["updated_at", "2015-08-19 17:43:03.678478"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-20"], ["created_at", "2015-08-19 17:43:03.683370"], ["updated_at", "2015-08-19 17:43:03.683370"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:03.742004"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-19 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:03.752047"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (4.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.9ms) DELETE FROM "social_networking_comments" Fixture Insert (0.5ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-19 17:43:35', '2015-08-19 17:43:35', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-19', '2015-08-19 17:43:35', '2015-08-19 17:43:35', 809335042, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-19 17:43:35.000000', '2015-08-19', '2015-08-19 17:43:35', '2015-08-19 17:43:35', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-19', '2015-08-19 17:43:35', '2015-08-19 17:43:35', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-19 17:43:35', '2015-08-19 17:43:35', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-19 17:43:35.000000', '2015-08-19', '2015-08-19 17:43:35', '2015-08-19 17:43:35', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-18', '2015-08-19 17:43:35', '2015-08-19 17:43:35', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-17', '2015-08-19 17:43:35', '2015-08-19 17:43:35', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-19 17:43:35.000000', '2015-08-19', '2015-08-19 17:43:35', '2015-08-19 17:43:35', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-19', '2015-08-19 17:43:35', '2015-08-19 17:43:35', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-19 17:43:35.000000', '2015-08-19', '2015-08-19 17:43:35', '2015-08-19 17:43:35', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-19', '2015-08-19 17:43:35', '2015-08-19 17:43:35', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-19 17:43:35.000000', '2015-08-19', '2015-08-19 17:43:35', '2015-08-19 17:43:35', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-19 17:43:35', '2015-08-19 17:43:35', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-18 17:43:35.000000', '2015-08-19 17:43:35', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 17:43:35.000000', '2015-08-19 17:43:35', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-18 17:43:35.000000', '2015-08-19 17:43:35', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 17:43:35.000000', '2015-08-19 17:43:35', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-19 17:43:35', '2015-08-19 17:43:35', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-19 17:43:35', '2015-08-19 17:43:35', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-19 17:43:35', '2015-08-19 17:43:35', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-19 17:43:35', '2015-08-19 17:43:35', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-19 17:43:35', '2015-08-19 17:43:35', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-19 17:43:35', '2015-08-19 17:43:35', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-19 17:43:35', '2015-08-19 17:43:35', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-19 17:43:35', '2015-08-19 17:43:35', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-19 17:43:35', '2015-08-19 17:43:35', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-19 17:43:35', '2015-08-19 17:43:35', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:35.937252"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-12 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:35.946839"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:35.950974"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-19 23:59:59.999999' AND created_at >= '2015-08-19 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:35.959021"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-19 23:59:59.999999' AND created_at >= '2015-08-19 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::ProfileAnswer Load (0.5ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-19 17:43:36.021256"], ["updated_at", "2015-08-19 17:43:36.021256"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-19 17:43:36.024543"], ["updated_at", "2015-08-19 17:43:36.024543"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:36.079774"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:36.094704"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.5ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:43:36.140052"], ["updated_at", "2015-08-19 17:43:36.140052"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-19 17:43:36.145003"], ["updated_at", "2015-08-19 17:43:36.145003"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-19 17:43:36.147792"], ["updated_at", "2015-08-19 17:43:36.147792"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:43:36.161193"], ["updated_at", "2015-08-19 17:43:36.161193"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:43:36.164183"], ["updated_at", "2015-08-19 17:43:36.164183"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:43:36.171045"], ["updated_at", "2015-08-19 17:43:36.171045"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:43:36.195879"], ["updated_at", "2015-08-19 17:43:36.195879"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:43:36.201566"], ["updated_at", "2015-08-19 17:43:36.201566"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:43:36.203673"], ["updated_at", "2015-08-19 17:43:36.203673"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:43:36.219413"], ["updated_at", "2015-08-19 17:43:36.219413"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:43:36.221650"], ["updated_at", "2015-08-19 17:43:36.221650"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:36.249798"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:36.253046"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:36.262155"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-19 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:36.269836"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:36.276955"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:36.280381"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-19 17:43:36.292431"], ["updated_at", "2015-08-19 17:43:36.292431"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-20"], ["created_at", "2015-08-19 17:43:36.296528"], ["updated_at", "2015-08-19 17:43:36.296528"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-19"], ["completed_at", "2015-08-17 00:00:00.000000"], ["created_at", "2015-08-19 17:43:36.302842"], ["updated_at", "2015-08-19 17:43:36.302842"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:43:36.305949') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:43:36.305985') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:43:36.309563') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:43:36.309587')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:43:36.311535') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:43:36.311555')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:36.345254"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.7ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:36.349327"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:36.359834"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (2.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-19 17:43:44', '2015-08-19 17:43:44', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-19', '2015-08-19 17:43:44', '2015-08-19 17:43:44', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-19 17:43:44.000000', '2015-08-19', '2015-08-19 17:43:44', '2015-08-19 17:43:44', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-19', '2015-08-19 17:43:44', '2015-08-19 17:43:44', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-19 17:43:44', '2015-08-19 17:43:44', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-19 17:43:44.000000', '2015-08-19', '2015-08-19 17:43:44', '2015-08-19 17:43:44', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-18', '2015-08-19 17:43:44', '2015-08-19 17:43:44', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-17', '2015-08-19 17:43:44', '2015-08-19 17:43:44', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-19 17:43:44.000000', '2015-08-19', '2015-08-19 17:43:44', '2015-08-19 17:43:44', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-19', '2015-08-19 17:43:44', '2015-08-19 17:43:44', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-19 17:43:44.000000', '2015-08-19', '2015-08-19 17:43:44', '2015-08-19 17:43:44', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-19', '2015-08-19 17:43:44', '2015-08-19 17:43:44', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-19 17:43:44.000000', '2015-08-19', '2015-08-19 17:43:44', '2015-08-19 17:43:44', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-19 17:43:44', '2015-08-19 17:43:44', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-18 17:43:44.000000', '2015-08-19 17:43:44', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 17:43:44.000000', '2015-08-19 17:43:44', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-18 17:43:44.000000', '2015-08-19 17:43:44', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 17:43:44.000000', '2015-08-19 17:43:44', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-19 17:43:44', '2015-08-19 17:43:44', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-19 17:43:44', '2015-08-19 17:43:44', 369066228, 816972181) Fixture Delete (0.7ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-19 17:43:44', '2015-08-19 17:43:44', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-19 17:43:44', '2015-08-19 17:43:44', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-19 17:43:44', '2015-08-19 17:43:44', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-19 17:43:44', '2015-08-19 17:43:44', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-19 17:43:44', '2015-08-19 17:43:44', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-19 17:43:44', '2015-08-19 17:43:44', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-19 17:43:44', '2015-08-19 17:43:44', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-19 17:43:44', '2015-08-19 17:43:44', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.7ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-12 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:45.051794"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:45.055458"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:45.061086"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-19 23:59:59.999999' AND created_at >= '2015-08-19 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:45.067307"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-19 23:59:59.999999' AND created_at >= '2015-08-19 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:43:45.088979"], ["updated_at", "2015-08-19 17:43:45.088979"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-19 17:43:45.094325"], ["updated_at", "2015-08-19 17:43:45.094325"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-19 17:43:45.097321"], ["updated_at", "2015-08-19 17:43:45.097321"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:45.108350"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-19 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:45.116995"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:45.120667"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:45.148236"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:45.159622"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:45.163257"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:43:45.167442') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:43:45.167475')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:43:45.172868') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:43:45.172893') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:43:45.176148') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:43:45.176171')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-19 17:43:45.182100"], ["updated_at", "2015-08-19 17:43:45.182100"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-19"], ["completed_at", "2015-08-17 00:00:00.000000"], ["created_at", "2015-08-19 17:43:45.186869"], ["updated_at", "2015-08-19 17:43:45.186869"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.3ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-20"], ["created_at", "2015-08-19 17:43:45.192236"], ["updated_at", "2015-08-19 17:43:45.192236"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-19 17:43:45.295532"], ["updated_at", "2015-08-19 17:43:45.295532"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-19 17:43:45.298107"], ["updated_at", "2015-08-19 17:43:45.298107"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:45.314502"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:45.322548"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:45.326774"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:45.360577"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:43:45.369884"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000')  (0.3ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:43:45.409560"], ["updated_at", "2015-08-19 17:43:45.409560"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:43:45.414093"], ["updated_at", "2015-08-19 17:43:45.414093"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:43:45.423724"], ["updated_at", "2015-08-19 17:43:45.423724"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:43:45.427359"], ["updated_at", "2015-08-19 17:43:45.427359"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:43:45.444191"], ["updated_at", "2015-08-19 17:43:45.444191"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:43:45.446344"], ["updated_at", "2015-08-19 17:43:45.446344"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:43:45.451415"], ["updated_at", "2015-08-19 17:43:45.451415"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:43:45.453691"], ["updated_at", "2015-08-19 17:43:45.453691"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (7.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-19 17:44:01', '2015-08-19 17:44:01', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-19', '2015-08-19 17:44:01', '2015-08-19 17:44:01', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-19 17:44:01.000000', '2015-08-19', '2015-08-19 17:44:01', '2015-08-19 17:44:01', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-19', '2015-08-19 17:44:01', '2015-08-19 17:44:01', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-19 17:44:01', '2015-08-19 17:44:01', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-19 17:44:01.000000', '2015-08-19', '2015-08-19 17:44:01', '2015-08-19 17:44:01', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-18', '2015-08-19 17:44:01', '2015-08-19 17:44:01', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-17', '2015-08-19 17:44:01', '2015-08-19 17:44:01', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-19 17:44:01.000000', '2015-08-19', '2015-08-19 17:44:01', '2015-08-19 17:44:01', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-19', '2015-08-19 17:44:01', '2015-08-19 17:44:01', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-19 17:44:01.000000', '2015-08-19', '2015-08-19 17:44:01', '2015-08-19 17:44:01', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-19', '2015-08-19 17:44:01', '2015-08-19 17:44:01', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-19 17:44:01.000000', '2015-08-19', '2015-08-19 17:44:01', '2015-08-19 17:44:01', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-19 17:44:01', '2015-08-19 17:44:01', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-18 17:44:01.000000', '2015-08-19 17:44:01', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 17:44:01.000000', '2015-08-19 17:44:01', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-18 17:44:01.000000', '2015-08-19 17:44:01', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 17:44:01.000000', '2015-08-19 17:44:01', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-19 17:44:01', '2015-08-19 17:44:01', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-19 17:44:01', '2015-08-19 17:44:01', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-19 17:44:01', '2015-08-19 17:44:01', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-19 17:44:01', '2015-08-19 17:44:01', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-19 17:44:01', '2015-08-19 17:44:01', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-19 17:44:01', '2015-08-19 17:44:01', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-19 17:44:01', '2015-08-19 17:44:01', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-19 17:44:01', '2015-08-19 17:44:01', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-19 17:44:01', '2015-08-19 17:44:01', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-19 17:44:01', '2015-08-19 17:44:01', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:44:01.684330"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:44:01.691725"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:44:01.694718"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-19 23:59:59.999999' AND created_at >= '2015-08-19 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:44:01.700919"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-19 23:59:59.999999' AND created_at >= '2015-08-19 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.7ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:44:01.735062"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:44:01.751992"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:44:01.813062"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:44:01.817553"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:44:01.826282"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:44:01.883334"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:44:01.886917"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:44:01.894180"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-20"], ["created_at", "2015-08-19 17:44:01.908927"], ["updated_at", "2015-08-19 17:44:01.908927"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-19 17:44:01.914788"], ["updated_at", "2015-08-19 17:44:01.914788"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-19"], ["completed_at", "2015-08-17 00:00:00.000000"], ["created_at", "2015-08-19 17:44:01.923853"], ["updated_at", "2015-08-19 17:44:01.923853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:44:01.927468') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:44:01.927501') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:44:01.930971') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:44:01.930995')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:44:01.932953') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:44:01.932970')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:44:02.010433"], ["updated_at", "2015-08-19 17:44:02.010433"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:44:02.013372"], ["updated_at", "2015-08-19 17:44:02.013372"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:44:02.020025"], ["updated_at", "2015-08-19 17:44:02.020025"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:44:02.022490"], ["updated_at", "2015-08-19 17:44:02.022490"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:44:02.028892"], ["updated_at", "2015-08-19 17:44:02.028892"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:44:02.031723"], ["updated_at", "2015-08-19 17:44:02.031723"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:44:02.048189"], ["updated_at", "2015-08-19 17:44:02.048189"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:44:02.050582"], ["updated_at", "2015-08-19 17:44:02.050582"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.6ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:44:02.060612"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:44:02.065704"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:44:02.073417"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:44:02.079339"], ["updated_at", "2015-08-19 17:44:02.079339"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-19 17:44:02.084284"], ["updated_at", "2015-08-19 17:44:02.084284"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-19 17:44:02.087574"], ["updated_at", "2015-08-19 17:44:02.087574"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-19 17:44:02.095785"], ["updated_at", "2015-08-19 17:44:02.095785"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-19 17:44:02.098738"], ["updated_at", "2015-08-19 17:44:02.098738"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (4.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.6ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-19 17:45:16', '2015-08-19 17:45:16', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-19', '2015-08-19 17:45:16', '2015-08-19 17:45:16', 809335042, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-19 17:45:16.000000', '2015-08-19', '2015-08-19 17:45:16', '2015-08-19 17:45:16', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-19', '2015-08-19 17:45:16', '2015-08-19 17:45:16', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-19 17:45:16', '2015-08-19 17:45:16', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-19 17:45:16.000000', '2015-08-19', '2015-08-19 17:45:16', '2015-08-19 17:45:16', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-18', '2015-08-19 17:45:16', '2015-08-19 17:45:16', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-17', '2015-08-19 17:45:16', '2015-08-19 17:45:16', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-19 17:45:16.000000', '2015-08-19', '2015-08-19 17:45:16', '2015-08-19 17:45:16', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-19', '2015-08-19 17:45:16', '2015-08-19 17:45:16', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-19 17:45:16.000000', '2015-08-19', '2015-08-19 17:45:16', '2015-08-19 17:45:16', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-19', '2015-08-19 17:45:16', '2015-08-19 17:45:16', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-19 17:45:16.000000', '2015-08-19', '2015-08-19 17:45:16', '2015-08-19 17:45:16', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-19 17:45:16', '2015-08-19 17:45:16', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-18 17:45:16.000000', '2015-08-19 17:45:16', 503297012, 700141617, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 17:45:16.000000', '2015-08-19 17:45:16', 366290861, 700141617, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-18 17:45:16.000000', '2015-08-19 17:45:16', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 17:45:16.000000', '2015-08-19 17:45:16', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-19 17:45:16', '2015-08-19 17:45:16', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-19 17:45:16', '2015-08-19 17:45:16', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-19 17:45:16', '2015-08-19 17:45:16', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-19 17:45:16', '2015-08-19 17:45:16', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-19 17:45:16', '2015-08-19 17:45:16', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-19 17:45:16', '2015-08-19 17:45:16', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-19 17:45:16', '2015-08-19 17:45:16', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-19 17:45:16', '2015-08-19 17:45:16', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-19 17:45:16', '2015-08-19 17:45:16', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-19 17:45:16', '2015-08-19 17:45:16', 809335042, 'SocialNetworking::Goal', 809335042)  (1.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:17.079269"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:17.100678"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-19 17:45:17.156988"], ["updated_at", "2015-08-19 17:45:17.156988"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-19 17:45:17.166643"], ["updated_at", "2015-08-19 17:45:17.166643"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.3ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:17.183724"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:17.186818"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-12 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-19 23:59:59.999999' AND created_at >= '2015-08-19 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:17.194374"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-19 23:59:59.999999' AND created_at >= '2015-08-19 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:17.200279"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:17.216256"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:17.220030"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:17.230303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.6ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:45:17.263986"], ["updated_at", "2015-08-19 17:45:17.263986"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-19 17:45:17.269079"], ["updated_at", "2015-08-19 17:45:17.269079"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-19 17:45:17.271841"], ["updated_at", "2015-08-19 17:45:17.271841"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:45:17.296452"], ["updated_at", "2015-08-19 17:45:17.296452"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:45:17.299088"], ["updated_at", "2015-08-19 17:45:17.299088"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:45:17.327468"], ["updated_at", "2015-08-19 17:45:17.327468"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:45:17.329626"], ["updated_at", "2015-08-19 17:45:17.329626"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:45:17.336409"], ["updated_at", "2015-08-19 17:45:17.336409"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:45:17.338880"], ["updated_at", "2015-08-19 17:45:17.338880"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:45:17.354766"], ["updated_at", "2015-08-19 17:45:17.354766"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:45:17.357145"], ["updated_at", "2015-08-19 17:45:17.357145"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:17.366309"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:17.370165"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:17.377447"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:17.429309"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:17.432481"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:17.438705"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-19"], ["completed_at", "2015-08-17 00:00:00.000000"], ["created_at", "2015-08-19 17:45:17.448401"], ["updated_at", "2015-08-19 17:45:17.448401"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-20"], ["created_at", "2015-08-19 17:45:17.452928"], ["updated_at", "2015-08-19 17:45:17.452928"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-19 17:45:17.457272"], ["updated_at", "2015-08-19 17:45:17.457272"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:45:17.460154') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:45:17.460184') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:45:17.463007') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:45:17.463025')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:45:17.464682') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:45:17.464700')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (3.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-19 17:45:42', '2015-08-19 17:45:42', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-19', '2015-08-19 17:45:42', '2015-08-19 17:45:42', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-19 17:45:42.000000', '2015-08-19', '2015-08-19 17:45:42', '2015-08-19 17:45:42', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-19', '2015-08-19 17:45:42', '2015-08-19 17:45:42', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-19 17:45:42', '2015-08-19 17:45:42', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-19 17:45:42.000000', '2015-08-19', '2015-08-19 17:45:42', '2015-08-19 17:45:42', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-18', '2015-08-19 17:45:42', '2015-08-19 17:45:42', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-17', '2015-08-19 17:45:42', '2015-08-19 17:45:42', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-19 17:45:42.000000', '2015-08-19', '2015-08-19 17:45:42', '2015-08-19 17:45:42', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-19', '2015-08-19 17:45:42', '2015-08-19 17:45:42', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-19 17:45:42.000000', '2015-08-19', '2015-08-19 17:45:42', '2015-08-19 17:45:42', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-19', '2015-08-19 17:45:42', '2015-08-19 17:45:42', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-19 17:45:42.000000', '2015-08-19', '2015-08-19 17:45:42', '2015-08-19 17:45:42', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-19 17:45:42', '2015-08-19 17:45:42', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-18 17:45:42.000000', '2015-08-19 17:45:42', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 17:45:42.000000', '2015-08-19 17:45:42', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-18 17:45:42.000000', '2015-08-19 17:45:42', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 17:45:42.000000', '2015-08-19 17:45:42', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-19 17:45:42', '2015-08-19 17:45:42', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-19 17:45:42', '2015-08-19 17:45:42', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-19 17:45:42', '2015-08-19 17:45:42', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-19 17:45:42', '2015-08-19 17:45:42', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-19 17:45:42', '2015-08-19 17:45:42', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-19 17:45:42', '2015-08-19 17:45:42', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-19 17:45:42', '2015-08-19 17:45:42', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-19 17:45:42', '2015-08-19 17:45:42', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-19 17:45:42', '2015-08-19 17:45:42', 183235640, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-19 17:45:42', '2015-08-19 17:45:42', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:45:42.594658"], ["updated_at", "2015-08-19 17:45:42.594658"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-19 17:45:42.611080"], ["updated_at", "2015-08-19 17:45:42.611080"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-19 17:45:42.614368"], ["updated_at", "2015-08-19 17:45:42.614368"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-19 17:45:42.620234"], ["updated_at", "2015-08-19 17:45:42.620234"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-19 17:45:42.623871"], ["updated_at", "2015-08-19 17:45:42.623871"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:45:42.660607"], ["updated_at", "2015-08-19 17:45:42.660607"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:45:42.663713"], ["updated_at", "2015-08-19 17:45:42.663713"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:45:42.670595"], ["updated_at", "2015-08-19 17:45:42.670595"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:45:42.673062"], ["updated_at", "2015-08-19 17:45:42.673062"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:45:42.679214"], ["updated_at", "2015-08-19 17:45:42.679214"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:45:42.681458"], ["updated_at", "2015-08-19 17:45:42.681458"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:45:42.697886"], ["updated_at", "2015-08-19 17:45:42.697886"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:45:42.700239"], ["updated_at", "2015-08-19 17:45:42.700239"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:42.804432"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:42.807869"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-19 23:59:59.999999' AND created_at >= '2015-08-19 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:42.834906"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-19 23:59:59.999999' AND created_at >= '2015-08-19 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:42.840328"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.8ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:42.874673"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:42.888043"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:42.917179"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:42.921736"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:42.930087"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:42.938679"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:42.942480"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:42.949079"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:42.964505"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:42.968009"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:42.974629"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-19"], ["completed_at", "2015-08-17 00:00:00.000000"], ["created_at", "2015-08-19 17:45:42.979740"], ["updated_at", "2015-08-19 17:45:42.979740"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-20"], ["created_at", "2015-08-19 17:45:42.985909"], ["updated_at", "2015-08-19 17:45:42.985909"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-19 17:45:42.990853"], ["updated_at", "2015-08-19 17:45:42.990853"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:45:42.995285') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:45:42.995318') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:45:42.998620') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:45:42.998639')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:45:43.000468') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:45:43.000484')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (3.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-19 17:45:52', '2015-08-19 17:45:52', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-19', '2015-08-19 17:45:52', '2015-08-19 17:45:52', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-19 17:45:52.000000', '2015-08-19', '2015-08-19 17:45:52', '2015-08-19 17:45:52', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-19', '2015-08-19 17:45:52', '2015-08-19 17:45:52', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-19 17:45:52', '2015-08-19 17:45:52', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-19 17:45:52.000000', '2015-08-19', '2015-08-19 17:45:52', '2015-08-19 17:45:52', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-18', '2015-08-19 17:45:52', '2015-08-19 17:45:52', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-17', '2015-08-19 17:45:52', '2015-08-19 17:45:52', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-19 17:45:52.000000', '2015-08-19', '2015-08-19 17:45:52', '2015-08-19 17:45:52', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-19', '2015-08-19 17:45:52', '2015-08-19 17:45:52', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-19 17:45:52.000000', '2015-08-19', '2015-08-19 17:45:52', '2015-08-19 17:45:52', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-19', '2015-08-19 17:45:52', '2015-08-19 17:45:52', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-19 17:45:52.000000', '2015-08-19', '2015-08-19 17:45:52', '2015-08-19 17:45:52', 16804933, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-19 17:45:52', '2015-08-19 17:45:52', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-18 17:45:52.000000', '2015-08-19 17:45:52', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 17:45:52.000000', '2015-08-19 17:45:52', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-18 17:45:52.000000', '2015-08-19 17:45:52', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 17:45:52.000000', '2015-08-19 17:45:52', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-19 17:45:52', '2015-08-19 17:45:52', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-19 17:45:52', '2015-08-19 17:45:52', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-19 17:45:52', '2015-08-19 17:45:52', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-19 17:45:52', '2015-08-19 17:45:52', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-19 17:45:52', '2015-08-19 17:45:52', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-19 17:45:52', '2015-08-19 17:45:52', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-19 17:45:52', '2015-08-19 17:45:52', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-19 17:45:52', '2015-08-19 17:45:52', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-19 17:45:52', '2015-08-19 17:45:52', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-19 17:45:52', '2015-08-19 17:45:52', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (1.0ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:52.476526"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:52.488155"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.7ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000')  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-19 23:59:59.999999' AND created_at >= '2015-08-19 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:52.536938"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-19 23:59:59.999999' AND created_at >= '2015-08-19 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:52.542892"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:52.549482"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:52.552713"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:52.587835"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:52.591592"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:52.600461"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:45:52.608789') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:45:52.608824')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:45:52.614611') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:45:52.614641') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:45:52.617599') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:45:52.617616')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-19"], ["completed_at", "2015-08-17 00:00:00.000000"], ["created_at", "2015-08-19 17:45:52.621791"], ["updated_at", "2015-08-19 17:45:52.621791"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-20"], ["created_at", "2015-08-19 17:45:52.627313"], ["updated_at", "2015-08-19 17:45:52.627313"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-19 17:45:52.632370"], ["updated_at", "2015-08-19 17:45:52.632370"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:52.650040"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:52.657611"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:52.660963"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:45:52.682855"], ["updated_at", "2015-08-19 17:45:52.682855"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-19 17:45:52.688452"], ["updated_at", "2015-08-19 17:45:52.688452"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-19 17:45:52.691295"], ["updated_at", "2015-08-19 17:45:52.691295"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-19 17:45:52.723558"], ["updated_at", "2015-08-19 17:45:52.723558"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-19 17:45:52.726355"], ["updated_at", "2015-08-19 17:45:52.726355"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:45:52.743125"], ["updated_at", "2015-08-19 17:45:52.743125"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:45:52.745635"], ["updated_at", "2015-08-19 17:45:52.745635"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:45:52.751772"], ["updated_at", "2015-08-19 17:45:52.751772"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:45:52.753777"], ["updated_at", "2015-08-19 17:45:52.753777"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:45:52.769704"], ["updated_at", "2015-08-19 17:45:52.769704"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:45:52.771929"], ["updated_at", "2015-08-19 17:45:52.771929"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:45:52.776817"], ["updated_at", "2015-08-19 17:45:52.776817"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:45:52.778737"], ["updated_at", "2015-08-19 17:45:52.778737"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:52.826493"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:52.835136"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:45:52.838775"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (2.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-19 17:46:21', '2015-08-19 17:46:21', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042)  (5.6ms) COMMIT  (6.7ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.3ms) BEGIN SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (7.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-19', '2015-08-19 17:46:22', '2015-08-19 17:46:22', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-19 17:46:22.000000', '2015-08-19', '2015-08-19 17:46:22', '2015-08-19 17:46:22', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-19', '2015-08-19 17:46:22', '2015-08-19 17:46:22', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-19 17:46:22', '2015-08-19 17:46:22', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-19 17:46:22.000000', '2015-08-19', '2015-08-19 17:46:22', '2015-08-19 17:46:22', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-18', '2015-08-19 17:46:22', '2015-08-19 17:46:22', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-17', '2015-08-19 17:46:22', '2015-08-19 17:46:22', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-19 17:46:22.000000', '2015-08-19', '2015-08-19 17:46:22', '2015-08-19 17:46:22', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-19', '2015-08-19 17:46:22', '2015-08-19 17:46:22', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-19 17:46:22.000000', '2015-08-19', '2015-08-19 17:46:22', '2015-08-19 17:46:22', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-19', '2015-08-19 17:46:22', '2015-08-19 17:46:22', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-19 17:46:22.000000', '2015-08-19', '2015-08-19 17:46:22', '2015-08-19 17:46:22', 16804933, 816972181)  (6.0ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:46:22.131687"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:46:22.136112"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:46:22.143884"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.7ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:46:22.179436"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:46:22.201137"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-19 17:46:22', '2015-08-19 17:46:22', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-18 17:46:22.000000', '2015-08-19 17:46:22', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 17:46:22.000000', '2015-08-19 17:46:22', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-18 17:46:22.000000', '2015-08-19 17:46:22', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 17:46:22.000000', '2015-08-19 17:46:22', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-19 17:46:22', '2015-08-19 17:46:22', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-19 17:46:22', '2015-08-19 17:46:22', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-19 17:46:22', '2015-08-19 17:46:22', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-19 17:46:22', '2015-08-19 17:46:22', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-19 17:46:22', '2015-08-19 17:46:22', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-19 17:46:22', '2015-08-19 17:46:22', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-19 17:46:22', '2015-08-19 17:46:22', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-19 17:46:22', '2015-08-19 17:46:22', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-19 17:46:22', '2015-08-19 17:46:22', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.4ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-19 17:46:22', '2015-08-19 17:46:22', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.5ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-19 17:46:22.333599"], ["updated_at", "2015-08-19 17:46:22.333599"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-19 17:46:22.343476"], ["updated_at", "2015-08-19 17:46:22.343476"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:46:22.394708"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:46:22.399420"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:46:22.429182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:46:22.442696"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:46:22.446217"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:46:22.455630"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-20"], ["created_at", "2015-08-19 17:46:22.464359"], ["updated_at", "2015-08-19 17:46:22.464359"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-19"], ["completed_at", "2015-08-17 00:00:00.000000"], ["created_at", "2015-08-19 17:46:22.468573"], ["updated_at", "2015-08-19 17:46:22.468573"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-19 17:46:22.474596"], ["updated_at", "2015-08-19 17:46:22.474596"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:46:22.478405') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:46:22.478438') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:46:22.481468') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:46:22.481488')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 17:46:22.483309') AND ("social_networking_goals"."due_on" >= '2015-08-18 17:46:22.483326')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:46:22.527507"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 17:46:22.530488"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-19 23:59:59.999999' AND created_at >= '2015-08-19 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 17:46:22.536604"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-19 23:59:59.999999' AND created_at >= '2015-08-19 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 17:46:22.541273"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:46:22.574639"], ["updated_at", "2015-08-19 17:46:22.574639"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:46:22.578020"], ["updated_at", "2015-08-19 17:46:22.578020"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:46:22.585139"], ["updated_at", "2015-08-19 17:46:22.585139"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:46:22.587393"], ["updated_at", "2015-08-19 17:46:22.587393"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:46:22.592920"], ["updated_at", "2015-08-19 17:46:22.592920"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:46:22.595444"], ["updated_at", "2015-08-19 17:46:22.595444"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 17:46:22.615863"], ["updated_at", "2015-08-19 17:46:22.615863"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:46:22.618220"], ["updated_at", "2015-08-19 17:46:22.618220"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.1ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-19 17:46:22.624303"], ["updated_at", "2015-08-19 17:46:22.624303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-19 17:46:22.628816"], ["updated_at", "2015-08-19 17:46:22.628816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-19 17:46:22.631554"], ["updated_at", "2015-08-19 17:46:22.631554"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (2.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-19 17:47:25', '2015-08-19 17:47:25', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.4ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.6ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (1.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-19 17:47:25', '2015-08-19 17:47:25', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (2.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-19 17:47:37', '2015-08-19 17:47:37', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.3ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (1.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-19 17:47:37', '2015-08-19 17:47:37', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.3ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (7.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-19 17:54:41', '2015-08-19 17:54:41', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042)  (6.2ms) COMMIT  (7.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.3ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (6.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-19 17:54:41', '2015-08-19 17:54:41', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042)  (5.7ms) COMMIT  (7.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (2.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-19 17:55:12', '2015-08-19 17:55:12', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.3ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (1.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-19 17:55:12', '2015-08-19 17:55:12', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (3.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-19 17:55:31', '2015-08-19 17:55:31', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.6ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.3ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (1.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-19 17:55:31', '2015-08-19 17:55:31', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (7.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-19 17:57:49', '2015-08-19 17:57:49', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042)  (6.2ms) COMMIT  (6.9ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (6.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-19 17:57:49', '2015-08-19 17:57:49', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042)  (5.8ms) COMMIT  (7.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.3ms) BEGIN SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (3.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.9ms) DELETE FROM "social_networking_likes" Fixture Insert (0.5ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-19 17:58:07', '2015-08-19 17:58:07', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.6ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-19 17:58:07', '2015-08-19 17:58:07', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.5ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Profile Load (0.8ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (1.0ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (1.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (6.6ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.7ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-19 19:38:06', '2015-08-19 19:38:06', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-19', '2015-08-19 19:38:06', '2015-08-19 19:38:06', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-19 19:38:06.000000', '2015-08-19', '2015-08-19 19:38:06', '2015-08-19 19:38:06', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-19', '2015-08-19 19:38:06', '2015-08-19 19:38:06', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-19 19:38:06', '2015-08-19 19:38:06', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-19 19:38:06.000000', '2015-08-19', '2015-08-19 19:38:06', '2015-08-19 19:38:06', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-18', '2015-08-19 19:38:06', '2015-08-19 19:38:06', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-17', '2015-08-19 19:38:06', '2015-08-19 19:38:06', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-19 19:38:06.000000', '2015-08-19', '2015-08-19 19:38:06', '2015-08-19 19:38:06', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-19', '2015-08-19 19:38:06', '2015-08-19 19:38:06', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-19 19:38:06.000000', '2015-08-19', '2015-08-19 19:38:06', '2015-08-19 19:38:06', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-19', '2015-08-19 19:38:06', '2015-08-19 19:38:06', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-19 19:38:06.000000', '2015-08-19', '2015-08-19 19:38:06', '2015-08-19 19:38:06', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-19 19:38:06', '2015-08-19 19:38:06', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-18 19:38:06.000000', '2015-08-19 19:38:06', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 19:38:06.000000', '2015-08-19 19:38:06', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-18 19:38:06.000000', '2015-08-19 19:38:06', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 19:38:06.000000', '2015-08-19 19:38:06', 316146702, 816972181, 700141617) Fixture Delete (0.5ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-19 19:38:06', '2015-08-19 19:38:06', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-19 19:38:06', '2015-08-19 19:38:06', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-19 19:38:06', '2015-08-19 19:38:06', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-19 19:38:06', '2015-08-19 19:38:06', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-19 19:38:06', '2015-08-19 19:38:06', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-19 19:38:06', '2015-08-19 19:38:06', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-19 19:38:06', '2015-08-19 19:38:06', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-19 19:38:06', '2015-08-19 19:38:06', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-19 19:38:06', '2015-08-19 19:38:06', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.4ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-19 19:38:06', '2015-08-19 19:38:06', 809335042, 'SocialNetworking::Goal', 809335042)  (0.7ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.7ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (26.8ms) Sent mail to obama@ex.co (8.9ms) Date: Wed, 19 Aug 2015 14:38:06 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d4db1ee2727_bfe13fcd0205e20418759@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 255.3ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.4ms) Date: Wed, 19 Aug 2015 14:38:06 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d4db1ee4803_bfe13fcd0205e204188a9@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Wed, 19 Aug 2015 14:38:06 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d4db1ee5a3e_bfe13fcd0205e20418935@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 19:38:07.066789"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-19 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 19:38:07.075547"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 19:38:07.078968"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.4ms) Date: Wed, 19 Aug 2015 14:38:07 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d4db1f22130_bfe13fcd0205e20419072@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 40.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Wed, 19 Aug 2015 14:38:07 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d4db1f234c7_bfe13fcd0205e2041917b@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Wed, 19 Aug 2015 14:38:07 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d4db1f24649_bfe13fcd0205e2041927c@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 19:38:07.169458"], ["updated_at", "2015-08-19 19:38:07.169458"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 19:38:07.172172"], ["updated_at", "2015-08-19 19:38:07.172172"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 19:38:07.178900"], ["updated_at", "2015-08-19 19:38:07.178900"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 19:38:07.181146"], ["updated_at", "2015-08-19 19:38:07.181146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 19:38:07.198621"], ["updated_at", "2015-08-19 19:38:07.198621"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 19:38:07.200775"], ["updated_at", "2015-08-19 19:38:07.200775"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-19 19:38:07.206307"], ["updated_at", "2015-08-19 19:38:07.206307"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-19 19:38:07.208474"], ["updated_at", "2015-08-19 19:38:07.208474"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 19:38:07.216484"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-19 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 19:38:07.223469"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 19:38:07.226449"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 19:38:07.232590"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-19 23:59:59.999999' AND created_at >= '2015-08-19 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 19:38:07.238933"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-19 23:59:59.999999' AND created_at >= '2015-08-19 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 19:38:07.244855"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 19:38:07.247478"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.5ms) Date: Wed, 19 Aug 2015 14:38:07 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d4db1f88e96_bfe13fcd0205e2041939f@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 41.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Wed, 19 Aug 2015 14:38:07 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d4db1f8a1d0_bfe13fcd0205e2041946@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Wed, 19 Aug 2015 14:38:07 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d4db1f8b386_bfe13fcd0205e20419571@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-19 19:38:07.580128"], ["updated_at", "2015-08-19 19:38:07.580128"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-19 19:38:07.582836"], ["updated_at", "2015-08-19 19:38:07.582836"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-19 14:38:08 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.5ms) Completed 200 OK in 152ms (Views: 124.1ms | ActiveRecord: 6.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-19 14:38:08 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-19 14:38:08 -0500  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-19 14:38:08 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 22ms (Views: 2.4ms | ActiveRecord: 3.1ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-19 14:38:09 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-02", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-02"], ["created_at", "2015-08-19 19:38:09.072674"], ["updated_at", "2015-08-19 19:38:09.072674"]]  (5.6ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-19 19:38:09.082464"], ["updated_at", "2015-08-19 19:38:09.082464"]]  (5.0ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 22ms (Views: 0.3ms | ActiveRecord: 12.6ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-19 14:38:09 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.0ms) Completed 200 OK in 19ms (Views: 2.8ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-19 14:38:09 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-19", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-19 19:38:09.364632"], ["updated_at", "2015-08-19 19:38:09.367987"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-19 14:38:09 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 17ms (Views: 1.9ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-19 14:38:09 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-19", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-19 19:38:09.654768"], ["updated_at", "2015-08-19 19:38:09.657254"], ["id", 809335042]]  (1.3ms) COMMIT  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-19 19:38:09.662636"], ["updated_at", "2015-08-19 19:38:09.662636"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 3.7ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-19 14:38:09 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 1.9ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-19 14:38:09 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-16", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-16"], ["updated_at", "2015-08-19 19:38:09.902104"], ["id", 53334230]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 3.6ms)  (0.2ms) ROLLBACK  (1.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-19', '2015-08-19 19:38:09', '2015-08-19 19:38:09', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-19 19:38:09.000000', '2015-08-19', '2015-08-19 19:38:09', '2015-08-19 19:38:09', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-19', '2015-08-19 19:38:09', '2015-08-19 19:38:09', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-19 19:38:09', '2015-08-19 19:38:09', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-19 19:38:09.000000', '2015-08-19', '2015-08-19 19:38:09', '2015-08-19 19:38:09', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-18', '2015-08-19 19:38:09', '2015-08-19 19:38:09', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-17', '2015-08-19 19:38:09', '2015-08-19 19:38:09', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-19 19:38:09.000000', '2015-08-19', '2015-08-19 19:38:09', '2015-08-19 19:38:09', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-19', '2015-08-19 19:38:09', '2015-08-19 19:38:09', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-19 19:38:09.000000', '2015-08-19', '2015-08-19 19:38:09', '2015-08-19 19:38:09', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-19', '2015-08-19 19:38:09', '2015-08-19 19:38:09', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-19 19:38:09.000000', '2015-08-19', '2015-08-19 19:38:09', '2015-08-19 19:38:09', 16804933, 816972181)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (1.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.7ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.8ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 19:38:10.005344"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-19 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 19:38:10.017535"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-19 19:38:10.086318"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-11 00:00:00.000000"], ["updated_at", "2015-08-19 19:38:10.089893"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-12 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-19 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-19 19:38:10.096872"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-19 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-19 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-19 19:38:10', '2015-08-19 19:38:10', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-19 19:38:10', '2015-08-19 19:38:10', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-18 19:38:10.000000', '2015-08-19 19:38:10', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 19:38:10.000000', '2015-08-19 19:38:10', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-18 19:38:10.000000', '2015-08-19 19:38:10', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 19:38:10.000000', '2015-08-19 19:38:10', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-19 19:38:10', '2015-08-19 19:38:10', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-19 19:38:10', '2015-08-19 19:38:10', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-19 19:38:10', '2015-08-19 19:38:10', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-19 19:38:10', '2015-08-19 19:38:10', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-19 19:38:10', '2015-08-19 19:38:10', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-19 19:38:10', '2015-08-19 19:38:10', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-19 19:38:10', '2015-08-19 19:38:10', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-19 19:38:10', '2015-08-19 19:38:10', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-19 19:38:10', '2015-08-19 19:38:10', 183235640, 816972181) Fixture Delete (0.1ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-19 19:38:10', '2015-08-19 19:38:10', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 19:38:10.148859') AND ("social_networking_goals"."due_on" >= '2015-08-18 19:38:10.148901')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 19:38:10.151760') AND ("social_networking_goals"."due_on" >= '2015-08-18 19:38:10.151778') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-19 19:38:10.153958') AND ("social_networking_goals"."due_on" >= '2015-08-18 19:38:10.153976')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-20"], ["created_at", "2015-08-19 19:38:10.157567"], ["updated_at", "2015-08-19 19:38:10.157567"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-19 19:38:10.162434"], ["updated_at", "2015-08-19 19:38:10.162434"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-19"], ["completed_at", "2015-08-17 00:00:00.000000"], ["created_at", "2015-08-19 19:38:10.167273"], ["updated_at", "2015-08-19 19:38:10.167273"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-19 19:38:10.201172"], ["updated_at", "2015-08-19 19:38:10.201172"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-19 19:38:10.206053"], ["updated_at", "2015-08-19 19:38:10.206053"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-19 19:38:10.209632"], ["updated_at", "2015-08-19 19:38:10.209632"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (3.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-20', '2015-08-20 13:06:19', '2015-08-20 13:06:19', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-20 13:06:19.000000', '2015-08-20', '2015-08-20 13:06:19', '2015-08-20 13:06:19', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-20', '2015-08-20 13:06:19', '2015-08-20 13:06:19', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-20 13:06:19', '2015-08-20 13:06:19', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-20 13:06:19.000000', '2015-08-20', '2015-08-20 13:06:19', '2015-08-20 13:06:19', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-19', '2015-08-20 13:06:19', '2015-08-20 13:06:19', 717544784, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-18', '2015-08-20 13:06:19', '2015-08-20 13:06:19', 938656909, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-20 13:06:19.000000', '2015-08-20', '2015-08-20 13:06:19', '2015-08-20 13:06:19', 401619065, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-20', '2015-08-20 13:06:19', '2015-08-20 13:06:19', 128166899, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-20 13:06:19.000000', '2015-08-20', '2015-08-20 13:06:19', '2015-08-20 13:06:19', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-20', '2015-08-20 13:06:19', '2015-08-20 13:06:19', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-20 13:06:19.000000', '2015-08-20', '2015-08-20 13:06:19', '2015-08-20 13:06:19', 16804933, 816972181)  (0.3ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-20 13:06:19.496100"], ["updated_at", "2015-08-20 13:06:19.496100"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-20 13:06:19.521113"], ["updated_at", "2015-08-20 13:06:19.521113"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-20 13:06:19.526871"], ["updated_at", "2015-08-20 13:06:19.526871"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 13:06:19.533658"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-20 23:59:59.999999' AND created_at >= '2015-08-20 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-20 13:06:19.540965"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-20 23:59:59.999999' AND created_at >= '2015-08-20 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-13 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 13:06:19.549029"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-20 13:06:19.553047"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (1.7ms) Sent mail to obama@ex.co (8.2ms) Date: Thu, 20 Aug 2015 08:06:19 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5d0cbc56b5_11be43ff41c86020461983@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 252.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Thu, 20 Aug 2015 08:06:19 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5d0cbc7548_11be43ff41c860204620a4@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.2ms) Date: Thu, 20 Aug 2015 08:06:19 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5d0cbc8bc9_11be43ff41c8602046213c@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 4.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-20 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-20 13:06:19.831900"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-20 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 13:06:19.866957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-20 13:06:19.869803"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (11.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-20 13:06:19', '2015-08-20 13:06:19', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-20 13:06:19', '2015-08-20 13:06:19', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 13:06:19.000000', '2015-08-20 13:06:19', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 13:06:19.000000', '2015-08-20 13:06:19', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 13:06:19.000000', '2015-08-20 13:06:19', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 13:06:19.000000', '2015-08-20 13:06:19', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-20 13:06:19', '2015-08-20 13:06:19', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-20 13:06:19', '2015-08-20 13:06:19', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-20 13:06:19', '2015-08-20 13:06:19', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-20 13:06:19', '2015-08-20 13:06:19', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-20 13:06:19', '2015-08-20 13:06:19', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-20 13:06:19', '2015-08-20 13:06:19', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-20 13:06:19', '2015-08-20 13:06:19', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-20 13:06:19', '2015-08-20 13:06:19', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-20 13:06:19', '2015-08-20 13:06:19', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-20 13:06:19', '2015-08-20 13:06:19', 809335042, 'SocialNetworking::Goal', 809335042)  (0.8ms) COMMIT  (1.8ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-20 13:06:19.942514') AND ("social_networking_goals"."due_on" >= '2015-08-19 13:06:19.942576')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-20 13:06:19.949432') AND ("social_networking_goals"."due_on" >= '2015-08-19 13:06:19.949468') SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-20 13:06:19.954868') AND ("social_networking_goals"."due_on" >= '2015-08-19 13:06:19.954892')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-20 13:06:19.959532"], ["updated_at", "2015-08-20 13:06:19.959532"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-20"], ["completed_at", "2015-08-18 00:00:00.000000"], ["created_at", "2015-08-20 13:06:19.965509"], ["updated_at", "2015-08-20 13:06:19.965509"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-21"], ["created_at", "2015-08-20 13:06:19.975698"], ["updated_at", "2015-08-20 13:06:19.975698"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-20 13:06:20.007567"], ["updated_at", "2015-08-20 13:06:20.007567"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-20 13:06:20.010135"], ["updated_at", "2015-08-20 13:06:20.010135"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-20 13:06:20.017043"], ["updated_at", "2015-08-20 13:06:20.017043"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-20 13:06:20.019150"], ["updated_at", "2015-08-20 13:06:20.019150"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-20 13:06:20.037975"], ["updated_at", "2015-08-20 13:06:20.037975"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-20 13:06:20.039968"], ["updated_at", "2015-08-20 13:06:20.039968"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-20 13:06:20.045103"], ["updated_at", "2015-08-20 13:06:20.045103"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-20 13:06:20.047011"], ["updated_at", "2015-08-20 13:06:20.047011"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-20 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-20 13:06:20.153559"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-20 23:59:59.999999')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 13:06:20.165094"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-20 13:06:20.169078"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-20 13:06:20.178515"], ["updated_at", "2015-08-20 13:06:20.178515"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-20 13:06:20.181132"], ["updated_at", "2015-08-20 13:06:20.181132"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-20 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-20 13:06:20.486636"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-20 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 13:06:20.496068"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.4ms) Date: Thu, 20 Aug 2015 08:06:20 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5d0cc93dc8_11be43ff41c86020462237@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 47.7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Thu, 20 Aug 2015 08:06:20 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5d0cc95002_11be43ff41c86020462322@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Thu, 20 Aug 2015 08:06:20 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5d0cc96146_11be43ff41c8602046245f@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-20 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-20 13:06:20.621306"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-20 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 13:06:20.630139"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-20 13:06:20.634166"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-20 08:06:22 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.8ms) Completed 200 OK in 99ms (Views: 75.0ms | ActiveRecord: 5.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-20 08:06:23 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-20 08:06:23 -0500 Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-20 08:06:23 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-03", "goal"=>{"description"=>"all of the things"}} Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-03"], ["created_at", "2015-08-20 13:06:23.542105"], ["updated_at", "2015-08-20 13:06:23.542105"]]  (6.5ms) COMMIT  (0.3ms) BEGIN SQL (0.7ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-20 13:06:23.556338"], ["updated_at", "2015-08-20 13:06:23.556338"]]  (6.5ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 32ms (Views: 0.5ms | ActiveRecord: 16.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-20 08:06:23 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 16ms (Views: 2.1ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-20 08:06:23 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-17", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-17"], ["updated_at", "2015-08-20 13:06:23.800312"], ["id", 53334230]]  (1.7ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 4.2ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-20 08:06:23 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 21ms (Views: 2.7ms | ActiveRecord: 2.3ms) SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-20 08:06:24 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-20", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-20 13:06:24.104899"], ["updated_at", "2015-08-20 13:06:24.107419"], ["id", 809335042]]  (1.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-20 13:06:24.112297"], ["updated_at", "2015-08-20 13:06:24.112297"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 3.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-20 08:06:24 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 15ms (Views: 2.0ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-20 08:06:24 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 15ms (Views: 2.0ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-20 08:06:24 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-20", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-20 13:06:24.391814"], ["updated_at", "2015-08-20 13:06:24.394359"], ["id", 614371357]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (3.2ms) Date: Thu, 20 Aug 2015 08:06:24 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5d0d0758a3_11be43ff41c86020462542@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 46.0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 20 Aug 2015 08:06:24 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5d0d076d3c_11be43ff41c860204626ba@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Thu, 20 Aug 2015 08:06:24 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5d0d077de9_11be43ff41c86020462786@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (2.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-20 13:50:56', '2015-08-20 13:50:56', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.5ms) COMMIT  (1.6ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) ROLLBACK  (7.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-20', '2015-08-20 13:50:56', '2015-08-20 13:50:56', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-20 13:50:56.000000', '2015-08-20', '2015-08-20 13:50:56', '2015-08-20 13:50:56', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-20', '2015-08-20 13:50:56', '2015-08-20 13:50:56', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-20 13:50:56', '2015-08-20 13:50:56', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-20 13:50:56.000000', '2015-08-20', '2015-08-20 13:50:56', '2015-08-20 13:50:56', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-19', '2015-08-20 13:50:56', '2015-08-20 13:50:56', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-18', '2015-08-20 13:50:56', '2015-08-20 13:50:56', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-20 13:50:56.000000', '2015-08-20', '2015-08-20 13:50:56', '2015-08-20 13:50:56', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-20', '2015-08-20 13:50:56', '2015-08-20 13:50:56', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-20 13:50:56.000000', '2015-08-20', '2015-08-20 13:50:56', '2015-08-20 13:50:56', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-20', '2015-08-20 13:50:56', '2015-08-20 13:50:56', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-20 13:50:56.000000', '2015-08-20', '2015-08-20 13:50:56', '2015-08-20 13:50:56', 16804933, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-20 13:50:56', '2015-08-20 13:50:56', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 13:50:56.000000', '2015-08-20 13:50:56', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 13:50:56.000000', '2015-08-20 13:50:56', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 13:50:56.000000', '2015-08-20 13:50:56', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 13:50:56.000000', '2015-08-20 13:50:56', 316146702, 816972181, 700141617) Fixture Delete (0.5ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-20 13:50:56', '2015-08-20 13:50:56', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-20 13:50:56', '2015-08-20 13:50:56', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-20 13:50:56', '2015-08-20 13:50:56', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-20 13:50:56', '2015-08-20 13:50:56', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-20 13:50:56', '2015-08-20 13:50:56', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-20 13:50:56', '2015-08-20 13:50:56', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-20 13:50:56', '2015-08-20 13:50:56', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-20 13:50:56', '2015-08-20 13:50:56', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-20 13:50:56', '2015-08-20 13:50:56', 183235640, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-20 13:50:56', '2015-08-20 13:50:56', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 13:50:56.634864"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-20 13:50:56.639776"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-20 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-20 13:50:56.649964"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-20 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (2.1ms) Sent mail to obama@ex.co (8.5ms) Date: Thu, 20 Aug 2015 08:50:57 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5db4158414_12fc03ff3ec8601f8918ca@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 556.5ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Thu, 20 Aug 2015 08:50:57 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5db4159f15_12fc03ff3ec8601f8919c8@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 20 Aug 2015 08:50:57 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5db415b0c8_12fc03ff3ec8601f892015@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-20 13:50:57.383164"], ["updated_at", "2015-08-20 13:50:57.383164"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-20 13:50:57.390582"], ["updated_at", "2015-08-20 13:50:57.390582"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 13:50:57.413223"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-20 13:50:57.416390"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-20 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-20 13:50:57.422735"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-20 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-20"], ["completed_at", "2015-08-18 00:00:00.000000"], ["created_at", "2015-08-20 13:50:57.428343"], ["updated_at", "2015-08-20 13:50:57.428343"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-21"], ["created_at", "2015-08-20 13:50:57.436673"], ["updated_at", "2015-08-20 13:50:57.436673"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-20 13:50:57.440887"], ["updated_at", "2015-08-20 13:50:57.440887"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-20 13:50:57.443503') AND ("social_networking_goals"."due_on" >= '2015-08-19 13:50:57.443531') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-20 13:50:57.446757') AND ("social_networking_goals"."due_on" >= '2015-08-19 13:50:57.446774')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-20 13:50:57.448457') AND ("social_networking_goals"."due_on" >= '2015-08-19 13:50:57.448472')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-20 13:50:57.505736"], ["updated_at", "2015-08-20 13:50:57.505736"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-20 13:50:57.508268"], ["updated_at", "2015-08-20 13:50:57.508268"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-20 13:50:57.514086"], ["updated_at", "2015-08-20 13:50:57.514086"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-20 13:50:57.516012"], ["updated_at", "2015-08-20 13:50:57.516012"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-20 13:50:57.523296"], ["updated_at", "2015-08-20 13:50:57.523296"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-20 13:50:57.526695"], ["updated_at", "2015-08-20 13:50:57.526695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-20 13:50:57.544706"], ["updated_at", "2015-08-20 13:50:57.544706"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-20 13:50:57.546757"], ["updated_at", "2015-08-20 13:50:57.546757"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-20 13:50:57.619536"], ["updated_at", "2015-08-20 13:50:57.619536"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-20 13:50:57.624454"], ["updated_at", "2015-08-20 13:50:57.624454"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-20 13:50:57.627283"], ["updated_at", "2015-08-20 13:50:57.627283"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-20 08:50:59 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.1ms) Completed 200 OK in 94ms (Views: 66.6ms | ActiveRecord: 5.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-20 08:50:59 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-20 08:50:59 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-20 08:51:00 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-17", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-17"], ["updated_at", "2015-08-20 13:51:00.095717"], ["id", 53334230]]  (1.6ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-20 08:51:00 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 14ms (Views: 1.9ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-20 08:51:00 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-20", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-20 13:51:00.404414"], ["updated_at", "2015-08-20 13:51:00.406902"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-20 08:51:00 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 13ms (Views: 1.7ms | ActiveRecord: 1.6ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-20 08:51:00 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-03", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-03"], ["created_at", "2015-08-20 13:51:00.625088"], ["updated_at", "2015-08-20 13:51:00.625088"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-20 13:51:00.630735"], ["updated_at", "2015-08-20 13:51:00.630735"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 4.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-20 08:51:00 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-20 08:51:00 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.9ms) Completed 200 OK in 20ms (Views: 5.8ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-20 08:51:00 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-20", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-20 13:51:00.976601"], ["updated_at", "2015-08-20 13:51:00.981837"], ["id", 809335042]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-20 13:51:00.986833"], ["updated_at", "2015-08-20 13:51:00.986833"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 36ms (Views: 0.3ms | ActiveRecord: 4.4ms)  (0.2ms) ROLLBACK  (1.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-20 13:51:01', '2015-08-20 13:51:01', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-20', '2015-08-20 13:51:01', '2015-08-20 13:51:01', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-20 13:51:01.000000', '2015-08-20', '2015-08-20 13:51:01', '2015-08-20 13:51:01', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-20', '2015-08-20 13:51:01', '2015-08-20 13:51:01', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-20 13:51:01', '2015-08-20 13:51:01', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-20 13:51:01.000000', '2015-08-20', '2015-08-20 13:51:01', '2015-08-20 13:51:01', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-19', '2015-08-20 13:51:01', '2015-08-20 13:51:01', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-18', '2015-08-20 13:51:01', '2015-08-20 13:51:01', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-20 13:51:01.000000', '2015-08-20', '2015-08-20 13:51:01', '2015-08-20 13:51:01', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-20', '2015-08-20 13:51:01', '2015-08-20 13:51:01', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-20 13:51:01.000000', '2015-08-20', '2015-08-20 13:51:01', '2015-08-20 13:51:01', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-20', '2015-08-20 13:51:01', '2015-08-20 13:51:01', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-20 13:51:01.000000', '2015-08-20', '2015-08-20 13:51:01', '2015-08-20 13:51:01', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-20 13:51:01', '2015-08-20 13:51:01', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 13:51:01.000000', '2015-08-20 13:51:01', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 13:51:01.000000', '2015-08-20 13:51:01', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 13:51:01.000000', '2015-08-20 13:51:01', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 13:51:01.000000', '2015-08-20 13:51:01', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-20 13:51:01', '2015-08-20 13:51:01', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-20 13:51:01', '2015-08-20 13:51:01', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-20 13:51:01', '2015-08-20 13:51:01', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-20 13:51:01', '2015-08-20 13:51:01', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-20 13:51:01', '2015-08-20 13:51:01', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-20 13:51:01', '2015-08-20 13:51:01', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-20 13:51:01', '2015-08-20 13:51:01', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-20 13:51:01', '2015-08-20 13:51:01', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-20 13:51:01', '2015-08-20 13:51:01', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-20 13:51:01', '2015-08-20 13:51:01', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 13:51:01.203837"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-20 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-20 13:51:01.218900"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-20 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.7ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 13:51:01.257255"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-20 13:51:01.261310"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-20 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-20 13:51:01.270897"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-20 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-13 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 13:51:01.355898"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-20 13:51:01.359904"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-20 23:59:59.999999' AND created_at >= '2015-08-20 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-20 13:51:01.368029"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-20 23:59:59.999999' AND created_at >= '2015-08-20 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 13:51:01.374858"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.7ms) Date: Thu, 20 Aug 2015 08:51:01 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5db4573e24_12fc03ff3ec8601f892184@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 41.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 20 Aug 2015 08:51:01 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5db4575219_12fc03ff3ec8601f89225c@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Thu, 20 Aug 2015 08:51:01 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5db457647e_12fc03ff3ec8601f89237e@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (2.9ms) Date: Thu, 20 Aug 2015 08:51:01 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5db4599870_12fc03ff3ec8601f8924fd@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 40.6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Thu, 20 Aug 2015 08:51:01 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5db459b03c_12fc03ff3ec8601f8925bc@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.9ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.6ms) Date: Thu, 20 Aug 2015 08:51:01 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5db459c4d6_12fc03ff3ec8601f8926d6@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 4.0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (2.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (6.8ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.8ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-20 15:05:40', '2015-08-20 15:05:40', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-20', '2015-08-20 15:05:40', '2015-08-20 15:05:40', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-20 15:05:40.000000', '2015-08-20', '2015-08-20 15:05:40', '2015-08-20 15:05:40', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-20', '2015-08-20 15:05:40', '2015-08-20 15:05:40', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-20 15:05:40', '2015-08-20 15:05:40', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-20 15:05:40.000000', '2015-08-20', '2015-08-20 15:05:40', '2015-08-20 15:05:40', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-19', '2015-08-20 15:05:40', '2015-08-20 15:05:40', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-18', '2015-08-20 15:05:40', '2015-08-20 15:05:40', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-20 15:05:40.000000', '2015-08-20', '2015-08-20 15:05:40', '2015-08-20 15:05:40', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-20', '2015-08-20 15:05:40', '2015-08-20 15:05:40', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-20 15:05:40.000000', '2015-08-20', '2015-08-20 15:05:40', '2015-08-20 15:05:40', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-20', '2015-08-20 15:05:40', '2015-08-20 15:05:40', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-20 15:05:40.000000', '2015-08-20', '2015-08-20 15:05:40', '2015-08-20 15:05:40', 16804933, 816972181) Fixture Delete (6.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-20 15:05:40', '2015-08-20 15:05:40', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.7ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 15:05:40.000000', '2015-08-20 15:05:40', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 15:05:40.000000', '2015-08-20 15:05:40', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 15:05:40.000000', '2015-08-20 15:05:40', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 15:05:40.000000', '2015-08-20 15:05:40', 316146702, 816972181, 700141617) Fixture Delete (0.6ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-20 15:05:40', '2015-08-20 15:05:40', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-20 15:05:40', '2015-08-20 15:05:40', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-20 15:05:40', '2015-08-20 15:05:40', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-20 15:05:40', '2015-08-20 15:05:40', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-20 15:05:40', '2015-08-20 15:05:40', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-20 15:05:40', '2015-08-20 15:05:40', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-20 15:05:40', '2015-08-20 15:05:40', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-20 15:05:40', '2015-08-20 15:05:40', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-20 15:05:40', '2015-08-20 15:05:40', 183235640, 816972181) Fixture Delete (1.0ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-20 15:05:40', '2015-08-20 15:05:40', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-20 10:05:43 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.0ms) Completed 200 OK in 174ms (Views: 112.3ms | ActiveRecord: 5.5ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-20 10:05:43 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-20 10:05:43 -0500 Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-20 10:05:43 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-03", "goal"=>{"description"=>"all of the things"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-03"], ["created_at", "2015-08-20 15:05:43.939689"], ["updated_at", "2015-08-20 15:05:43.939689"]]  (6.5ms) COMMIT  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-20 15:05:43.963838"], ["updated_at", "2015-08-20 15:05:43.963838"]]  (6.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 45ms (Views: 0.6ms | ActiveRecord: 17.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-20 10:05:44 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 19ms (Views: 2.3ms | ActiveRecord: 2.6ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-20 10:05:44 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-20", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-20 15:05:44.253099"], ["updated_at", "2015-08-20 15:05:44.256340"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.4ms | ActiveRecord: 3.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-20 10:05:44 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 31ms (Views: 2.3ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-20 10:05:44 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.0ms) Completed 200 OK in 20ms (Views: 3.3ms | ActiveRecord: 2.3ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-20 10:05:44 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-20", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-20 15:05:44.675960"], ["updated_at", "2015-08-20 15:05:44.679322"], ["id", 809335042]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-20 15:05:44.684817"], ["updated_at", "2015-08-20 15:05:44.684817"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 4.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-20 10:05:44 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 17ms (Views: 2.2ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-20 10:05:45 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-17", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-17"], ["updated_at", "2015-08-20 15:05:45.050310"], ["id", 53334230]]  (1.6ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.4ms | ActiveRecord: 3.4ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (9.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (6.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-20 15:05:45', '2015-08-20 15:05:45', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-20', '2015-08-20 15:05:45', '2015-08-20 15:05:45', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-20 15:05:45.000000', '2015-08-20', '2015-08-20 15:05:45', '2015-08-20 15:05:45', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-20', '2015-08-20 15:05:45', '2015-08-20 15:05:45', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-20 15:05:45', '2015-08-20 15:05:45', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-20 15:05:45.000000', '2015-08-20', '2015-08-20 15:05:45', '2015-08-20 15:05:45', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-19', '2015-08-20 15:05:45', '2015-08-20 15:05:45', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-18', '2015-08-20 15:05:45', '2015-08-20 15:05:45', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-20 15:05:45.000000', '2015-08-20', '2015-08-20 15:05:45', '2015-08-20 15:05:45', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-20', '2015-08-20 15:05:45', '2015-08-20 15:05:45', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-20 15:05:45.000000', '2015-08-20', '2015-08-20 15:05:45', '2015-08-20 15:05:45', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-20', '2015-08-20 15:05:45', '2015-08-20 15:05:45', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-20 15:05:45.000000', '2015-08-20', '2015-08-20 15:05:45', '2015-08-20 15:05:45', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-20 15:05:45', '2015-08-20 15:05:45', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 15:05:45.000000', '2015-08-20 15:05:45', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 15:05:45.000000', '2015-08-20 15:05:45', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 15:05:45.000000', '2015-08-20 15:05:45', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 15:05:45.000000', '2015-08-20 15:05:45', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-20 15:05:45', '2015-08-20 15:05:45', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-20 15:05:45', '2015-08-20 15:05:45', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-20 15:05:45', '2015-08-20 15:05:45', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-20 15:05:45', '2015-08-20 15:05:45', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-20 15:05:45', '2015-08-20 15:05:45', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-20 15:05:45', '2015-08-20 15:05:45', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-20 15:05:45', '2015-08-20 15:05:45', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-20 15:05:45', '2015-08-20 15:05:45', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-20 15:05:45', '2015-08-20 15:05:45', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-20 15:05:45', '2015-08-20 15:05:45', 809335042, 'SocialNetworking::Goal', 809335042)  (5.6ms) COMMIT  (4.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (9.7ms) Date: Thu, 20 Aug 2015 10:05:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5ecc99dcd7_154a23ff898460200350@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 284.6ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.5ms) Date: Thu, 20 Aug 2015 10:05:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5ecc99f927_154a23ff898460200421@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 20 Aug 2015 10:05:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5ecc9a0d33_154a23ff898460200572@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 20 Aug 2015 10:05:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5ecc9ac59c_154a23ff898460200650@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 44.9ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.8ms) Date: Thu, 20 Aug 2015 10:05:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5ecc9ae2dd_154a23ff8984602007e7@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 6.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.7ms) Date: Thu, 20 Aug 2015 10:05:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5ecc9afed8_154a23ff89846020084b@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 4.9ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 15:05:45.746711"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-20 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-20 15:05:45.762909"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-20 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 15:05:45.795232"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-20 15:05:45.798816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-20 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-20 15:05:45.810528"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-20 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-21"], ["created_at", "2015-08-20 15:05:45.821086"], ["updated_at", "2015-08-20 15:05:45.821086"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-20 15:05:45.827285"], ["updated_at", "2015-08-20 15:05:45.827285"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-20"], ["completed_at", "2015-08-18 00:00:00.000000"], ["created_at", "2015-08-20 15:05:45.831525"], ["updated_at", "2015-08-20 15:05:45.831525"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-20 15:05:45.838722') AND ("social_networking_goals"."due_on" >= '2015-08-19 15:05:45.838760') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-20 15:05:45.842165') AND ("social_networking_goals"."due_on" >= '2015-08-19 15:05:45.842185')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-20 15:05:45.844089') AND ("social_networking_goals"."due_on" >= '2015-08-19 15:05:45.844106')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.5ms) Date: Thu, 20 Aug 2015 10:05:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5ecc9d8266_154a23ff8984602009e0@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 39.7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 20 Aug 2015 10:05:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5ecc9d96f4_154a23ff89846020010e2@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Thu, 20 Aug 2015 10:05:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5ecc9da88c_154a23ff898460200117c@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.5ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 15:05:45.924771"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-20 15:05:45.930678"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-20 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-20 15:05:45.938442"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-20 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-13 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 15:05:46.084138"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-20 15:05:46.087258"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 15:05:46.092623"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-20 23:59:59.999999' AND created_at >= '2015-08-20 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-20 15:05:46.098190"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-20 23:59:59.999999' AND created_at >= '2015-08-20 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-20 15:05:46.121661"], ["updated_at", "2015-08-20 15:05:46.121661"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-20 15:05:46.126764"], ["updated_at", "2015-08-20 15:05:46.126764"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-20 15:05:46.130582"], ["updated_at", "2015-08-20 15:05:46.130582"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.8ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-20 15:05:46.296476"], ["updated_at", "2015-08-20 15:05:46.296476"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-20 15:05:46.298952"], ["updated_at", "2015-08-20 15:05:46.298952"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-20 15:05:46.305239"], ["updated_at", "2015-08-20 15:05:46.305239"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-20 15:05:46.307652"], ["updated_at", "2015-08-20 15:05:46.307652"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-20 15:05:46.312788"], ["updated_at", "2015-08-20 15:05:46.312788"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-20 15:05:46.315093"], ["updated_at", "2015-08-20 15:05:46.315093"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-20 15:05:46.324679"], ["updated_at", "2015-08-20 15:05:46.324679"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-20 15:05:46.326848"], ["updated_at", "2015-08-20 15:05:46.326848"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-20 15:05:46.410265"], ["updated_at", "2015-08-20 15:05:46.410265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-20 15:05:46.412896"], ["updated_at", "2015-08-20 15:05:46.412896"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 15:05:46.431655"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-20 15:05:46.435301"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-20 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-20 15:05:46.442337"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-20 23:59:59.999999')  (0.1ms) ROLLBACK  (4.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-20 15:21:07', '2015-08-20 15:21:07', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-20', '2015-08-20 15:21:07', '2015-08-20 15:21:07', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-20 15:21:07.000000', '2015-08-20', '2015-08-20 15:21:07', '2015-08-20 15:21:07', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-20', '2015-08-20 15:21:07', '2015-08-20 15:21:07', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-20 15:21:07', '2015-08-20 15:21:07', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-20 15:21:07.000000', '2015-08-20', '2015-08-20 15:21:07', '2015-08-20 15:21:07', 916373174, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-19', '2015-08-20 15:21:07', '2015-08-20 15:21:07', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-18', '2015-08-20 15:21:07', '2015-08-20 15:21:07', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-20 15:21:07.000000', '2015-08-20', '2015-08-20 15:21:07', '2015-08-20 15:21:07', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-20', '2015-08-20 15:21:07', '2015-08-20 15:21:07', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-20 15:21:07.000000', '2015-08-20', '2015-08-20 15:21:07', '2015-08-20 15:21:07', 1002298878, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-20', '2015-08-20 15:21:07', '2015-08-20 15:21:07', 318784238, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-20 15:21:07.000000', '2015-08-20', '2015-08-20 15:21:07', '2015-08-20 15:21:07', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-20 15:21:07', '2015-08-20 15:21:07', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.6ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 15:21:07.000000', '2015-08-20 15:21:07', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 15:21:07.000000', '2015-08-20 15:21:07', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 15:21:07.000000', '2015-08-20 15:21:07', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 15:21:07.000000', '2015-08-20 15:21:07', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-20 15:21:07', '2015-08-20 15:21:07', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-20 15:21:07', '2015-08-20 15:21:07', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-20 15:21:07', '2015-08-20 15:21:07', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-20 15:21:07', '2015-08-20 15:21:07', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-20 15:21:07', '2015-08-20 15:21:07', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-20 15:21:07', '2015-08-20 15:21:07', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-20 15:21:07', '2015-08-20 15:21:07', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-20 15:21:07', '2015-08-20 15:21:07', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-20 15:21:07', '2015-08-20 15:21:07', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-20 15:21:07', '2015-08-20 15:21:07', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-20 15:21:07.972588"], ["updated_at", "2015-08-20 15:21:07.972588"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-20 15:21:07.977952"], ["updated_at", "2015-08-20 15:21:07.977952"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (2.8ms) Sent mail to obama@ex.co (11.3ms) Date: Thu, 20 Aug 2015 10:21:08 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5f064349e9_15c113fcd260601fc12088@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 232.9ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 20 Aug 2015 10:21:08 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5f064373d5_15c113fcd260601fc121d@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.0ms) Date: Thu, 20 Aug 2015 10:21:08 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5f064383f0_15c113fcd260601fc1224e@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 2.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-20 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-20 15:21:08.253798"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-20 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 15:21:08.262133"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-20 15:21:08.265706"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-20 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-20 15:21:08.298701"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-20 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 15:21:08.306275"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-20 15:21:08.309521"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.2ms) Date: Thu, 20 Aug 2015 10:21:08 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5f0645580b_15c113fcd260601fc12376@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 37.7ms  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Thu, 20 Aug 2015 10:21:08 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5f06456b17_15c113fcd260601fc1243d@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.3ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (3.3ms) Date: Thu, 20 Aug 2015 10:21:08 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5f06458389_15c113fcd260601fc12554@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 4.5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.2ms) Date: Thu, 20 Aug 2015 10:21:08 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5f064686d7_15c113fcd260601fc1261c@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 45.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Thu, 20 Aug 2015 10:21:08 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5f064698b8_15c113fcd260601fc127b@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.0ms) Date: Thu, 20 Aug 2015 10:21:08 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5f0646a978_15c113fcd260601fc128be@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-20 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-20 15:21:08.442169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-20 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 15:21:08.457645"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-20 15:21:08.462768"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-20 15:21:08.466607') AND ("social_networking_goals"."due_on" >= '2015-08-19 15:21:08.466638')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-20 15:21:08.469180') AND ("social_networking_goals"."due_on" >= '2015-08-19 15:21:08.469199') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-20 15:21:08.471963') AND ("social_networking_goals"."due_on" >= '2015-08-19 15:21:08.471986')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-20 15:21:08.475254"], ["updated_at", "2015-08-20 15:21:08.475254"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-20"], ["completed_at", "2015-08-18 00:00:00.000000"], ["created_at", "2015-08-20 15:21:08.481729"], ["updated_at", "2015-08-20 15:21:08.481729"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-21"], ["created_at", "2015-08-20 15:21:08.486257"], ["updated_at", "2015-08-20 15:21:08.486257"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-20 10:21:10 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.6ms) Completed 200 OK in 134ms (Views: 105.2ms | ActiveRecord: 5.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-20 10:21:10 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-20 10:21:10 -0500 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-20 10:21:11 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-17", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.9ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-17"], ["updated_at", "2015-08-20 15:21:11.113245"], ["id", 53334230]]  (0.6ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 17ms (Views: 0.5ms | ActiveRecord: 3.8ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-20 10:21:11 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 16ms (Views: 1.9ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-20 10:21:11 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-20", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-20 15:21:11.314159"], ["updated_at", "2015-08-20 15:21:11.317848"], ["id", 809335042]]  (1.4ms) COMMIT  (0.4ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-20 15:21:11.323917"], ["updated_at", "2015-08-20 15:21:11.323917"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 19ms (Views: 0.3ms | ActiveRecord: 4.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-20 10:21:11 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 15ms (Views: 2.0ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-20 10:21:11 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 16ms (Views: 2.1ms | ActiveRecord: 1.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-20 10:21:11 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-03", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (1.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-03"], ["created_at", "2015-08-20 15:21:11.747502"], ["updated_at", "2015-08-20 15:21:11.747502"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-20 15:21:11.752299"], ["updated_at", "2015-08-20 15:21:11.752299"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 4.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-20 10:21:11 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 17ms (Views: 2.1ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-20 10:21:12 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-20", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-20 15:21:12.094287"], ["updated_at", "2015-08-20 15:21:12.097825"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 4.0ms)  (0.1ms) ROLLBACK  (1.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-20 15:21:12', '2015-08-20 15:21:12', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-20', '2015-08-20 15:21:12', '2015-08-20 15:21:12', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-20 15:21:12.000000', '2015-08-20', '2015-08-20 15:21:12', '2015-08-20 15:21:12', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-20', '2015-08-20 15:21:12', '2015-08-20 15:21:12', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-20 15:21:12', '2015-08-20 15:21:12', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-20 15:21:12.000000', '2015-08-20', '2015-08-20 15:21:12', '2015-08-20 15:21:12', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-19', '2015-08-20 15:21:12', '2015-08-20 15:21:12', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-18', '2015-08-20 15:21:12', '2015-08-20 15:21:12', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-20 15:21:12.000000', '2015-08-20', '2015-08-20 15:21:12', '2015-08-20 15:21:12', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-20', '2015-08-20 15:21:12', '2015-08-20 15:21:12', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-20 15:21:12.000000', '2015-08-20', '2015-08-20 15:21:12', '2015-08-20 15:21:12', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-20', '2015-08-20 15:21:12', '2015-08-20 15:21:12', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-20 15:21:12.000000', '2015-08-20', '2015-08-20 15:21:12', '2015-08-20 15:21:12', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-20 15:21:12', '2015-08-20 15:21:12', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 15:21:12.000000', '2015-08-20 15:21:12', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 15:21:12.000000', '2015-08-20 15:21:12', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 15:21:12.000000', '2015-08-20 15:21:12', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 15:21:12.000000', '2015-08-20 15:21:12', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-20 15:21:12', '2015-08-20 15:21:12', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-20 15:21:12', '2015-08-20 15:21:12', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-20 15:21:12', '2015-08-20 15:21:12', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-20 15:21:12', '2015-08-20 15:21:12', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-20 15:21:12', '2015-08-20 15:21:12', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-20 15:21:12', '2015-08-20 15:21:12', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-20 15:21:12', '2015-08-20 15:21:12', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-20 15:21:12', '2015-08-20 15:21:12', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-20 15:21:12', '2015-08-20 15:21:12', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-20 15:21:12', '2015-08-20 15:21:12', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.6ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-20 15:21:12.537428"], ["updated_at", "2015-08-20 15:21:12.537428"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-20 15:21:12.544126"], ["updated_at", "2015-08-20 15:21:12.544126"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-20 15:21:12.547735"], ["updated_at", "2015-08-20 15:21:12.547735"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-20 15:21:12.631261"], ["updated_at", "2015-08-20 15:21:12.631261"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-20 15:21:12.633804"], ["updated_at", "2015-08-20 15:21:12.633804"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-20 15:21:12.640067"], ["updated_at", "2015-08-20 15:21:12.640067"]] SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-20 15:21:12.642964"], ["updated_at", "2015-08-20 15:21:12.642964"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-20 15:21:12.660682"], ["updated_at", "2015-08-20 15:21:12.660682"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-20 15:21:12.664089"], ["updated_at", "2015-08-20 15:21:12.664089"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-20 15:21:12.671336"], ["updated_at", "2015-08-20 15:21:12.671336"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-20 15:21:12.675100"], ["updated_at", "2015-08-20 15:21:12.675100"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-20 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-20 15:21:12.686742"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-20 23:59:59.999999')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 15:21:12.700890"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000')  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 15:21:12.850050"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-13 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 15:21:12.857039"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-20 15:21:12.861500"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-13 00:00:00.000000')  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-20 23:59:59.999999' AND created_at >= '2015-08-20 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-20 15:21:12.869879"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-20 23:59:59.999999' AND created_at >= '2015-08-20 00:00:00.000000')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (7.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.5ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.8ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-20 15:48:13', '2015-08-20 15:48:13', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-20', '2015-08-20 15:48:13', '2015-08-20 15:48:13', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-20 15:48:13.000000', '2015-08-20', '2015-08-20 15:48:13', '2015-08-20 15:48:13', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-20', '2015-08-20 15:48:13', '2015-08-20 15:48:13', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-20 15:48:13', '2015-08-20 15:48:13', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-20 15:48:13.000000', '2015-08-20', '2015-08-20 15:48:13', '2015-08-20 15:48:13', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-19', '2015-08-20 15:48:13', '2015-08-20 15:48:13', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-18', '2015-08-20 15:48:13', '2015-08-20 15:48:13', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-20 15:48:13.000000', '2015-08-20', '2015-08-20 15:48:13', '2015-08-20 15:48:13', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-20', '2015-08-20 15:48:13', '2015-08-20 15:48:13', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-20 15:48:13.000000', '2015-08-20', '2015-08-20 15:48:13', '2015-08-20 15:48:13', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-20', '2015-08-20 15:48:13', '2015-08-20 15:48:13', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-20 15:48:13.000000', '2015-08-20', '2015-08-20 15:48:13', '2015-08-20 15:48:13', 16804933, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-20 15:48:13', '2015-08-20 15:48:13', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 15:48:13.000000', '2015-08-20 15:48:13', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 15:48:13.000000', '2015-08-20 15:48:13', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 15:48:13.000000', '2015-08-20 15:48:13', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 15:48:13.000000', '2015-08-20 15:48:13', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-20 15:48:13', '2015-08-20 15:48:13', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-20 15:48:13', '2015-08-20 15:48:13', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-20 15:48:13', '2015-08-20 15:48:13', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-20 15:48:13', '2015-08-20 15:48:13', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-20 15:48:13', '2015-08-20 15:48:13', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-20 15:48:13', '2015-08-20 15:48:13', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-20 15:48:13', '2015-08-20 15:48:13', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-20 15:48:13', '2015-08-20 15:48:13', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-20 15:48:13', '2015-08-20 15:48:13', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.4ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-20 15:48:13', '2015-08-20 15:48:13', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 11ms (Views: 9.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 15:48:13.507035"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-20 15:48:13.512217"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-13 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-20 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-20 15:48:13.521529"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-20 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-21"], ["created_at", "2015-08-20 15:48:13.567234"], ["updated_at", "2015-08-20 15:48:13.567234"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-20 15:48:13.571388"], ["updated_at", "2015-08-20 15:48:13.571388"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-20"], ["completed_at", "2015-08-18 00:00:00.000000"], ["created_at", "2015-08-20 15:48:13.577505"], ["updated_at", "2015-08-20 15:48:13.577505"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-20 15:48:13.583336') AND ("social_networking_goals"."due_on" >= '2015-08-19 15:48:13.583369') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-20 15:48:13.587021') AND ("social_networking_goals"."due_on" >= '2015-08-19 15:48:13.587046')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-20 15:48:13.589485') AND ("social_networking_goals"."due_on" >= '2015-08-19 15:48:13.589510')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (2.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 15:48:13.767651"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-13 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-20 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-20 15:48:13.784031"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-20 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-20 15:48:13.813835"], ["updated_at", "2015-08-20 15:48:13.813835"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-20 15:48:13.817127"], ["updated_at", "2015-08-20 15:48:13.817127"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (8.8ms) Date: Thu, 20 Aug 2015 10:48:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5f6be20fbf_168243fc0410601f885231@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 234.3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.2ms) Date: Thu, 20 Aug 2015 10:48:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5f6be22999_168243fc0410601f885399@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Thu, 20 Aug 2015 10:48:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5f6be23a6b_168243fc0410601f885484@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 20 Aug 2015 10:48:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5f6be34205_168243fc0410601f8855c5@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 44.9ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.9ms) Date: Thu, 20 Aug 2015 10:48:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5f6be35d95_168243fc0410601f8856d9@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 6.4ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.2ms) Date: Thu, 20 Aug 2015 10:48:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5f6be37b26_168243fc0410601f8857e6@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 5.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-20 15:48:14.237765"], ["updated_at", "2015-08-20 15:48:14.237765"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-20 15:48:14.240388"], ["updated_at", "2015-08-20 15:48:14.240388"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-20 15:48:14.247054"], ["updated_at", "2015-08-20 15:48:14.247054"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-20 15:48:14.249265"], ["updated_at", "2015-08-20 15:48:14.249265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-20 15:48:14.254410"], ["updated_at", "2015-08-20 15:48:14.254410"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-20 15:48:14.256392"], ["updated_at", "2015-08-20 15:48:14.256392"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-20 15:48:14.273872"], ["updated_at", "2015-08-20 15:48:14.273872"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-20 15:48:14.276174"], ["updated_at", "2015-08-20 15:48:14.276174"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 20 Aug 2015 10:48:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5f6be4f173_168243fc0410601f88588f@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 44.7ms  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 20 Aug 2015 10:48:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5f6be505ce_168243fc0410601f8859f0@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Thu, 20 Aug 2015 10:48:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d5f6be51971_168243fc0410601f886061@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.7ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-20 10:48:16 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.9ms) Completed 200 OK in 121ms (Views: 101.0ms | ActiveRecord: 4.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-20 10:48:16 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-20 10:48:16 -0500 SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-20 10:48:17 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-17", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-17"], ["updated_at", "2015-08-20 15:48:17.317019"], ["id", 53334230]]  (6.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 8.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-20 10:48:17 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 16ms (Views: 2.6ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-20 10:48:17 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"2015-08-20", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-20 15:48:17.515575"], ["updated_at", "2015-08-20 15:48:17.517910"], ["id", 809335042]]  (1.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-20 15:48:17.522916"], ["updated_at", "2015-08-20 15:48:17.522916"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.4ms | ActiveRecord: 3.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-20 10:48:17 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.0ms) Completed 200 OK in 16ms (Views: 2.9ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-20 10:48:17 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 18ms (Views: 2.6ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-20 10:48:17 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"2015-08-20", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-20 15:48:17.899682"], ["updated_at", "2015-08-20 15:48:17.902475"], ["id", 614371357]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-20 10:48:17 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 1.8ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-20 10:48:18 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-03", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-03"], ["created_at", "2015-08-20 15:48:18.165765"], ["updated_at", "2015-08-20 15:48:18.165765"]]  (1.3ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-20 15:48:18.171203"], ["updated_at", "2015-08-20 15:48:18.171203"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 4.1ms)  (0.2ms) ROLLBACK  (1.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-20', '2015-08-20 15:48:18', '2015-08-20 15:48:18', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-20 15:48:18.000000', '2015-08-20', '2015-08-20 15:48:18', '2015-08-20 15:48:18', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-20', '2015-08-20 15:48:18', '2015-08-20 15:48:18', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-20 15:48:18', '2015-08-20 15:48:18', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-20 15:48:18.000000', '2015-08-20', '2015-08-20 15:48:18', '2015-08-20 15:48:18', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-19', '2015-08-20 15:48:18', '2015-08-20 15:48:18', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-18', '2015-08-20 15:48:18', '2015-08-20 15:48:18', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-20 15:48:18.000000', '2015-08-20', '2015-08-20 15:48:18', '2015-08-20 15:48:18', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-20', '2015-08-20 15:48:18', '2015-08-20 15:48:18', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-20 15:48:18.000000', '2015-08-20', '2015-08-20 15:48:18', '2015-08-20 15:48:18', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-20', '2015-08-20 15:48:18', '2015-08-20 15:48:18', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-20 15:48:18.000000', '2015-08-20', '2015-08-20 15:48:18', '2015-08-20 15:48:18', 16804933, 816972181)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.6ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 15:48:18.274284"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-20 15:48:18.280077"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-13 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-20 23:59:59.999999') Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-20 15:48:18.290773"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-20 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 15:48:18.300905"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-20 15:48:18.305017"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-20 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-20 15:48:18.311871"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-20 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-20 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-20 15:48:18.323626"], ["updated_at", "2015-08-20 15:48:18.323626"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-20 15:48:18.328466"], ["updated_at", "2015-08-20 15:48:18.328466"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-20 15:48:18.331931"], ["updated_at", "2015-08-20 15:48:18.331931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-20 15:48:18', '2015-08-20 15:48:18', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-20 15:48:18', '2015-08-20 15:48:18', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 15:48:18.000000', '2015-08-20 15:48:18', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 15:48:18.000000', '2015-08-20 15:48:18', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-19 15:48:18.000000', '2015-08-20 15:48:18', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 15:48:18.000000', '2015-08-20 15:48:18', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-20 15:48:18', '2015-08-20 15:48:18', 576803333, 700141617) Fixture Insert (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-20 15:48:18', '2015-08-20 15:48:18', 369066228, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-20 15:48:18', '2015-08-20 15:48:18', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-20 15:48:18', '2015-08-20 15:48:18', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-20 15:48:18', '2015-08-20 15:48:18', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-20 15:48:18', '2015-08-20 15:48:18', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-20 15:48:18', '2015-08-20 15:48:18', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-20 15:48:18', '2015-08-20 15:48:18', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-20 15:48:18', '2015-08-20 15:48:18', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-20 15:48:18', '2015-08-20 15:48:18', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 15:48:18.485924"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-13 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-19 00:00:00.000000"], ["updated_at", "2015-08-20 15:48:18.492353"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-12 00:00:00.000000"], ["updated_at", "2015-08-20 15:48:18.495285"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-13 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-20 23:59:59.999999' AND created_at >= '2015-08-20 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-20 15:48:18.500859"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-20 23:59:59.999999' AND created_at >= '2015-08-20 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (5.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (22.9ms) DELETE FROM "participants" Fixture Insert (0.7ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-08-21 19:39:13', '2015-08-21 19:39:13', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-08-21 19:39:13', '2015-08-21 19:39:13', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-08-21 19:39:13', '2015-08-21 19:39:13', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (17.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-08-21 19:39:13', '2015-08-21 19:39:13', 700141617) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-08-21 19:39:13', '2015-08-21 19:39:13', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-08-21 19:39:13', '2015-08-21 19:39:13', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (5.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (6.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-08-21 19:39:13', '2015-08-21 19:39:13', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-08-21 19:39:13', '2015-08-21 19:39:13', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-08-21 19:39:13', '2015-08-21 19:39:13', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-08-21 19:39:13', '2015-08-21 19:39:13', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-08-21 19:39:13', '2015-08-21 19:39:13', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-08-21 19:39:13', '2015-08-21 19:39:13', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (3.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-08-21 19:39:13', '2015-08-21 19:39:13', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-08-21 19:39:13', '2015-08-21 19:39:13', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-08-21 19:39:13', '2015-08-21 19:39:13', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-08-21 19:39:13', '2015-08-21 19:39:13', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-08-21 19:39:13', '2015-08-21 19:39:13', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-08-21 19:39:13', '2015-08-21 19:39:13', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-08-21 19:39:13', '2015-08-21 19:39:13', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-08-21 19:39:13', '2015-08-21 19:39:13', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-08-21 19:39:13', '2015-08-21 19:39:13', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-08-21 19:39:14', '2015-08-21 19:39:14', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-08-21 19:39:14', '2015-08-21 19:39:14', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-08-21 19:39:14', '2015-08-21 19:39:14', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (4.0ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-08-21 19:39:14', '2015-08-21 19:39:14', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-08-21 19:39:14', '2015-08-21 19:39:14', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-08-21 19:39:14', '2015-08-21 19:39:14', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (9.0ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (8.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-08-21 19:39:14', '2015-08-21 19:39:14', 700141617) Fixture Insert (0.6ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-08-21 19:39:14', '2015-08-21 19:39:14', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-08-21 19:39:14', '2015-08-21 19:39:14', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (4.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (0.2ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (9.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-08-21 19:39:14', '2015-08-21 19:39:14', 700141617) Fixture Insert (0.5ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-08-21 19:39:14', '2015-08-21 19:39:14', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-08-21 19:39:14', '2015-08-21 19:39:14', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (4.0ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-08-21 19:39:14', '2015-08-21 19:39:14', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-08-21 19:39:14', '2015-08-21 19:39:14', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-08-21 19:39:14', '2015-08-21 19:39:14', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (3.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-08-21 19:39:14', '2015-08-21 19:39:14', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-08-21 19:39:14', '2015-08-21 19:39:14', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-08-21 19:39:14', '2015-08-21 19:39:14', 129315074)  (0.3ms) COMMIT  (3.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (8.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.3ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.7ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.7ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (4.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_on_the_mind_statements" does not exist LINE 5: WHERE a.attrelid = '"social_networking_on_the... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_on_the_mind_statements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (8.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.3ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (5.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (4.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (3.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.8ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (5.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (4.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (1.8ms) Sent mail to obama@ex.co (6.9ms) Date: Fri, 21 Aug 2015 14:39:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d77e62db6bc_139b63fea364521fc417a3@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 215.8ms  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.1ms) Date: Fri, 21 Aug 2015 14:39:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d77e62ddc12_139b63fea364521fc41873@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 6.4ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.9ms) Date: Fri, 21 Aug 2015 14:39:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d77e62df5af_139b63fea364521fc41963@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 4.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_shared_items" does not exist LINE 5: WHERE a.attrelid = '"social_networking_shared... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_shared_items"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.5ms) Date: Fri, 21 Aug 2015 14:39:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d77e62ec279_139b63fea364521fc420c3@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 42.9ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 21 Aug 2015 14:39:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d77e62ed589_139b63fea364521fc4219a@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 21 Aug 2015 14:39:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d77e62ee72b_139b63fea364521fc42265@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (3.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.8ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.6ms) Date: Fri, 21 Aug 2015 14:39:15 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d77e63b3b9_139b63fea364521fc423a5@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 41.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Fri, 21 Aug 2015 14:39:15 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d77e63c666_139b63fea364521fc424cf@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 21 Aug 2015 14:39:15 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d77e63d829_139b63fea364521fc425f@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_shared_items" does not exist LINE 5: WHERE a.attrelid = '"social_networking_shared... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_shared_items"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (3.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.7ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (4.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (9.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (5.0ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (3.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (4.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_shared_items" does not exist LINE 5: WHERE a.attrelid = '"social_networking_shared... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_shared_items"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_shared_items" does not exist LINE 5: WHERE a.attrelid = '"social_networking_shared... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_shared_items"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (1.6ms) Sent mail to obama@ex.co (10.5ms) Date: Fri, 21 Aug 2015 14:39:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d77e81b20e8_139cb3fd4fcc602082391e@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 227.0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Fri, 21 Aug 2015 14:39:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d77e81b41ce_139cb3fd4fcc6020824073@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 21 Aug 2015 14:39:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d77e81b53e8_139cb3fd4fcc6020824152@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 21 Aug 2015 14:39:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d77e81bf533_139cb3fd4fcc602082425d@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 39.5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 21 Aug 2015 14:39:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d77e81c0882_139cb3fd4fcc602082434b@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Fri, 21 Aug 2015 14:39:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d77e81c1b7e_139cb3fd4fcc6020824445@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.2ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.2ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 21 Aug 2015 14:39:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d77e82db94_139cb3fd4fcc60208245cf@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 38.1ms  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.4ms) Date: Fri, 21 Aug 2015 14:39:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d77e82f21d_139cb3fd4fcc6020824643@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 4.9ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.9ms) Date: Fri, 21 Aug 2015 14:39:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d77e8210baf_139cb3fd4fcc60208247b4@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 4.4ms  (0.1ms) ROLLBACK  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.3ms) ROLLBACK  (0.1ms)  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_on_the_mind_statements" does not exist LINE 5: WHERE a.attrelid = '"social_networking_on_the... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_on_the_mind_statements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.3ms) ROLLBACK  (0.2ms)  (0.2ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms)  (0.2ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (3.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.2ms) BEGIN  (3.6ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (0.6ms) COMMIT Migrating to AddParticipantFields (2)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.2ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (0.4ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (2.8ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (0.6ms) COMMIT Migrating to AddNullFalseToArms (5)  (0.4ms) BEGIN  (0.2ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.2ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (0.4ms) COMMIT Migrating to AddHasWozToArm (6)  (0.1ms) BEGIN  (3.9ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (0.8ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (0.2ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.1ms) BEGIN  (2.6ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.8ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (0.8ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (0.2ms) BEGIN  (2.9ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.6ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (0.2ms) BEGIN  (2.8ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (0.2ms) BEGIN  (2.8ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (0.9ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (0.2ms) BEGIN  (2.6ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.0ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (0.3ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (0.2ms) BEGIN  (2.5ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (0.9ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (0.4ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (1.2ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (0.2ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (0.5ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.1ms) BEGIN  (0.9ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (0.4ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (2.9ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (0.8ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.1ms) BEGIN  (3.4ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (0.8ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (0.4ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.1ms) BEGIN  (1.1ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (0.3ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.1ms) BEGIN  (1.3ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (0.3ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (0.3ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2015-08-21 19:39:56.125752"], ["updated_at", "2015-08-21 19:39:56.125752"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2015-08-21 19:39:56.127735"], ["updated_at", "2015-08-21 19:39:56.127735"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2015-08-21 19:39:56.128964"], ["updated_at", "2015-08-21 19:39:56.128964"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2015-08-21 19:39:56.130160"], ["updated_at", "2015-08-21 19:39:56.130160"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2015-08-21 19:39:56.131398"], ["updated_at", "2015-08-21 19:39:56.131398"]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (0.4ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (0.3ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (0.3ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.1ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (0.5ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (0.9ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (0.5ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.8ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (0.3ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.1ms) BEGIN  (2.0ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (0.5ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (0.2ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (0.3ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (0.2ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (0.2ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (0.2ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (0.3ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.1ms) BEGIN  (1.0ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (0.2ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.1ms) BEGIN  (1.1ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (0.5ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.1ms) BEGIN  (1.0ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (0.9ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (0.3ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.1ms) BEGIN  (0.8ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (0.7ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (0.7ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.3ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.2ms) BEGIN  (0.9ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (0.5ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (3.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (2.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (1.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-21 19:40:01', '2015-08-21 19:40:01', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.3ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (7.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.6ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-21 19:40:01', '2015-08-21 19:40:01', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-21', '2015-08-21 19:40:01', '2015-08-21 19:40:01', 809335042, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-21 19:40:01.000000', '2015-08-21', '2015-08-21 19:40:01', '2015-08-21 19:40:01', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-21', '2015-08-21 19:40:01', '2015-08-21 19:40:01', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-21 19:40:01', '2015-08-21 19:40:01', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-21 19:40:01.000000', '2015-08-21', '2015-08-21 19:40:01', '2015-08-21 19:40:01', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-20', '2015-08-21 19:40:01', '2015-08-21 19:40:01', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-19', '2015-08-21 19:40:01', '2015-08-21 19:40:01', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-21 19:40:01.000000', '2015-08-21', '2015-08-21 19:40:01', '2015-08-21 19:40:01', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-21', '2015-08-21 19:40:01', '2015-08-21 19:40:01', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-21 19:40:01.000000', '2015-08-21', '2015-08-21 19:40:01', '2015-08-21 19:40:01', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-21', '2015-08-21 19:40:01', '2015-08-21 19:40:01', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-21 19:40:01.000000', '2015-08-21', '2015-08-21 19:40:01', '2015-08-21 19:40:01', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 19:40:01.000000', '2015-08-21 19:40:01', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-21 19:40:01.000000', '2015-08-21 19:40:01', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 19:40:01.000000', '2015-08-21 19:40:01', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-21 19:40:01.000000', '2015-08-21 19:40:01', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-21 19:40:01', '2015-08-21 19:40:01', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-21 19:40:01', '2015-08-21 19:40:01', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-21 19:40:01', '2015-08-21 19:40:01', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-21 19:40:01', '2015-08-21 19:40:01', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-21 19:40:01', '2015-08-21 19:40:01', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-21 19:40:01', '2015-08-21 19:40:01', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-21 19:40:01', '2015-08-21 19:40:01', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-21 19:40:01', '2015-08-21 19:40:01', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-21 19:40:01', '2015-08-21 19:40:01', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-21 19:40:01', '2015-08-21 19:40:01', 809335042, 'SocialNetworking::Goal', 809335042)  (0.3ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.7ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-21 19:40:02.053328"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-21 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-21 00:00:00.000000"], ["updated_at", "2015-08-21 19:40:02.072350"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-21 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.5ms) Completed 200 OK in 14ms (Views: 12.8ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-21 14:40:02 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Completed 500 Internal Server Error in 31ms SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]]  (0.4ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-21 14:40:02 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Completed 500 Internal Server Error in 9ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-21 14:40:02 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Completed 500 Internal Server Error in 7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-21 14:40:03 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Completed 500 Internal Server Error in 7ms SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-21 14:40:03 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Completed 500 Internal Server Error in 7ms SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]]  (0.3ms) ROLLBACK  (2.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-21', '2015-08-21 19:40:03', '2015-08-21 19:40:03', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-21 19:40:03.000000', '2015-08-21', '2015-08-21 19:40:03', '2015-08-21 19:40:03', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-21', '2015-08-21 19:40:03', '2015-08-21 19:40:03', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-21 19:40:03', '2015-08-21 19:40:03', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-21 19:40:03.000000', '2015-08-21', '2015-08-21 19:40:03', '2015-08-21 19:40:03', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-20', '2015-08-21 19:40:03', '2015-08-21 19:40:03', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-19', '2015-08-21 19:40:03', '2015-08-21 19:40:03', 938656909, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-21 19:40:03.000000', '2015-08-21', '2015-08-21 19:40:03', '2015-08-21 19:40:03', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-21', '2015-08-21 19:40:03', '2015-08-21 19:40:03', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-21 19:40:03.000000', '2015-08-21', '2015-08-21 19:40:03', '2015-08-21 19:40:03', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-21', '2015-08-21 19:40:03', '2015-08-21 19:40:03', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-21 19:40:03.000000', '2015-08-21', '2015-08-21 19:40:03', '2015-08-21 19:40:03', 16804933, 816972181)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-21 19:40:03.311928"], ["updated_at", "2015-08-21 19:40:03.311928"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-21 19:40:03.324233"], ["updated_at", "2015-08-21 19:40:03.324233"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-21 19:40:03.327726"], ["updated_at", "2015-08-21 19:40:03.327726"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.6ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-21 19:40:03.344216"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-21 19:40:03.348529"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-21 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-21 00:00:00.000000"], ["updated_at", "2015-08-21 19:40:03.356378"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-21 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (1.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-21 19:40:03', '2015-08-21 19:40:03', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-21 19:40:03', '2015-08-21 19:40:03', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 19:40:03.000000', '2015-08-21 19:40:03', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-21 19:40:03.000000', '2015-08-21 19:40:03', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 19:40:03.000000', '2015-08-21 19:40:03', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-21 19:40:03.000000', '2015-08-21 19:40:03', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-21 19:40:03', '2015-08-21 19:40:03', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-21 19:40:03', '2015-08-21 19:40:03', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-21 19:40:03', '2015-08-21 19:40:03', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-21 19:40:03', '2015-08-21 19:40:03', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-21 19:40:03', '2015-08-21 19:40:03', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-21 19:40:03', '2015-08-21 19:40:03', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-21 19:40:03', '2015-08-21 19:40:03', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-21 19:40:03', '2015-08-21 19:40:03', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-21 19:40:03', '2015-08-21 19:40:03', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-21 19:40:03', '2015-08-21 19:40:03', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.0ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-21 19:40:03.453367"], ["updated_at", "2015-08-21 19:40:03.453367"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-21 19:40:03.456190"], ["updated_at", "2015-08-21 19:40:03.456190"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-21 19:40:03.462554"], ["updated_at", "2015-08-21 19:40:03.462554"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-21 19:40:03.464914"], ["updated_at", "2015-08-21 19:40:03.464914"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.8ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-21 19:40:03.472271"], ["updated_at", "2015-08-21 19:40:03.472271"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-21 19:40:03.475348"], ["updated_at", "2015-08-21 19:40:03.475348"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-21 19:40:03.488254"], ["updated_at", "2015-08-21 19:40:03.488254"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-21 19:40:03.490795"], ["updated_at", "2015-08-21 19:40:03.490795"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.5ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.1ms) Completed 202 Accepted in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (3.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-21 23:59:59.999999' AND created_at >= '2015-08-21 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-21 00:00:00.000000"], ["updated_at", "2015-08-21 19:40:03.691135"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-21 23:59:59.999999' AND created_at >= '2015-08-21 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-14 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-21 19:40:03.698354"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-21 19:40:03.701472"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-21 19:40:03.707123"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.6ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-21 19:40:03.739452"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-21 19:40:03.745904"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-21 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-21 00:00:00.000000"], ["updated_at", "2015-08-21 19:40:03.755425"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-21 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-21 19:40:03.765196"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-21 19:40:03.769715"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-21 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-21 00:00:00.000000"], ["updated_at", "2015-08-21 19:40:03.786741"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-21 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-22"], ["created_at", "2015-08-21 19:40:03.793303"], ["updated_at", "2015-08-21 19:40:03.793303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-21"], ["completed_at", "2015-08-19 00:00:00.000000"], ["created_at", "2015-08-21 19:40:03.798406"], ["updated_at", "2015-08-21 19:40:03.798406"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-21 19:40:03.806251"], ["updated_at", "2015-08-21 19:40:03.806251"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-21 19:40:03.810340') AND ("social_networking_goals"."due_on" >= '2015-08-20 19:40:03.810410') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-21 19:40:03.813653') AND ("social_networking_goals"."due_on" >= '2015-08-20 19:40:03.813676')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-21 19:40:03.815757') AND ("social_networking_goals"."due_on" >= '2015-08-20 19:40:03.815778')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-21 19:40:03.975154"], ["updated_at", "2015-08-21 19:40:03.975154"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-21 19:40:03.978298"], ["updated_at", "2015-08-21 19:40:03.978298"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.7ms) Sent mail to obama@ex.co (7.8ms) Date: Fri, 21 Aug 2015 14:40:04 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d77e943cfaf_139db3fd9a0c6020046851@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 258.7ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.7ms) Date: Fri, 21 Aug 2015 14:40:04 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d77e943f749_139db3fd9a0c6020046916@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 5.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.4ms) Date: Fri, 21 Aug 2015 14:40:04 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d77e944116d_139db3fd9a0c6020047064@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 4.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.5ms) Date: Fri, 21 Aug 2015 14:40:04 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d77e945a4c0_139db3fd9a0c60200471e3@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 41.4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Fri, 21 Aug 2015 14:40:04 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d77e945b871_139db3fd9a0c602004722a@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.6ms) Date: Fri, 21 Aug 2015 14:40:04 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d77e945cd01_139db3fd9a0c602004739e@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.6ms) Date: Fri, 21 Aug 2015 14:40:04 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d77e946723c_139db3fd9a0c60200474f4@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 40.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 21 Aug 2015 14:40:04 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d77e9468715_139db3fd9a0c60200475ac@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 21 Aug 2015 14:40:04 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d77e946994f_139db3fd9a0c60200476a4@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (2.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (6.0ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (5.6ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-21 20:07:34', '2015-08-21 20:07:34', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (5.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-21', '2015-08-21 20:07:34', '2015-08-21 20:07:34', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-21 20:07:34.000000', '2015-08-21', '2015-08-21 20:07:34', '2015-08-21 20:07:34', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-21', '2015-08-21 20:07:34', '2015-08-21 20:07:34', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-21 20:07:34', '2015-08-21 20:07:34', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-21 20:07:34.000000', '2015-08-21', '2015-08-21 20:07:34', '2015-08-21 20:07:34', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-20', '2015-08-21 20:07:34', '2015-08-21 20:07:34', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-19', '2015-08-21 20:07:34', '2015-08-21 20:07:34', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-21 20:07:34.000000', '2015-08-21', '2015-08-21 20:07:34', '2015-08-21 20:07:34', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-21', '2015-08-21 20:07:34', '2015-08-21 20:07:34', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-21 20:07:34.000000', '2015-08-21', '2015-08-21 20:07:34', '2015-08-21 20:07:34', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-21', '2015-08-21 20:07:34', '2015-08-21 20:07:34', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-21 20:07:34.000000', '2015-08-21', '2015-08-21 20:07:34', '2015-08-21 20:07:34', 16804933, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-21 20:07:34', '2015-08-21 20:07:34', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (1.1ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 20:07:34.000000', '2015-08-21 20:07:34', 503297012, 700141617, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-21 20:07:34.000000', '2015-08-21 20:07:34', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 20:07:34.000000', '2015-08-21 20:07:34', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-21 20:07:34.000000', '2015-08-21 20:07:34', 316146702, 816972181, 700141617) Fixture Delete (0.5ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-21 20:07:34', '2015-08-21 20:07:34', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-21 20:07:34', '2015-08-21 20:07:34', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-21 20:07:34', '2015-08-21 20:07:34', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-21 20:07:34', '2015-08-21 20:07:34', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-21 20:07:34', '2015-08-21 20:07:34', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-21 20:07:34', '2015-08-21 20:07:34', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-21 20:07:34', '2015-08-21 20:07:34', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-21 20:07:34', '2015-08-21 20:07:34', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-21 20:07:34', '2015-08-21 20:07:34', 183235640, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-21 20:07:34', '2015-08-21 20:07:34', 809335042, 'SocialNetworking::Goal', 809335042)  (0.7ms) COMMIT  (2.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-21 20:07:34.413809"], ["updated_at", "2015-08-21 20:07:34.413809"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-21 20:07:34.423456"], ["updated_at", "2015-08-21 20:07:34.423456"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.3ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-21 20:07:34.443699"], ["updated_at", "2015-08-21 20:07:34.443699"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-21 20:07:34.445909"], ["updated_at", "2015-08-21 20:07:34.445909"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-21 20:07:34.454187"], ["updated_at", "2015-08-21 20:07:34.454187"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-21 20:07:34.456328"], ["updated_at", "2015-08-21 20:07:34.456328"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-21 20:07:34.476926"], ["updated_at", "2015-08-21 20:07:34.476926"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-21 20:07:34.479035"], ["updated_at", "2015-08-21 20:07:34.479035"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.1ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-21 15:07:35 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.6ms) Completed 200 OK in 116ms (Views: 78.5ms | ActiveRecord: 5.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-21 15:07:35 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-21 15:07:35 -0500 SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-21 15:07:35 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"08/21/2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "due_on" = $1, "deleted_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["deleted_at", "2015-08-21 20:07:35.486795"], ["updated_at", "2015-08-21 20:07:35.489697"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 4.7ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-21 15:07:35 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 17ms (Views: 2.2ms | ActiveRecord: 2.3ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-21 15:07:35 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-04", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-04"], ["created_at", "2015-08-21 20:07:35.824866"], ["updated_at", "2015-08-21 20:07:35.824866"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-21 20:07:35.830878"], ["updated_at", "2015-08-21 20:07:35.830878"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-21 15:07:35 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 24ms (Views: 2.3ms | ActiveRecord: 2.3ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-21 15:07:36 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"08/21/2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "due_on" = $1, "completed_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["completed_at", "2015-08-21 20:07:36.143172"], ["updated_at", "2015-08-21 20:07:36.146303"], ["id", 809335042]]  (1.4ms) COMMIT  (0.3ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-21 20:07:36.151742"], ["updated_at", "2015-08-21 20:07:36.151742"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 4.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-21 15:07:36 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.3ms) Completed 200 OK in 22ms (Views: 3.3ms | ActiveRecord: 2.3ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-21 15:07:36 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-18", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-18"], ["updated_at", "2015-08-21 20:07:36.481594"], ["id", 53334230]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-21 15:07:36 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 18ms (Views: 2.1ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.5ms) Completed 200 OK in 13ms (Views: 12.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (7.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-21 20:07:38', '2015-08-21 20:07:38', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-21', '2015-08-21 20:07:38', '2015-08-21 20:07:38', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-21 20:07:38.000000', '2015-08-21', '2015-08-21 20:07:38', '2015-08-21 20:07:38', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-21', '2015-08-21 20:07:38', '2015-08-21 20:07:38', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-21 20:07:38', '2015-08-21 20:07:38', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-21 20:07:38.000000', '2015-08-21', '2015-08-21 20:07:38', '2015-08-21 20:07:38', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-20', '2015-08-21 20:07:38', '2015-08-21 20:07:38', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-19', '2015-08-21 20:07:38', '2015-08-21 20:07:38', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-21 20:07:38.000000', '2015-08-21', '2015-08-21 20:07:38', '2015-08-21 20:07:38', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-21', '2015-08-21 20:07:38', '2015-08-21 20:07:38', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-21 20:07:38.000000', '2015-08-21', '2015-08-21 20:07:38', '2015-08-21 20:07:38', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-21', '2015-08-21 20:07:38', '2015-08-21 20:07:38', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-21 20:07:38.000000', '2015-08-21', '2015-08-21 20:07:38', '2015-08-21 20:07:38', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-21 20:07:38', '2015-08-21 20:07:38', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 20:07:38.000000', '2015-08-21 20:07:38', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-21 20:07:38.000000', '2015-08-21 20:07:38', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 20:07:38.000000', '2015-08-21 20:07:38', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-21 20:07:38.000000', '2015-08-21 20:07:38', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-21 20:07:38', '2015-08-21 20:07:38', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-21 20:07:38', '2015-08-21 20:07:38', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-21 20:07:38', '2015-08-21 20:07:38', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-21 20:07:38', '2015-08-21 20:07:38', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-21 20:07:38', '2015-08-21 20:07:38', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-21 20:07:38', '2015-08-21 20:07:38', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-21 20:07:38', '2015-08-21 20:07:38', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-21 20:07:38', '2015-08-21 20:07:38', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-21 20:07:38', '2015-08-21 20:07:38', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-21 20:07:38', '2015-08-21 20:07:38', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.6ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-21 20:07:39.026142"], ["updated_at", "2015-08-21 20:07:39.026142"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-21 20:07:39.032763"], ["updated_at", "2015-08-21 20:07:39.032763"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-21 20:07:39.057690"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-21 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-21 00:00:00.000000"], ["updated_at", "2015-08-21 20:07:39.080854"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-21 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-21 20:07:39.124341"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-21 20:07:39.130482"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-21 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-21 00:00:00.000000"], ["updated_at", "2015-08-21 20:07:39.141067"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-21 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (8.5ms) Date: Fri, 21 Aug 2015 15:07:39 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d7850b65cdd_1482b3ff3ca06020410540@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 272.2ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 21 Aug 2015 15:07:39 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d7850b679a9_1482b3ff3ca06020410641@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Fri, 21 Aug 2015 15:07:39 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d7850b68b7d_1482b3ff3ca0602041079d@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-21 20:07:39.438925"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-21 20:07:39.441842"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-21 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-21 00:00:00.000000"], ["updated_at", "2015-08-21 20:07:39.452254"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-21 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-21"], ["completed_at", "2015-08-19 00:00:00.000000"], ["created_at", "2015-08-21 20:07:39.457798"], ["updated_at", "2015-08-21 20:07:39.457798"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-22"], ["created_at", "2015-08-21 20:07:39.462106"], ["updated_at", "2015-08-21 20:07:39.462106"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-21 20:07:39.469599"], ["updated_at", "2015-08-21 20:07:39.469599"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-21 20:07:39.472996') AND ("social_networking_goals"."due_on" >= '2015-08-20 20:07:39.473050') SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-21 20:07:39.476360') AND ("social_networking_goals"."due_on" >= '2015-08-20 20:07:39.476383')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-21 20:07:39.478317') AND ("social_networking_goals"."due_on" >= '2015-08-20 20:07:39.478337')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-21 20:07:39.558746"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-21 20:07:39.562451"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-21 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-21 00:00:00.000000"], ["updated_at", "2015-08-21 20:07:39.570151"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-21 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 21 Aug 2015 15:07:39 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d7850b95f22_1482b3ff3ca06020410866@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 40.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.6ms) Date: Fri, 21 Aug 2015 15:07:39 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d7850b972f3_1482b3ff3ca0602041090@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.1ms) Date: Fri, 21 Aug 2015 15:07:39 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d7850b984d7_1482b3ff3ca0602041106a@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-21 23:59:59.999999' AND created_at >= '2015-08-21 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-21 00:00:00.000000"], ["updated_at", "2015-08-21 20:07:39.632038"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-21 23:59:59.999999' AND created_at >= '2015-08-21 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-14 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-21 20:07:39.637998"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-21 20:07:39.640821"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-21 20:07:39.646448"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (2.7ms) Date: Fri, 21 Aug 2015 15:07:39 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d7850bd90cc_1482b3ff3ca06020411133@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 45.2ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.6ms) Date: Fri, 21 Aug 2015 15:07:39 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d7850bda49e_1482b3ff3ca06020411215@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Fri, 21 Aug 2015 15:07:39 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d7850bdb886_1482b3ff3ca060204113f0@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-21 20:07:40.003719"], ["updated_at", "2015-08-21 20:07:40.003719"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-21 20:07:40.008479"], ["updated_at", "2015-08-21 20:07:40.008479"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-21 20:07:40.013016"], ["updated_at", "2015-08-21 20:07:40.013016"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (27.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-21 20:15:43', '2015-08-21 20:15:43', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-21', '2015-08-21 20:15:43', '2015-08-21 20:15:43', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-21 20:15:43.000000', '2015-08-21', '2015-08-21 20:15:43', '2015-08-21 20:15:43', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-21', '2015-08-21 20:15:43', '2015-08-21 20:15:43', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-21 20:15:43', '2015-08-21 20:15:43', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-21 20:15:43.000000', '2015-08-21', '2015-08-21 20:15:43', '2015-08-21 20:15:43', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-20', '2015-08-21 20:15:43', '2015-08-21 20:15:43', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-19', '2015-08-21 20:15:43', '2015-08-21 20:15:43', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-21 20:15:43.000000', '2015-08-21', '2015-08-21 20:15:43', '2015-08-21 20:15:43', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-21', '2015-08-21 20:15:43', '2015-08-21 20:15:43', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-21 20:15:43.000000', '2015-08-21', '2015-08-21 20:15:43', '2015-08-21 20:15:43', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-21', '2015-08-21 20:15:43', '2015-08-21 20:15:43', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-21 20:15:43.000000', '2015-08-21', '2015-08-21 20:15:43', '2015-08-21 20:15:43', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-21 20:15:43', '2015-08-21 20:15:43', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 20:15:43.000000', '2015-08-21 20:15:43', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-21 20:15:43.000000', '2015-08-21 20:15:43', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 20:15:43.000000', '2015-08-21 20:15:43', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-21 20:15:43.000000', '2015-08-21 20:15:43', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-21 20:15:43', '2015-08-21 20:15:43', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-21 20:15:43', '2015-08-21 20:15:43', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-21 20:15:43', '2015-08-21 20:15:43', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-21 20:15:43', '2015-08-21 20:15:43', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-21 20:15:43', '2015-08-21 20:15:43', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-21 20:15:43', '2015-08-21 20:15:43', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-21 20:15:43', '2015-08-21 20:15:43', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-21 20:15:43', '2015-08-21 20:15:43', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-21 20:15:43', '2015-08-21 20:15:43', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-21 20:15:43', '2015-08-21 20:15:43', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.0ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-21 15:15:44 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.3ms) Completed 200 OK in 169ms (Views: 93.8ms | ActiveRecord: 5.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-21 15:15:45 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-21 15:15:45 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-21 15:15:45 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-18", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-18"], ["updated_at", "2015-08-21 20:15:45.354031"], ["id", 53334230]]  (5.6ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 19ms (Views: 0.3ms | ActiveRecord: 9.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-21 15:15:45 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.9ms) Completed 200 OK in 17ms (Views: 2.6ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-21 15:15:45 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"08/21/2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) UPDATE "social_networking_goals" SET "due_on" = $1, "deleted_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["deleted_at", "2015-08-21 20:15:45.642895"], ["updated_at", "2015-08-21 20:15:45.645965"], ["id", 614371357]]  (6.0ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 8.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-21 15:15:45 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 15ms (Views: 1.7ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (7.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.6ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-21 20:16:10', '2015-08-21 20:16:10', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (6.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-21 20:16:10', '2015-08-21 20:16:10', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.3ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (1.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-21', '2015-08-21 20:16:10', '2015-08-21 20:16:10', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-21 20:16:10.000000', '2015-08-21', '2015-08-21 20:16:10', '2015-08-21 20:16:10', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-21', '2015-08-21 20:16:10', '2015-08-21 20:16:10', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-21 20:16:10', '2015-08-21 20:16:10', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-21 20:16:10.000000', '2015-08-21', '2015-08-21 20:16:10', '2015-08-21 20:16:10', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-20', '2015-08-21 20:16:10', '2015-08-21 20:16:10', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-19', '2015-08-21 20:16:10', '2015-08-21 20:16:10', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-21 20:16:10.000000', '2015-08-21', '2015-08-21 20:16:10', '2015-08-21 20:16:10', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-21', '2015-08-21 20:16:10', '2015-08-21 20:16:10', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-21 20:16:10.000000', '2015-08-21', '2015-08-21 20:16:10', '2015-08-21 20:16:10', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-21', '2015-08-21 20:16:10', '2015-08-21 20:16:10', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-21 20:16:10.000000', '2015-08-21', '2015-08-21 20:16:10', '2015-08-21 20:16:10', 16804933, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 20:16:10.000000', '2015-08-21 20:16:10', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-21 20:16:10.000000', '2015-08-21 20:16:10', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 20:16:10.000000', '2015-08-21 20:16:10', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-21 20:16:10.000000', '2015-08-21 20:16:10', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-21 20:16:10', '2015-08-21 20:16:10', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-21 20:16:10', '2015-08-21 20:16:10', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-21 20:16:10', '2015-08-21 20:16:10', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-21 20:16:10', '2015-08-21 20:16:10', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-21 20:16:10', '2015-08-21 20:16:10', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-21 20:16:10', '2015-08-21 20:16:10', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-21 20:16:10', '2015-08-21 20:16:10', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-21 20:16:10', '2015-08-21 20:16:10', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-21 20:16:10', '2015-08-21 20:16:10', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-21 20:16:10', '2015-08-21 20:16:10', 809335042, 'SocialNetworking::Goal', 809335042)  (0.7ms) COMMIT  (1.8ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.2ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.8ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-21 20:16:10.342815"], ["updated_at", "2015-08-21 20:16:10.342815"]] SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-21 20:16:10.352370"], ["updated_at", "2015-08-21 20:16:10.352370"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-21 20:16:10.360222"], ["updated_at", "2015-08-21 20:16:10.360222"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-21 20:16:10.362543"], ["updated_at", "2015-08-21 20:16:10.362543"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-21 20:16:10.367950"], ["updated_at", "2015-08-21 20:16:10.367950"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-21 20:16:10.370562"], ["updated_at", "2015-08-21 20:16:10.370562"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-21 20:16:10.386871"], ["updated_at", "2015-08-21 20:16:10.386871"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-21 20:16:10.388911"], ["updated_at", "2015-08-21 20:16:10.388911"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-21 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-21 00:00:00.000000"], ["updated_at", "2015-08-21 20:16:10.398155"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-21 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-21 20:16:10.415373"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-21 20:16:10.418456"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-21 20:16:10.425856"], ["updated_at", "2015-08-21 20:16:10.425856"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-22"], ["created_at", "2015-08-21 20:16:10.432119"], ["updated_at", "2015-08-21 20:16:10.432119"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-21"], ["completed_at", "2015-08-19 00:00:00.000000"], ["created_at", "2015-08-21 20:16:10.436654"], ["updated_at", "2015-08-21 20:16:10.436654"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-21 20:16:10.439871') AND ("social_networking_goals"."due_on" >= '2015-08-20 20:16:10.439905') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-21 20:16:10.443327') AND ("social_networking_goals"."due_on" >= '2015-08-20 20:16:10.443348')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-21 20:16:10.445095') AND ("social_networking_goals"."due_on" >= '2015-08-20 20:16:10.445113')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-14 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-21 20:16:10.453833"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-21 20:16:10.456652"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-21 20:16:10.462056"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-21 23:59:59.999999' AND created_at >= '2015-08-21 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-21 00:00:00.000000"], ["updated_at", "2015-08-21 20:16:10.467474"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-21 23:59:59.999999' AND created_at >= '2015-08-21 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-21 20:16:10.493172"], ["updated_at", "2015-08-21 20:16:10.493172"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-21 20:16:10.498280"], ["updated_at", "2015-08-21 20:16:10.498280"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-21 20:16:10.502866"], ["updated_at", "2015-08-21 20:16:10.502866"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (1.4ms) Sent mail to obama@ex.co (8.7ms) Date: Fri, 21 Aug 2015 15:16:10 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d7870ad807b_14cf93ff42d8601f8414a9@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 299.0ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.6ms) Date: Fri, 21 Aug 2015 15:16:10 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d7870ada68f_14cf93ff42d8601f84155d@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 5.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 21 Aug 2015 15:16:10 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d7870adbe76_14cf93ff42d8601f841629@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.5ms) Date: Fri, 21 Aug 2015 15:16:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d7870bc070_14cf93ff42d8601f841738@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 39.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.6ms) Date: Fri, 21 Aug 2015 15:16:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d7870bd37c_14cf93ff42d8601f84181c@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.6ms) Date: Fri, 21 Aug 2015 15:16:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d7870beafa_14cf93ff42d8601f84192d@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.9ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-21 20:16:11.203568"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-21 20:16:11.207830"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-21 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-21 00:00:00.000000"], ["updated_at", "2015-08-21 20:16:11.214949"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-21 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (3.4ms) Date: Fri, 21 Aug 2015 15:16:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d7870b43d58_14cf93ff42d8601f84201d@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 46.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 21 Aug 2015 15:16:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d7870b45573_14cf93ff42d8601f8421fb@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Fri, 21 Aug 2015 15:16:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d7870b467f2_14cf93ff42d8601f84222e@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-21 20:16:11.315621"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-21 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-21 00:00:00.000000"], ["updated_at", "2015-08-21 20:16:11.329040"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-21 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-21 20:16:11.387068"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-21 20:16:11.391069"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-21 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-21 00:00:00.000000"], ["updated_at", "2015-08-21 20:16:11.397947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-21 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-21 15:16:11 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.2ms) Completed 200 OK in 103ms (Views: 82.6ms | ActiveRecord: 4.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-21 15:16:12 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-21 15:16:12 -0500 SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-21 15:16:12 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"08/21/2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "due_on" = $1, "deleted_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["deleted_at", "2015-08-21 20:16:12.381289"], ["updated_at", "2015-08-21 20:16:12.384410"], ["id", 614371357]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-21 15:16:12 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.3ms) Completed 200 OK in 17ms (Views: 3.5ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-21 15:16:12 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"08/21/2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.8ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) UPDATE "social_networking_goals" SET "due_on" = $1, "completed_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["completed_at", "2015-08-21 20:16:12.550248"], ["updated_at", "2015-08-21 20:16:12.554014"], ["id", 809335042]]  (0.5ms) COMMIT  (0.3ms) BEGIN SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-21 20:16:12.559565"], ["updated_at", "2015-08-21 20:16:12.559565"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 17ms (Views: 0.2ms | ActiveRecord: 4.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-21 15:16:12 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.8ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-21 15:16:12 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.0ms) Completed 200 OK in 13ms (Views: 1.6ms | ActiveRecord: 1.4ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-21 15:16:12 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-18", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-18"], ["updated_at", "2015-08-21 20:16:12.888517"], ["id", 53334230]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-21 15:16:12 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 1.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-21 15:16:13 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-04", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-04"], ["created_at", "2015-08-21 20:16:13.279043"], ["updated_at", "2015-08-21 20:16:13.279043"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-21 20:16:13.284201"], ["updated_at", "2015-08-21 20:16:13.284201"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 3.8ms)  (0.2ms) ROLLBACK  (1.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-21 20:16:13', '2015-08-21 20:16:13', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-21', '2015-08-21 20:16:13', '2015-08-21 20:16:13', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-21 20:16:13.000000', '2015-08-21', '2015-08-21 20:16:13', '2015-08-21 20:16:13', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-21', '2015-08-21 20:16:13', '2015-08-21 20:16:13', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-21 20:16:13', '2015-08-21 20:16:13', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-21 20:16:13.000000', '2015-08-21', '2015-08-21 20:16:13', '2015-08-21 20:16:13', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-20', '2015-08-21 20:16:13', '2015-08-21 20:16:13', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-19', '2015-08-21 20:16:13', '2015-08-21 20:16:13', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-21 20:16:13.000000', '2015-08-21', '2015-08-21 20:16:13', '2015-08-21 20:16:13', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-21', '2015-08-21 20:16:13', '2015-08-21 20:16:13', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-21 20:16:13.000000', '2015-08-21', '2015-08-21 20:16:13', '2015-08-21 20:16:13', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-21', '2015-08-21 20:16:13', '2015-08-21 20:16:13', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-21 20:16:13.000000', '2015-08-21', '2015-08-21 20:16:13', '2015-08-21 20:16:13', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-21 20:16:13', '2015-08-21 20:16:13', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 20:16:13.000000', '2015-08-21 20:16:13', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-21 20:16:13.000000', '2015-08-21 20:16:13', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 20:16:13.000000', '2015-08-21 20:16:13', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-21 20:16:13.000000', '2015-08-21 20:16:13', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-21 20:16:13', '2015-08-21 20:16:13', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-21 20:16:13', '2015-08-21 20:16:13', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-21 20:16:13', '2015-08-21 20:16:13', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-21 20:16:13', '2015-08-21 20:16:13', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-21 20:16:13', '2015-08-21 20:16:13', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-21 20:16:13', '2015-08-21 20:16:13', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-21 20:16:13', '2015-08-21 20:16:13', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-21 20:16:13', '2015-08-21 20:16:13', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-21 20:16:13', '2015-08-21 20:16:13', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-21 20:16:13', '2015-08-21 20:16:13', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-21 20:16:13.414092"], ["updated_at", "2015-08-21 20:16:13.414092"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-21 20:16:13.417513"], ["updated_at", "2015-08-21 20:16:13.417513"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (2.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-21', '2015-08-21 22:53:58', '2015-08-21 22:53:58', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-21 22:53:58.000000', '2015-08-21', '2015-08-21 22:53:58', '2015-08-21 22:53:58', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-21', '2015-08-21 22:53:58', '2015-08-21 22:53:58', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-21 22:53:58', '2015-08-21 22:53:58', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-21 22:53:58.000000', '2015-08-21', '2015-08-21 22:53:58', '2015-08-21 22:53:58', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-20', '2015-08-21 22:53:58', '2015-08-21 22:53:58', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-19', '2015-08-21 22:53:58', '2015-08-21 22:53:58', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-21 22:53:58.000000', '2015-08-21', '2015-08-21 22:53:58', '2015-08-21 22:53:58', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-21', '2015-08-21 22:53:58', '2015-08-21 22:53:58', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-21 22:53:58.000000', '2015-08-21', '2015-08-21 22:53:58', '2015-08-21 22:53:58', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-21', '2015-08-21 22:53:58', '2015-08-21 22:53:58', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-21 22:53:58.000000', '2015-08-21', '2015-08-21 22:53:58', '2015-08-21 22:53:58', 16804933, 816972181)  (0.3ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.8ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-21 22:53:58.150002"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-21 22:53:58.157265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-14 00:00:00.000000')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-21 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-21 00:00:00.000000"], ["updated_at", "2015-08-21 22:53:58.170280"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-21 23:59:59.999999')  (0.1ms) ROLLBACK  (15.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-21 22:53:58', '2015-08-21 22:53:58', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-21 22:53:58', '2015-08-21 22:53:58', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 22:53:58.000000', '2015-08-21 22:53:58', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-21 22:53:58.000000', '2015-08-21 22:53:58', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 22:53:58.000000', '2015-08-21 22:53:58', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-21 22:53:58.000000', '2015-08-21 22:53:58', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-21 22:53:58', '2015-08-21 22:53:58', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-21 22:53:58', '2015-08-21 22:53:58', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-21 22:53:58', '2015-08-21 22:53:58', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-21 22:53:58', '2015-08-21 22:53:58', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-21 22:53:58', '2015-08-21 22:53:58', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-21 22:53:58', '2015-08-21 22:53:58', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-21 22:53:58', '2015-08-21 22:53:58', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-21 22:53:58', '2015-08-21 22:53:58', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.4ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-21 22:53:58', '2015-08-21 22:53:58', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-21 22:53:58', '2015-08-21 22:53:58', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-21 22:53:58.259683"], ["updated_at", "2015-08-21 22:53:58.259683"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-21 22:53:58.271718"], ["updated_at", "2015-08-21 22:53:58.271718"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-21 22:53:58.298989"], ["updated_at", "2015-08-21 22:53:58.298989"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-21 22:53:58.304415"], ["updated_at", "2015-08-21 22:53:58.304415"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-21 22:53:58.307330"], ["updated_at", "2015-08-21 22:53:58.307330"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (8.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-21 22:53:58.563219"], ["updated_at", "2015-08-21 22:53:58.563219"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-21 22:53:58.568060"], ["updated_at", "2015-08-21 22:53:58.568060"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.3ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-21 22:53:58.577567"], ["updated_at", "2015-08-21 22:53:58.577567"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-21 22:53:58.580441"], ["updated_at", "2015-08-21 22:53:58.580441"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-21 22:53:58.585826"], ["updated_at", "2015-08-21 22:53:58.585826"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-21 22:53:58.588046"], ["updated_at", "2015-08-21 22:53:58.588046"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-21 22:53:58.604429"], ["updated_at", "2015-08-21 22:53:58.604429"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-21 22:53:58.606631"], ["updated_at", "2015-08-21 22:53:58.606631"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-21 22:53:58.730994"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-21 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-21 00:00:00.000000"], ["updated_at", "2015-08-21 22:53:58.747394"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-21 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (8.6ms) Date: Fri, 21 Aug 2015 17:53:58 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d7ac06f1f57_11fe3fdafd04c2081042f@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 220.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 21 Aug 2015 17:53:58 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d7ac06f3f23_11fe3fdafd04c20810546@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Fri, 21 Aug 2015 17:53:59 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d7ac07da1_11fe3fdafd04c208106d@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 21 Aug 2015 17:53:59 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d7ac07ab92_11fe3fdafd04c2081072b@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 38.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 21 Aug 2015 17:53:59 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d7ac07bf1f_11fe3fdafd04c208108a3@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 21 Aug 2015 17:53:59 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d7ac07d1f5_11fe3fdafd04c208109f9@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-21 17:54:00 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.1ms) Completed 200 OK in 100ms (Views: 74.6ms | ActiveRecord: 6.6ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-21 17:54:00 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-21 17:54:00 -0500 Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-21 17:54:00 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-04", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-04"], ["created_at", "2015-08-21 22:54:00.992890"], ["updated_at", "2015-08-21 22:54:00.992890"]]  (5.7ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-21 22:54:01.002961"], ["updated_at", "2015-08-21 22:54:01.002961"]]  (5.0ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 24ms (Views: 0.5ms | ActiveRecord: 12.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-21 17:54:01 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 19ms (Views: 1.8ms | ActiveRecord: 2.5ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-21 17:54:01 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"08/21/2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "due_on" = $1, "deleted_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["deleted_at", "2015-08-21 22:54:01.291637"], ["updated_at", "2015-08-21 22:54:01.294157"], ["id", 614371357]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-21 17:54:01 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 16ms (Views: 2.4ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-21 17:54:01 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"08/21/2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "due_on" = $1, "completed_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["completed_at", "2015-08-21 22:54:01.457195"], ["updated_at", "2015-08-21 22:54:01.460215"], ["id", 809335042]]  (1.3ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-21 22:54:01.465578"], ["updated_at", "2015-08-21 22:54:01.465578"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 4.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-21 17:54:01 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-21 17:54:01 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 16ms (Views: 1.8ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-21 17:54:01 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-18", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-18"], ["updated_at", "2015-08-21 22:54:01.812499"], ["id", 53334230]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 2.6ms)  (0.1ms) ROLLBACK  (1.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-21', '2015-08-21 22:54:01', '2015-08-21 22:54:01', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-21 22:54:01.000000', '2015-08-21', '2015-08-21 22:54:01', '2015-08-21 22:54:01', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-21', '2015-08-21 22:54:01', '2015-08-21 22:54:01', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-21 22:54:01', '2015-08-21 22:54:01', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-21 22:54:01.000000', '2015-08-21', '2015-08-21 22:54:01', '2015-08-21 22:54:01', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-20', '2015-08-21 22:54:01', '2015-08-21 22:54:01', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-19', '2015-08-21 22:54:01', '2015-08-21 22:54:01', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-21 22:54:01.000000', '2015-08-21', '2015-08-21 22:54:01', '2015-08-21 22:54:01', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-21', '2015-08-21 22:54:01', '2015-08-21 22:54:01', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-21 22:54:01.000000', '2015-08-21', '2015-08-21 22:54:01', '2015-08-21 22:54:01', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-21', '2015-08-21 22:54:01', '2015-08-21 22:54:01', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-21 22:54:01.000000', '2015-08-21', '2015-08-21 22:54:01', '2015-08-21 22:54:01', 16804933, 816972181)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-21 22:54:01.906245"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-21 22:54:01.910175"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-14 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-21 23:59:59.999999') Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-21 00:00:00.000000"], ["updated_at", "2015-08-21 22:54:01.920009"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-21 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (7.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-21 22:54:01', '2015-08-21 22:54:01', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-21 22:54:01', '2015-08-21 22:54:01', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 22:54:01.000000', '2015-08-21 22:54:01', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-21 22:54:01.000000', '2015-08-21 22:54:01', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-20 22:54:01.000000', '2015-08-21 22:54:01', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-21 22:54:01.000000', '2015-08-21 22:54:01', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-21 22:54:01', '2015-08-21 22:54:01', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-21 22:54:01', '2015-08-21 22:54:01', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-21 22:54:01', '2015-08-21 22:54:01', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-21 22:54:01', '2015-08-21 22:54:01', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-21 22:54:01', '2015-08-21 22:54:01', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-21 22:54:01', '2015-08-21 22:54:01', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-21 22:54:01', '2015-08-21 22:54:01', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-21 22:54:01', '2015-08-21 22:54:01', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-21 22:54:01', '2015-08-21 22:54:01', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-21 22:54:01', '2015-08-21 22:54:01', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-21 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-21 00:00:00.000000"], ["updated_at", "2015-08-21 22:54:02.081110"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-21 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-21 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000') Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-21 22:54:02.089422"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-21 22:54:02.095303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-14 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-21 22:54:02.110618"], ["updated_at", "2015-08-21 22:54:02.110618"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-22"], ["created_at", "2015-08-21 22:54:02.115288"], ["updated_at", "2015-08-21 22:54:02.115288"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-21"], ["completed_at", "2015-08-19 00:00:00.000000"], ["created_at", "2015-08-21 22:54:02.121813"], ["updated_at", "2015-08-21 22:54:02.121813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-21 22:54:02.124971') AND ("social_networking_goals"."due_on" >= '2015-08-20 22:54:02.125006') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-21 22:54:02.127897') AND ("social_networking_goals"."due_on" >= '2015-08-20 22:54:02.127916')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-21 22:54:02.129722') AND ("social_networking_goals"."due_on" >= '2015-08-20 22:54:02.129738')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.6ms) Date: Fri, 21 Aug 2015 17:54:02 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d7ac0a3b77e_11fe3fdafd04c20811036@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 46.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.7ms) Date: Fri, 21 Aug 2015 17:54:02 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d7ac0a3d08a_11fe3fdafd04c2081112e@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 5.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Fri, 21 Aug 2015 17:54:02 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55d7ac0a3e418_11fe3fdafd04c208112b3@vpn-165-124-160-195.vpn.northwestern.edu.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-21 22:54:02.261724"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-14 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-20 00:00:00.000000"], ["updated_at", "2015-08-21 22:54:02.267403"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-13 00:00:00.000000"], ["updated_at", "2015-08-21 22:54:02.270101"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-21 23:59:59.999999' AND created_at >= '2015-08-21 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-21 00:00:00.000000"], ["updated_at", "2015-08-21 22:54:02.277044"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-21 23:59:59.999999' AND created_at >= '2015-08-21 00:00:00.000000')  (0.3ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (10.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (7.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-24', '2015-08-25 04:30:09', '2015-08-25 04:30:09', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-25 04:30:09.000000', '2015-08-24', '2015-08-25 04:30:09', '2015-08-25 04:30:09', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-24', '2015-08-25 04:30:09', '2015-08-25 04:30:09', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-25 04:30:09', '2015-08-25 04:30:09', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-25 04:30:09.000000', '2015-08-24', '2015-08-25 04:30:09', '2015-08-25 04:30:09', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-24', '2015-08-25 04:30:09', '2015-08-25 04:30:09', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-22', '2015-08-25 04:30:09', '2015-08-25 04:30:09', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-25 04:30:09.000000', '2015-08-24', '2015-08-25 04:30:09', '2015-08-25 04:30:09', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-24', '2015-08-25 04:30:09', '2015-08-25 04:30:09', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-25 04:30:09.000000', '2015-08-24', '2015-08-25 04:30:09', '2015-08-25 04:30:09', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-24', '2015-08-25 04:30:09', '2015-08-25 04:30:09', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-25 04:30:09.000000', '2015-08-24', '2015-08-25 04:30:09', '2015-08-25 04:30:09', 16804933, 816972181)  (6.2ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.8ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.7ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-25 04:30:09.621255"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-18 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-24 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-24 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.7ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 04:30:09.639555"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-24 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-24 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (8.9ms) Date: Mon, 24 Aug 2015 23:30:09 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dbef51e17cd_10bc23fc70dc6020044852@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 223.0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Mon, 24 Aug 2015 23:30:09 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dbef51e328e_10bc23fc70dc602004497f@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Mon, 24 Aug 2015 23:30:09 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dbef51e4380_10bc23fc70dc6020045049@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.2ms  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (12.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-25 04:30:10', '2015-08-25 04:30:10', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-25 04:30:10', '2015-08-25 04:30:10', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 04:30:10.000000', '2015-08-25 04:30:10', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 04:30:10.000000', '2015-08-25 04:30:10', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 04:30:10.000000', '2015-08-25 04:30:10', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 04:30:10.000000', '2015-08-25 04:30:10', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-25 04:30:10', '2015-08-25 04:30:10', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-25 04:30:10', '2015-08-25 04:30:10', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-25 04:30:10', '2015-08-25 04:30:10', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-25 04:30:10', '2015-08-25 04:30:10', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-25 04:30:10', '2015-08-25 04:30:10', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-25 04:30:10', '2015-08-25 04:30:10', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-25 04:30:10', '2015-08-25 04:30:10', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-25 04:30:10', '2015-08-25 04:30:10', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-25 04:30:10', '2015-08-25 04:30:10', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-25 04:30:10', '2015-08-25 04:30:10', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 04:30:10.058455"], ["updated_at", "2015-08-25 04:30:10.058455"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 04:30:10.066083"], ["updated_at", "2015-08-25 04:30:10.066083"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 04:30:10.072392"], ["updated_at", "2015-08-25 04:30:10.072392"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 04:30:10.074414"], ["updated_at", "2015-08-25 04:30:10.074414"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 04:30:10.079384"], ["updated_at", "2015-08-25 04:30:10.079384"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 04:30:10.081592"], ["updated_at", "2015-08-25 04:30:10.081592"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 04:30:10.098514"], ["updated_at", "2015-08-25 04:30:10.098514"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 04:30:10.100820"], ["updated_at", "2015-08-25 04:30:10.100820"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-25 04:30:10.110354"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-16 00:00:00.000000"], ["updated_at", "2015-08-25 04:30:10.113641"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-24 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-24 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 04:30:10.126584"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-24 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-24 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-25"], ["created_at", "2015-08-25 04:30:10.131558"], ["updated_at", "2015-08-25 04:30:10.131558"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-24"], ["completed_at", "2015-08-22 00:00:00.000000"], ["created_at", "2015-08-25 04:30:10.136319"], ["updated_at", "2015-08-25 04:30:10.136319"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-25 04:30:10.142570"], ["updated_at", "2015-08-25 04:30:10.142570"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 04:30:10.145572') AND ("social_networking_goals"."due_on" >= '2015-08-24 04:30:10.145604') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 04:30:10.149120') AND ("social_networking_goals"."due_on" >= '2015-08-24 04:30:10.149141')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 04:30:10.151036') AND ("social_networking_goals"."due_on" >= '2015-08-24 04:30:10.151069')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-24 23:30:12 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.6ms) Completed 200 OK in 104ms (Views: 75.8ms | ActiveRecord: 6.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-24 23:30:12 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-24 23:30:12 -0500 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-24 23:30:12 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"08/24/2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "due_on" = $1, "deleted_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["deleted_at", "2015-08-25 04:30:12.576089"], ["updated_at", "2015-08-25 04:30:12.578952"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.2ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-24 23:30:12 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.0ms) Completed 200 OK in 14ms (Views: 1.6ms | ActiveRecord: 1.9ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-24 23:30:12 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-07", "goal"=>{"description"=>"all of the things"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-07"], ["created_at", "2015-08-25 04:30:12.817998"], ["updated_at", "2015-08-25 04:30:12.817998"]]  (1.7ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-25 04:30:12.824463"], ["updated_at", "2015-08-25 04:30:12.824463"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 4.3ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-24 23:30:12 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.6ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-24 23:30:15 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 20ms (Views: 1.9ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-24 23:30:15 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"08/24/2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "due_on" = $1, "completed_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["completed_at", "2015-08-25 04:30:15.234383"], ["updated_at", "2015-08-25 04:30:15.237020"], ["id", 809335042]]  (1.4ms) COMMIT  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-25 04:30:15.242035"], ["updated_at", "2015-08-25 04:30:15.242035"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 3.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-24 23:30:15 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 18ms (Views: 1.8ms | ActiveRecord: 2.4ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-24 23:30:15 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-21", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-21"], ["updated_at", "2015-08-25 04:30:15.587563"], ["id", 53334230]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 2.6ms)  (0.3ms) ROLLBACK  (2.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-25 04:30:15', '2015-08-25 04:30:15', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-24', '2015-08-25 04:30:15', '2015-08-25 04:30:15', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-25 04:30:15.000000', '2015-08-24', '2015-08-25 04:30:15', '2015-08-25 04:30:15', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-24', '2015-08-25 04:30:15', '2015-08-25 04:30:15', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-25 04:30:15', '2015-08-25 04:30:15', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-25 04:30:15.000000', '2015-08-24', '2015-08-25 04:30:15', '2015-08-25 04:30:15', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-24', '2015-08-25 04:30:15', '2015-08-25 04:30:15', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-22', '2015-08-25 04:30:15', '2015-08-25 04:30:15', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-25 04:30:15.000000', '2015-08-24', '2015-08-25 04:30:15', '2015-08-25 04:30:15', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-24', '2015-08-25 04:30:15', '2015-08-25 04:30:15', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-25 04:30:15.000000', '2015-08-24', '2015-08-25 04:30:15', '2015-08-25 04:30:15', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-24', '2015-08-25 04:30:15', '2015-08-25 04:30:15', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-25 04:30:15.000000', '2015-08-24', '2015-08-25 04:30:15', '2015-08-25 04:30:15', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-25 04:30:15', '2015-08-25 04:30:15', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 04:30:15.000000', '2015-08-25 04:30:15', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 04:30:15.000000', '2015-08-25 04:30:15', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 04:30:15.000000', '2015-08-25 04:30:15', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 04:30:15.000000', '2015-08-25 04:30:15', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-25 04:30:15', '2015-08-25 04:30:15', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-25 04:30:15', '2015-08-25 04:30:15', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-25 04:30:15', '2015-08-25 04:30:15', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-25 04:30:15', '2015-08-25 04:30:15', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-25 04:30:15', '2015-08-25 04:30:15', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-25 04:30:15', '2015-08-25 04:30:15', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-25 04:30:15', '2015-08-25 04:30:15', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-25 04:30:15', '2015-08-25 04:30:15', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-25 04:30:15', '2015-08-25 04:30:15', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-25 04:30:15', '2015-08-25 04:30:15', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-24 23:59:59.999999' AND created_at >= '2015-08-24 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 04:30:15.773241"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-24 23:59:59.999999' AND created_at >= '2015-08-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-25 04:30:15.780388"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-16 00:00:00.000000"], ["updated_at", "2015-08-25 04:30:15.783823"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-25 04:30:15.788826"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.9ms) Sent mail to obama@ex.co (2.8ms) Date: Mon, 24 Aug 2015 23:30:15 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dbef57e428e_10bc23fc70dc6020045193@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 41.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.0ms) Date: Mon, 24 Aug 2015 23:30:15 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dbef57e559e_10bc23fc70dc602004528c@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Mon, 24 Aug 2015 23:30:15 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dbef57e66c2_10bc23fc70dc60200453b@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (2.7ms) Date: Mon, 24 Aug 2015 23:30:16 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dbef58b319_10bc23fc70dc60200454f@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 39.0ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.2ms) Date: Mon, 24 Aug 2015 23:30:16 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dbef58c718_10bc23fc70dc6020045515@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.3ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Mon, 24 Aug 2015 23:30:16 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dbef58daa0_10bc23fc70dc602004568b@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 2.9ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.6ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-25 04:30:16.275218"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-16 00:00:00.000000"], ["updated_at", "2015-08-25 04:30:16.279779"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-24 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-24 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 04:30:16.287212"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-24 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-24 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-25 04:30:16.300569"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-16 00:00:00.000000"], ["updated_at", "2015-08-25 04:30:16.305151"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-24 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-24 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 04:30:16.312039"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-24 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-24 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-25 04:30:16.333652"], ["updated_at", "2015-08-25 04:30:16.333652"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-25 04:30:16.338117"], ["updated_at", "2015-08-25 04:30:16.338117"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-25 04:30:16.340641"], ["updated_at", "2015-08-25 04:30:16.340641"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-25 04:30:16.348007"], ["updated_at", "2015-08-25 04:30:16.348007"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-25 04:30:16.350525"], ["updated_at", "2015-08-25 04:30:16.350525"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (4.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-25 04:31:55', '2015-08-25 04:31:55', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-24', '2015-08-25 04:31:55', '2015-08-25 04:31:55', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-25 04:31:55.000000', '2015-08-24', '2015-08-25 04:31:55', '2015-08-25 04:31:55', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-24', '2015-08-25 04:31:55', '2015-08-25 04:31:55', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-25 04:31:55', '2015-08-25 04:31:55', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-25 04:31:55.000000', '2015-08-24', '2015-08-25 04:31:55', '2015-08-25 04:31:55', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-24', '2015-08-25 04:31:55', '2015-08-25 04:31:55', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-22', '2015-08-25 04:31:55', '2015-08-25 04:31:55', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-25 04:31:55.000000', '2015-08-24', '2015-08-25 04:31:55', '2015-08-25 04:31:55', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-24', '2015-08-25 04:31:55', '2015-08-25 04:31:55', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-25 04:31:55.000000', '2015-08-24', '2015-08-25 04:31:55', '2015-08-25 04:31:55', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-24', '2015-08-25 04:31:55', '2015-08-25 04:31:55', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-25 04:31:55.000000', '2015-08-24', '2015-08-25 04:31:55', '2015-08-25 04:31:55', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-25 04:31:55', '2015-08-25 04:31:55', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 04:31:55.000000', '2015-08-25 04:31:55', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 04:31:55.000000', '2015-08-25 04:31:55', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 04:31:55.000000', '2015-08-25 04:31:55', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 04:31:55.000000', '2015-08-25 04:31:55', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-25 04:31:55', '2015-08-25 04:31:55', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-25 04:31:55', '2015-08-25 04:31:55', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-25 04:31:55', '2015-08-25 04:31:55', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-25 04:31:55', '2015-08-25 04:31:55', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-25 04:31:55', '2015-08-25 04:31:55', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-25 04:31:55', '2015-08-25 04:31:55', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-25 04:31:55', '2015-08-25 04:31:55', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-25 04:31:55', '2015-08-25 04:31:55', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-25 04:31:55', '2015-08-25 04:31:55', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-25 04:31:55', '2015-08-25 04:31:55', 809335042, 'SocialNetworking::Goal', 809335042)  (1.8ms) COMMIT  (1.8ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-24 23:31:57 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.5ms) Completed 200 OK in 126ms (Views: 58.0ms | ActiveRecord: 5.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-24 23:31:57 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-24 23:31:57 -0500  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-24 23:31:57 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 16ms (Views: 2.1ms | ActiveRecord: 2.1ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-24 23:31:57 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-07", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (1.0ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-07"], ["created_at", "2015-08-25 04:31:57.940322"], ["updated_at", "2015-08-25 04:31:57.940322"]]  (1.8ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-25 04:31:57.958051"], ["updated_at", "2015-08-25 04:31:57.958051"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 47ms (Views: 0.2ms | ActiveRecord: 4.8ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-24 23:31:58 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-24 23:31:58 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"08/24/2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "due_on" = $1, "completed_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["completed_at", "2015-08-25 04:31:58.145598"], ["updated_at", "2015-08-25 04:31:58.148715"], ["id", 809335042]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-25 04:31:58.154967"], ["updated_at", "2015-08-25 04:31:58.154967"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 4.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-24 23:31:58 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-24 23:31:58 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"08/24/2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "due_on" = $1, "deleted_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["deleted_at", "2015-08-25 04:31:58.301683"], ["updated_at", "2015-08-25 04:31:58.304286"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-24 23:31:58 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-24 23:31:58 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-21", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (1.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-21"], ["updated_at", "2015-08-25 04:31:58.564815"], ["id", 53334230]]  (1.6ms) COMMIT SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.5ms | ActiveRecord: 4.4ms)  (0.2ms) ROLLBACK  (2.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.6ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-25 04:32:06', '2015-08-25 04:32:06', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-24', '2015-08-25 04:32:06', '2015-08-25 04:32:06', 809335042, 700141617) Fixture Insert (0.5ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-25 04:32:06.000000', '2015-08-24', '2015-08-25 04:32:06', '2015-08-25 04:32:06', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-24', '2015-08-25 04:32:06', '2015-08-25 04:32:06', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-25 04:32:06', '2015-08-25 04:32:06', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-25 04:32:06.000000', '2015-08-24', '2015-08-25 04:32:06', '2015-08-25 04:32:06', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-24', '2015-08-25 04:32:06', '2015-08-25 04:32:06', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-22', '2015-08-25 04:32:06', '2015-08-25 04:32:06', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-25 04:32:06.000000', '2015-08-24', '2015-08-25 04:32:06', '2015-08-25 04:32:06', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-24', '2015-08-25 04:32:06', '2015-08-25 04:32:06', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-25 04:32:06.000000', '2015-08-24', '2015-08-25 04:32:06', '2015-08-25 04:32:06', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-24', '2015-08-25 04:32:06', '2015-08-25 04:32:06', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-25 04:32:06.000000', '2015-08-24', '2015-08-25 04:32:06', '2015-08-25 04:32:06', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-25 04:32:06', '2015-08-25 04:32:06', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 04:32:06.000000', '2015-08-25 04:32:06', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 04:32:06.000000', '2015-08-25 04:32:06', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 04:32:06.000000', '2015-08-25 04:32:06', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 04:32:06.000000', '2015-08-25 04:32:06', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-25 04:32:06', '2015-08-25 04:32:06', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-25 04:32:06', '2015-08-25 04:32:06', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-25 04:32:06', '2015-08-25 04:32:06', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-25 04:32:06', '2015-08-25 04:32:06', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-25 04:32:06', '2015-08-25 04:32:06', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-25 04:32:06', '2015-08-25 04:32:06', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-25 04:32:06', '2015-08-25 04:32:06', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-25 04:32:06', '2015-08-25 04:32:06', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-25 04:32:06', '2015-08-25 04:32:06', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-25 04:32:06', '2015-08-25 04:32:06', 809335042, 'SocialNetworking::Goal', 809335042)  (1.7ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-24 23:32:07 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.8ms) Completed 200 OK in 129ms (Views: 63.5ms | ActiveRecord: 5.5ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-24 23:32:07 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-24 23:32:07 -0500 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-24 23:32:07 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"08/24/2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.7ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "due_on" = $1, "completed_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["completed_at", "2015-08-25 04:32:07.930988"], ["updated_at", "2015-08-25 04:32:07.937026"], ["id", 809335042]]  (1.4ms) COMMIT  (0.2ms) BEGIN SQL (0.8ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-25 04:32:07.950664"], ["updated_at", "2015-08-25 04:32:07.950664"]]  (0.7ms) COMMIT SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 30ms (Views: 0.3ms | ActiveRecord: 8.6ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-24 23:32:07 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.7ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 40ms (Views: 1.9ms | ActiveRecord: 2.8ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-24 23:32:08 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-21", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-21"], ["updated_at", "2015-08-25 04:32:08.277674"], ["id", 53334230]]  (1.6ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-24 23:32:08 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 1.8ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-24 23:32:08 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-07", "goal"=>{"description"=>"all of the things"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-07"], ["created_at", "2015-08-25 04:32:08.536662"], ["updated_at", "2015-08-25 04:32:08.536662"]]  (1.8ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-25 04:32:08.542859"], ["updated_at", "2015-08-25 04:32:08.542859"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.5ms | ActiveRecord: 4.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-24 23:32:08 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-24 23:32:08 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"08/24/2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "due_on" = $1, "deleted_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["deleted_at", "2015-08-25 04:32:08.735696"], ["updated_at", "2015-08-25 04:32:08.740268"], ["id", 614371357]]  (1.6ms) COMMIT SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.4ms | ActiveRecord: 3.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-24 23:32:08 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (1.0ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 18ms (Views: 1.9ms | ActiveRecord: 2.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (1.6ms) Sent mail to obama@ex.co (6.4ms) Date: Mon, 24 Aug 2015 23:33:00 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dbeffc9fac8_10cad3ff86206020894094@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 226.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Mon, 24 Aug 2015 23:33:00 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dbeffca15c7_10cad3ff8620602089419@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Mon, 24 Aug 2015 23:33:00 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dbeffca2b38_10cad3ff8620602089424e@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 25ms (Views: 7.1ms | ActiveRecord: 6.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (3.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.5ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-25 04:33:00', '2015-08-25 04:33:00', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.3ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (1.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-25 04:33:00', '2015-08-25 04:33:00', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-24', '2015-08-25 04:33:00', '2015-08-25 04:33:00', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-25 04:33:00.000000', '2015-08-24', '2015-08-25 04:33:00', '2015-08-25 04:33:00', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-24', '2015-08-25 04:33:00', '2015-08-25 04:33:00', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-25 04:33:00', '2015-08-25 04:33:00', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-25 04:33:00.000000', '2015-08-24', '2015-08-25 04:33:00', '2015-08-25 04:33:00', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-24', '2015-08-25 04:33:00', '2015-08-25 04:33:00', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-22', '2015-08-25 04:33:00', '2015-08-25 04:33:00', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-25 04:33:00.000000', '2015-08-24', '2015-08-25 04:33:00', '2015-08-25 04:33:00', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-24', '2015-08-25 04:33:00', '2015-08-25 04:33:00', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-25 04:33:00.000000', '2015-08-24', '2015-08-25 04:33:00', '2015-08-25 04:33:00', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-24', '2015-08-25 04:33:00', '2015-08-25 04:33:00', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-25 04:33:00.000000', '2015-08-24', '2015-08-25 04:33:00', '2015-08-25 04:33:00', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 04:33:00.000000', '2015-08-25 04:33:00', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 04:33:00.000000', '2015-08-25 04:33:00', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 04:33:00.000000', '2015-08-25 04:33:00', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 04:33:00.000000', '2015-08-25 04:33:00', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-25 04:33:00', '2015-08-25 04:33:00', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-25 04:33:00', '2015-08-25 04:33:00', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-25 04:33:00', '2015-08-25 04:33:00', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-25 04:33:00', '2015-08-25 04:33:00', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-25 04:33:00', '2015-08-25 04:33:00', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-25 04:33:00', '2015-08-25 04:33:00', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-25 04:33:00', '2015-08-25 04:33:00', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-25 04:33:00', '2015-08-25 04:33:00', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-25 04:33:00', '2015-08-25 04:33:00', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-25 04:33:00', '2015-08-25 04:33:00', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (2.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:00.968256"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-16 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:00.971778"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-24 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-24 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:00.982513"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-24 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-24 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 04:33:00.989701') AND ("social_networking_goals"."due_on" >= '2015-08-24 04:33:00.989733')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 04:33:00.994981') AND ("social_networking_goals"."due_on" >= '2015-08-24 04:33:00.995011') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 04:33:00.998279') AND ("social_networking_goals"."due_on" >= '2015-08-24 04:33:00.998312')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-25"], ["created_at", "2015-08-25 04:33:01.002104"], ["updated_at", "2015-08-25 04:33:01.002104"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-24"], ["completed_at", "2015-08-22 00:00:00.000000"], ["created_at", "2015-08-25 04:33:01.006661"], ["updated_at", "2015-08-25 04:33:01.006661"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-25 04:33:01.011044"], ["updated_at", "2015-08-25 04:33:01.011044"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-24 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-24 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:01.187070"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-24 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-24 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:01.195701"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:01.229620"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-24 23:59:59.999999' AND created_at >= '2015-08-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:01.235295"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-24 23:59:59.999999' AND created_at >= '2015-08-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:01.241281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-16 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:01.244194"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-25 04:33:01.289095"], ["updated_at", "2015-08-25 04:33:01.289095"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-25 04:33:01.292000"], ["updated_at", "2015-08-25 04:33:01.292000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-24 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-24 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:01.395573"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-24 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-24 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:01.404020"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-16 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:01.407689"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-24 23:33:03 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.3ms) Completed 200 OK in 99ms (Views: 47.4ms | ActiveRecord: 6.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-24 23:33:03 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-24 23:33:03 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-24 23:33:03 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-21", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-21"], ["updated_at", "2015-08-25 04:33:03.859861"], ["id", 53334230]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.4ms | ActiveRecord: 3.9ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-24 23:33:03 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 14ms (Views: 1.9ms | ActiveRecord: 1.9ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-24 23:33:04 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-07", "goal"=>{"description"=>"all of the things"}} Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-07"], ["created_at", "2015-08-25 04:33:04.118951"], ["updated_at", "2015-08-25 04:33:04.118951"]]  (1.8ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-25 04:33:04.125942"], ["updated_at", "2015-08-25 04:33:04.125942"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 4.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-24 23:33:04 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.0ms) Completed 200 OK in 18ms (Views: 4.0ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-24 23:33:04 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"08/24/2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "due_on" = $1, "deleted_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["deleted_at", "2015-08-25 04:33:04.313406"], ["updated_at", "2015-08-25 04:33:04.316341"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.1ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-24 23:33:04 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 17ms (Views: 1.9ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-24 23:33:04 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"08/24/2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "due_on" = $1, "completed_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["completed_at", "2015-08-25 04:33:04.503210"], ["updated_at", "2015-08-25 04:33:04.506553"], ["id", 809335042]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-25 04:33:04.511713"], ["updated_at", "2015-08-25 04:33:04.511713"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 4.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-24 23:33:04 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (2.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-25 04:33:04', '2015-08-25 04:33:04', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.3ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-25 04:33:04.805154"], ["updated_at", "2015-08-25 04:33:04.805154"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-24', '2015-08-25 04:33:04', '2015-08-25 04:33:04', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-25 04:33:04.000000', '2015-08-24', '2015-08-25 04:33:04', '2015-08-25 04:33:04', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-24', '2015-08-25 04:33:04', '2015-08-25 04:33:04', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-25 04:33:04', '2015-08-25 04:33:04', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-25 04:33:04.000000', '2015-08-24', '2015-08-25 04:33:04', '2015-08-25 04:33:04', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-24', '2015-08-25 04:33:04', '2015-08-25 04:33:04', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-22', '2015-08-25 04:33:04', '2015-08-25 04:33:04', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-25 04:33:04.000000', '2015-08-24', '2015-08-25 04:33:04', '2015-08-25 04:33:04', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-24', '2015-08-25 04:33:04', '2015-08-25 04:33:04', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-25 04:33:04.000000', '2015-08-24', '2015-08-25 04:33:04', '2015-08-25 04:33:04', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-24', '2015-08-25 04:33:04', '2015-08-25 04:33:04', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-25 04:33:04.000000', '2015-08-24', '2015-08-25 04:33:04', '2015-08-25 04:33:04', 16804933, 816972181)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-25 04:33:04.829374"], ["updated_at", "2015-08-25 04:33:04.829374"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-25 04:33:04.832714"], ["updated_at", "2015-08-25 04:33:04.832714"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (2.5ms) Date: Mon, 24 Aug 2015 23:33:04 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dbf000d6542_10cad3ff862060208943d1@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 38.3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.5ms) Date: Mon, 24 Aug 2015 23:33:04 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dbf000d7f37_10cad3ff8620602089446f@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 4.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.9ms) Date: Mon, 24 Aug 2015 23:33:04 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dbf000d9509_10cad3ff862060208945ef@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 4.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-24 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-24 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:04.899064"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-24 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-24 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:04.908927"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-16 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:04.912569"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 04:33:04.920347"], ["updated_at", "2015-08-25 04:33:04.920347"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 04:33:04.923591"], ["updated_at", "2015-08-25 04:33:04.923591"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (1.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-25 04:33:04', '2015-08-25 04:33:04', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 04:33:04.000000', '2015-08-25 04:33:04', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 04:33:04.000000', '2015-08-25 04:33:04', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 04:33:04.000000', '2015-08-25 04:33:04', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 04:33:04.000000', '2015-08-25 04:33:04', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-25 04:33:04', '2015-08-25 04:33:04', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-25 04:33:04', '2015-08-25 04:33:04', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-25 04:33:04', '2015-08-25 04:33:04', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-25 04:33:04', '2015-08-25 04:33:04', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-25 04:33:04', '2015-08-25 04:33:04', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-25 04:33:04', '2015-08-25 04:33:04', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-25 04:33:04', '2015-08-25 04:33:04', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-25 04:33:04', '2015-08-25 04:33:04', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-25 04:33:04', '2015-08-25 04:33:04', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-25 04:33:04', '2015-08-25 04:33:04', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 04:33:04.967599"], ["updated_at", "2015-08-25 04:33:04.967599"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 04:33:04.970385"], ["updated_at", "2015-08-25 04:33:04.970385"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235641]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 04:33:04.983082"], ["updated_at", "2015-08-25 04:33:04.983082"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 04:33:04.985349"], ["updated_at", "2015-08-25 04:33:04.985349"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 04:33:04.991568"], ["updated_at", "2015-08-25 04:33:04.991568"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 04:33:04.994409"], ["updated_at", "2015-08-25 04:33:04.994409"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.8ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.7ms) Date: Mon, 24 Aug 2015 23:33:05 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dbf0011e413_10cad3ff8620602089462@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 41.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.4ms) Date: Mon, 24 Aug 2015 23:33:05 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dbf0011fe4c_10cad3ff8620602089476a@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 4.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.6ms) Date: Mon, 24 Aug 2015 23:33:05 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dbf001212a7_10cad3ff8620602089481@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.1ms) BEGIN  (15.3ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (0.6ms) COMMIT Migrating to AddParticipantFields (2)  (6.2ms) BEGIN  (0.8ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.7ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (5.8ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (18.9ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (5.0ms) COMMIT Migrating to AddNullFalseToArms (5)  (5.8ms) BEGIN  (0.3ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.2ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (11.4ms) COMMIT Migrating to AddHasWozToArm (6)  (0.2ms) BEGIN  (16.4ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (6.8ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (5.9ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.1ms) BEGIN  (7.5ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.5ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (0.7ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (11.2ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (6.1ms) BEGIN  (19.2ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.9ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (5.4ms) BEGIN  (19.5ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (2.4ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (6.1ms) BEGIN  (16.7ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (1.2ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (5.4ms) BEGIN  (19.1ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (5.6ms) BEGIN  (18.5ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (5.9ms) BEGIN  (13.6ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (4.8ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (6.0ms) BEGIN  (19.2ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (0.7ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (6.2ms) BEGIN  (19.2ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.5ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (0.4ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (5.9ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (1.0ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (11.2ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (10.6ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.1ms) BEGIN  (6.1ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (5.9ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (19.7ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (5.6ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.2ms) BEGIN  (3.0ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (289.5ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.3ms) BEGIN  (0.7ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (6.3ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.2ms) BEGIN  (7.4ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (5.9ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.3ms) BEGIN  (13.5ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (5.3ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (5.9ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2015-08-25 04:33:20.941386"], ["updated_at", "2015-08-25 04:33:20.941386"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2015-08-25 04:33:20.943997"], ["updated_at", "2015-08-25 04:33:20.943997"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2015-08-25 04:33:20.945545"], ["updated_at", "2015-08-25 04:33:20.945545"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2015-08-25 04:33:20.946729"], ["updated_at", "2015-08-25 04:33:20.946729"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2015-08-25 04:33:20.947855"], ["updated_at", "2015-08-25 04:33:20.947855"]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (6.3ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (6.0ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (12.4ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.1ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (5.8ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (11.7ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (6.4ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (6.2ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.3ms) BEGIN  (9.9ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (5.2ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (5.6ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (0.3ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (11.7ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (5.8ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (6.2ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.2ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (11.1ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (5.9ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.1ms) BEGIN  (6.9ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (11.6ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.1ms) BEGIN  (6.9ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (6.2ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.1ms) BEGIN  (12.6ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (6.5ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (4.4ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.1ms) BEGIN  (12.4ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (7.2ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (1.6ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.5ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.1ms) BEGIN  (7.1ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (5.9ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (3.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (2.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:31.381445"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-16 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:31.386465"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-24 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-24 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:31.413568"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-24 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-24 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-25"], ["created_at", "2015-08-25 04:33:31.419048"], ["updated_at", "2015-08-25 04:33:31.419048"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-24"], ["completed_at", "2015-08-22 00:00:00.000000"], ["created_at", "2015-08-25 04:33:31.429149"], ["updated_at", "2015-08-25 04:33:31.429149"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-25 04:33:31.435365"], ["updated_at", "2015-08-25 04:33:31.435365"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-25 04:33:31', '2015-08-25 04:33:31', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-24', '2015-08-25 04:33:31', '2015-08-25 04:33:31', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-25 04:33:31.000000', '2015-08-24', '2015-08-25 04:33:31', '2015-08-25 04:33:31', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-24', '2015-08-25 04:33:31', '2015-08-25 04:33:31', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-25 04:33:31', '2015-08-25 04:33:31', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-25 04:33:31.000000', '2015-08-24', '2015-08-25 04:33:31', '2015-08-25 04:33:31', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-24', '2015-08-25 04:33:31', '2015-08-25 04:33:31', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-22', '2015-08-25 04:33:31', '2015-08-25 04:33:31', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-25 04:33:31.000000', '2015-08-24', '2015-08-25 04:33:31', '2015-08-25 04:33:31', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-24', '2015-08-25 04:33:31', '2015-08-25 04:33:31', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-25 04:33:31.000000', '2015-08-24', '2015-08-25 04:33:31', '2015-08-25 04:33:31', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-24', '2015-08-25 04:33:31', '2015-08-25 04:33:31', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-25 04:33:31.000000', '2015-08-24', '2015-08-25 04:33:31', '2015-08-25 04:33:31', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-25 04:33:31', '2015-08-25 04:33:31', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 04:33:31.000000', '2015-08-25 04:33:31', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 04:33:31.000000', '2015-08-25 04:33:31', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 04:33:31.000000', '2015-08-25 04:33:31', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 04:33:31.000000', '2015-08-25 04:33:31', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-25 04:33:31', '2015-08-25 04:33:31', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-25 04:33:31', '2015-08-25 04:33:31', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-25 04:33:31', '2015-08-25 04:33:31', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-25 04:33:31', '2015-08-25 04:33:31', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-25 04:33:31', '2015-08-25 04:33:31', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-25 04:33:31', '2015-08-25 04:33:31', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-25 04:33:31', '2015-08-25 04:33:31', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-25 04:33:31', '2015-08-25 04:33:31', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-25 04:33:31', '2015-08-25 04:33:31', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-25 04:33:31', '2015-08-25 04:33:31', 809335042, 'SocialNetworking::Goal', 809335042)  (0.3ms) COMMIT  (1.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 04:33:31.509776') AND ("social_networking_goals"."due_on" >= '2015-08-24 04:33:31.509811') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 04:33:31.513997') AND ("social_networking_goals"."due_on" >= '2015-08-24 04:33:31.514016')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 04:33:31.516075') AND ("social_networking_goals"."due_on" >= '2015-08-24 04:33:31.516094')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:31.654975"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-16 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:31.659248"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-24 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-24 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:31.666481"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-24 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-24 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (1.4ms) Sent mail to obama@ex.co (6.3ms) Date: Mon, 24 Aug 2015 23:33:31 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dbf01bd3c08_10d193ff75e06020846c2@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 198.5ms  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.9ms) Date: Mon, 24 Aug 2015 23:33:31 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dbf01bd5f19_10d193ff75e0602084794@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 6.1ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.8ms) Date: Mon, 24 Aug 2015 23:33:31 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dbf01bd77a3_10d193ff75e060208481@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 4.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:32.006899"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-24 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-24 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:32.021309"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-24 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-24 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-25 04:33:32.078984"], ["updated_at", "2015-08-25 04:33:32.078984"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-25 04:33:32.082335"], ["updated_at", "2015-08-25 04:33:32.082335"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-24 23:33:32 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.4ms) Completed 200 OK in 82ms (Views: 49.7ms | ActiveRecord: 5.5ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-24 23:33:32 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-24 23:33:32 -0500 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-24 23:33:33 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"08/24/2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.9ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "due_on" = $1, "deleted_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["deleted_at", "2015-08-25 04:33:33.078282"], ["updated_at", "2015-08-25 04:33:33.082931"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.7ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 4.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-24 23:33:33 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 2.0ms | ActiveRecord: 1.9ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-24 23:33:33 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-07", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-07"], ["created_at", "2015-08-25 04:33:33.308640"], ["updated_at", "2015-08-25 04:33:33.308640"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-25 04:33:33.313662"], ["updated_at", "2015-08-25 04:33:33.313662"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 3.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-24 23:33:33 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 17ms (Views: 1.8ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-24 23:33:33 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"08/24/2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) UPDATE "social_networking_goals" SET "due_on" = $1, "completed_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["completed_at", "2015-08-25 04:33:33.621229"], ["updated_at", "2015-08-25 04:33:33.624130"], ["id", 809335042]]  (1.4ms) COMMIT  (0.3ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-25 04:33:33.629559"], ["updated_at", "2015-08-25 04:33:33.629559"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 5.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-24 23:33:33 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 1.9ms | ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-24 23:33:33 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.8ms) Completed 200 OK in 20ms (Views: 2.6ms | ActiveRecord: 2.3ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-24 23:33:34 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-21", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-21"], ["updated_at", "2015-08-25 04:33:34.106328"], ["id", 53334230]]  (1.6ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.4ms | ActiveRecord: 2.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:34.190572"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-16 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:34.193339"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-24 23:59:59.999999' AND created_at >= '2015-08-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:34.201019"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-24 23:59:59.999999' AND created_at >= '2015-08-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:34.209623"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (2.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-25 04:33:34', '2015-08-25 04:33:34', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.3ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:34.262417"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-16 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:34.268246"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-18 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-24 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-24 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 04:33:34.279183"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-24 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-24 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (1.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-25 04:33:34', '2015-08-25 04:33:34', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-24', '2015-08-25 04:33:34', '2015-08-25 04:33:34', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-25 04:33:34.000000', '2015-08-24', '2015-08-25 04:33:34', '2015-08-25 04:33:34', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-24', '2015-08-25 04:33:34', '2015-08-25 04:33:34', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-25 04:33:34', '2015-08-25 04:33:34', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-25 04:33:34.000000', '2015-08-24', '2015-08-25 04:33:34', '2015-08-25 04:33:34', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-24', '2015-08-25 04:33:34', '2015-08-25 04:33:34', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-22', '2015-08-25 04:33:34', '2015-08-25 04:33:34', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-25 04:33:34.000000', '2015-08-24', '2015-08-25 04:33:34', '2015-08-25 04:33:34', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-24', '2015-08-25 04:33:34', '2015-08-25 04:33:34', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-25 04:33:34.000000', '2015-08-24', '2015-08-25 04:33:34', '2015-08-25 04:33:34', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-24', '2015-08-25 04:33:34', '2015-08-25 04:33:34', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-25 04:33:34.000000', '2015-08-24', '2015-08-25 04:33:34', '2015-08-25 04:33:34', 16804933, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 04:33:34.000000', '2015-08-25 04:33:34', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 04:33:34.000000', '2015-08-25 04:33:34', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 04:33:34.000000', '2015-08-25 04:33:34', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 04:33:34.000000', '2015-08-25 04:33:34', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-25 04:33:34', '2015-08-25 04:33:34', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-25 04:33:34', '2015-08-25 04:33:34', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-25 04:33:34', '2015-08-25 04:33:34', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-25 04:33:34', '2015-08-25 04:33:34', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-25 04:33:34', '2015-08-25 04:33:34', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-25 04:33:34', '2015-08-25 04:33:34', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-25 04:33:34', '2015-08-25 04:33:34', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-25 04:33:34', '2015-08-25 04:33:34', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-25 04:33:34', '2015-08-25 04:33:34', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-25 04:33:34', '2015-08-25 04:33:34', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.5ms) Date: Mon, 24 Aug 2015 23:33:34 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dbf01e65a44_10d193ff75e0602084923@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 42.0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Mon, 24 Aug 2015 23:33:34 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dbf01e66dc8_10d193ff75e06020850d3@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Mon, 24 Aug 2015 23:33:34 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dbf01e67efe_10d193ff75e06020851b8@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-25 04:33:34.512952"], ["updated_at", "2015-08-25 04:33:34.512952"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-25 04:33:34.517833"], ["updated_at", "2015-08-25 04:33:34.517833"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-25 04:33:34.520538"], ["updated_at", "2015-08-25 04:33:34.520538"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 04:33:34.621273"], ["updated_at", "2015-08-25 04:33:34.621273"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 04:33:34.623892"], ["updated_at", "2015-08-25 04:33:34.623892"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 04:33:34.630681"], ["updated_at", "2015-08-25 04:33:34.630681"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 04:33:34.633203"], ["updated_at", "2015-08-25 04:33:34.633203"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 04:33:34.638569"], ["updated_at", "2015-08-25 04:33:34.638569"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 04:33:34.640691"], ["updated_at", "2015-08-25 04:33:34.640691"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 04:33:34.651732"], ["updated_at", "2015-08-25 04:33:34.651732"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 04:33:34.653863"], ["updated_at", "2015-08-25 04:33:34.653863"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.4ms) Date: Mon, 24 Aug 2015 23:33:34 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dbf01eadd04_10d193ff75e060208526a@JohnDeere.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 38.6ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.4ms) Date: Mon, 24 Aug 2015 23:33:34 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dbf01eaf7c9_10d193ff75e06020853c3@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 5.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Mon, 24 Aug 2015 23:33:34 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dbf01eb0ab6_10d193ff75e060208548b@JohnDeere.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.0ms  (0.1ms) ROLLBACK  (2.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.9ms) DELETE FROM "social_networking_goals" Fixture Insert (0.5ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-25', '2015-08-25 14:22:29', '2015-08-25 14:22:29', 809335042, 700141617) Fixture Insert (0.5ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-25 14:22:29.000000', '2015-08-25', '2015-08-25 14:22:29', '2015-08-25 14:22:29', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-25', '2015-08-25 14:22:29', '2015-08-25 14:22:29', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-25 14:22:29', '2015-08-25 14:22:29', 53334230, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-25 14:22:29.000000', '2015-08-25', '2015-08-25 14:22:29', '2015-08-25 14:22:29', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-24', '2015-08-25 14:22:29', '2015-08-25 14:22:29', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-23', '2015-08-25 14:22:29', '2015-08-25 14:22:29', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-25 14:22:29.000000', '2015-08-25', '2015-08-25 14:22:29', '2015-08-25 14:22:29', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-25', '2015-08-25 14:22:29', '2015-08-25 14:22:29', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-25 14:22:29.000000', '2015-08-25', '2015-08-25 14:22:29', '2015-08-25 14:22:29', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-25', '2015-08-25 14:22:29', '2015-08-25 14:22:29', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-25 14:22:29.000000', '2015-08-25', '2015-08-25 14:22:29', '2015-08-25 14:22:29', 16804933, 816972181)  (0.3ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (1.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:22:29.801565"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-18 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:22:29.829192"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.5ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (2.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (1.0ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:22:45.854378"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-25 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:22:45.862535"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 14:22:45.867432"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-18 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-25 14:22:45', '2015-08-25 14:22:45', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-25', '2015-08-25 14:22:45', '2015-08-25 14:22:45', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-25 14:22:45.000000', '2015-08-25', '2015-08-25 14:22:45', '2015-08-25 14:22:45', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-25', '2015-08-25 14:22:45', '2015-08-25 14:22:45', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-25 14:22:45', '2015-08-25 14:22:45', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-25 14:22:45.000000', '2015-08-25', '2015-08-25 14:22:45', '2015-08-25 14:22:45', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-24', '2015-08-25 14:22:45', '2015-08-25 14:22:45', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-23', '2015-08-25 14:22:45', '2015-08-25 14:22:45', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-25 14:22:45.000000', '2015-08-25', '2015-08-25 14:22:45', '2015-08-25 14:22:45', 401619065, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-25', '2015-08-25 14:22:45', '2015-08-25 14:22:45', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-25 14:22:45.000000', '2015-08-25', '2015-08-25 14:22:45', '2015-08-25 14:22:45', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-25', '2015-08-25 14:22:45', '2015-08-25 14:22:45', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-25 14:22:45.000000', '2015-08-25', '2015-08-25 14:22:45', '2015-08-25 14:22:45', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-25 14:22:45', '2015-08-25 14:22:45', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 14:22:45.000000', '2015-08-25 14:22:45', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 14:22:45.000000', '2015-08-25 14:22:45', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 14:22:45.000000', '2015-08-25 14:22:45', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 14:22:45.000000', '2015-08-25 14:22:45', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-25 14:22:45', '2015-08-25 14:22:45', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-25 14:22:45', '2015-08-25 14:22:45', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-25 14:22:45', '2015-08-25 14:22:45', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-25 14:22:45', '2015-08-25 14:22:45', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-25 14:22:45', '2015-08-25 14:22:45', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-25 14:22:45', '2015-08-25 14:22:45', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-25 14:22:45', '2015-08-25 14:22:45', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-25 14:22:45', '2015-08-25 14:22:45', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-25 14:22:45', '2015-08-25 14:22:45', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-25 14:22:45', '2015-08-25 14:22:45', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 14:22:45.942008') AND ("social_networking_goals"."due_on" >= '2015-08-24 14:22:45.942042')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 14:22:45.947376') AND ("social_networking_goals"."due_on" >= '2015-08-24 14:22:45.947415') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 14:22:45.950396') AND ("social_networking_goals"."due_on" >= '2015-08-24 14:22:45.950417')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-25"], ["completed_at", "2015-08-23 00:00:00.000000"], ["created_at", "2015-08-25 14:22:45.954931"], ["updated_at", "2015-08-25 14:22:45.954931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-25 14:22:45.959067"], ["updated_at", "2015-08-25 14:22:45.959067"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-26"], ["created_at", "2015-08-25 14:22:45.964729"], ["updated_at", "2015-08-25 14:22:45.964729"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:22:45.990783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:22:45.999900"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:22:46.142682"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-25 23:59:59.999999')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:22:46.152921"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 14:22:46.156463"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (1.9ms) Sent mail to obama@ex.co (6.7ms) Date: Tue, 25 Aug 2015 09:22:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7a367afdd_11ea93fe3a60601fc3274f@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 221.2ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.1ms) Date: Tue, 25 Aug 2015 09:22:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7a367d05c_11ea93fe3a60601fc3287d@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 6.0ms  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.4ms) Date: Tue, 25 Aug 2015 09:22:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7a367f103_11ea93fe3a60601fc329c3@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 6.6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:22:46.532056"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:22:46.539952"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 14:22:46.542939"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-25 23:59:59.999999' AND created_at >= '2015-08-25 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:22:46.555633"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-25 23:59:59.999999' AND created_at >= '2015-08-25 00:00:00.000000')  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:22:46.563381"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:22:46.568247"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 14:22:46.572325"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 12ms (Views: 7.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:22:47 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.1ms) Completed 200 OK in 90ms (Views: 57.8ms | ActiveRecord: 6.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-25 09:22:47 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-25 09:22:47 -0500 Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-25 09:22:47 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-08", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.7ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-08"], ["created_at", "2015-08-25 14:22:47.697110"], ["updated_at", "2015-08-25 14:22:47.697110"]]  (1.7ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:22:47.705091"], ["updated_at", "2015-08-25 14:22:47.705091"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 6.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:22:47 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.2ms) Completed 200 OK in 19ms (Views: 3.4ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-25 09:22:48 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"08/25/2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "due_on" = $1, "completed_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["completed_at", "2015-08-25 14:22:48.011641"], ["updated_at", "2015-08-25 14:22:48.014150"], ["id", 809335042]]  (1.3ms) COMMIT  (0.3ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:22:48.020016"], ["updated_at", "2015-08-25 14:22:48.020016"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 3.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:22:48 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.8ms) Completed 200 OK in 17ms (Views: 2.6ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-25 09:22:48 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-22", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-22"], ["updated_at", "2015-08-25 14:22:48.227368"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:22:48 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-25 09:22:48 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"08/25/2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "due_on" = $1, "deleted_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["deleted_at", "2015-08-25 14:22:48.529329"], ["updated_at", "2015-08-25 14:22:48.532200"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:22:48 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (3.1ms) Date: Tue, 25 Aug 2015 09:22:48 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7a38d36c6_11ea93fe3a60601fc330b2@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 47.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Tue, 25 Aug 2015 09:22:48 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7a38d4923_11ea93fe3a60601fc331c0@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Tue, 25 Aug 2015 09:22:48 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7a38d59c6_11ea93fe3a60601fc33263@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (3.2ms) Date: Tue, 25 Aug 2015 09:22:48 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7a38e0943_11ea93fe3a60601fc33321@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 39.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.6ms) Date: Tue, 25 Aug 2015 09:22:48 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7a38e21af_11ea93fe3a60601fc334d5@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.4ms) Date: Tue, 25 Aug 2015 09:22:48 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7a38e3852_11ea93fe3a60601fc33556@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 4.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (2.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-25 14:22:48', '2015-08-25 14:22:48', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.3ms) COMMIT  (2.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (2.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-25', '2015-08-25 14:22:49', '2015-08-25 14:22:49', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-25 14:22:49.000000', '2015-08-25', '2015-08-25 14:22:49', '2015-08-25 14:22:49', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-25', '2015-08-25 14:22:49', '2015-08-25 14:22:49', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-25 14:22:49', '2015-08-25 14:22:49', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-25 14:22:49.000000', '2015-08-25', '2015-08-25 14:22:49', '2015-08-25 14:22:49', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-24', '2015-08-25 14:22:49', '2015-08-25 14:22:49', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-23', '2015-08-25 14:22:49', '2015-08-25 14:22:49', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-25 14:22:49.000000', '2015-08-25', '2015-08-25 14:22:49', '2015-08-25 14:22:49', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-25', '2015-08-25 14:22:49', '2015-08-25 14:22:49', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-25 14:22:49.000000', '2015-08-25', '2015-08-25 14:22:49', '2015-08-25 14:22:49', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-25', '2015-08-25 14:22:49', '2015-08-25 14:22:49', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-25 14:22:49.000000', '2015-08-25', '2015-08-25 14:22:49', '2015-08-25 14:22:49', 16804933, 816972181)  (0.3ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:22:49.079172"], ["updated_at", "2015-08-25 14:22:49.079172"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-25 14:22:49.085111"], ["updated_at", "2015-08-25 14:22:49.085111"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-25 14:22:49.087873"], ["updated_at", "2015-08-25 14:22:49.087873"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 14:22:49.097161"], ["updated_at", "2015-08-25 14:22:49.097161"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:22:49.099404"], ["updated_at", "2015-08-25 14:22:49.099404"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (1.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-25 14:22:49', '2015-08-25 14:22:49', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 14:22:49.000000', '2015-08-25 14:22:49', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 14:22:49.000000', '2015-08-25 14:22:49', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 14:22:49.000000', '2015-08-25 14:22:49', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 14:22:49.000000', '2015-08-25 14:22:49', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-25 14:22:49', '2015-08-25 14:22:49', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-25 14:22:49', '2015-08-25 14:22:49', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-25 14:22:49', '2015-08-25 14:22:49', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-25 14:22:49', '2015-08-25 14:22:49', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-25 14:22:49', '2015-08-25 14:22:49', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-25 14:22:49', '2015-08-25 14:22:49', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-25 14:22:49', '2015-08-25 14:22:49', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-25 14:22:49', '2015-08-25 14:22:49', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-25 14:22:49', '2015-08-25 14:22:49', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-25 14:22:49', '2015-08-25 14:22:49', 809335042, 'SocialNetworking::Goal', 809335042)  (0.3ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 14:22:49.144677"], ["updated_at", "2015-08-25 14:22:49.144677"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:22:49.147379"], ["updated_at", "2015-08-25 14:22:49.147379"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235641]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 14:22:49.158714"], ["updated_at", "2015-08-25 14:22:49.158714"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:22:49.160813"], ["updated_at", "2015-08-25 14:22:49.160813"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 14:22:49.168931"], ["updated_at", "2015-08-25 14:22:49.168931"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:22:49.172693"], ["updated_at", "2015-08-25 14:22:49.172693"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-25 14:22:49.240361"], ["updated_at", "2015-08-25 14:22:49.240361"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-25 14:22:49.243165"], ["updated_at", "2015-08-25 14:22:49.243165"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 9ms (Views: 8.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (2.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-25 14:22:58', '2015-08-25 14:22:58', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-25', '2015-08-25 14:22:58', '2015-08-25 14:22:58', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-25 14:22:58.000000', '2015-08-25', '2015-08-25 14:22:58', '2015-08-25 14:22:58', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-25', '2015-08-25 14:22:58', '2015-08-25 14:22:58', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-25 14:22:58', '2015-08-25 14:22:58', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-25 14:22:58.000000', '2015-08-25', '2015-08-25 14:22:58', '2015-08-25 14:22:58', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-24', '2015-08-25 14:22:58', '2015-08-25 14:22:58', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-23', '2015-08-25 14:22:58', '2015-08-25 14:22:58', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-25 14:22:58.000000', '2015-08-25', '2015-08-25 14:22:58', '2015-08-25 14:22:58', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-25', '2015-08-25 14:22:58', '2015-08-25 14:22:58', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-25 14:22:58.000000', '2015-08-25', '2015-08-25 14:22:58', '2015-08-25 14:22:58', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-25', '2015-08-25 14:22:58', '2015-08-25 14:22:58', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-25 14:22:58.000000', '2015-08-25', '2015-08-25 14:22:58', '2015-08-25 14:22:58', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-25 14:22:58', '2015-08-25 14:22:58', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 14:22:58.000000', '2015-08-25 14:22:58', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 14:22:58.000000', '2015-08-25 14:22:58', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 14:22:58.000000', '2015-08-25 14:22:58', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 14:22:58.000000', '2015-08-25 14:22:58', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-25 14:22:58', '2015-08-25 14:22:58', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-25 14:22:58', '2015-08-25 14:22:58', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-25 14:22:58', '2015-08-25 14:22:58', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-25 14:22:58', '2015-08-25 14:22:58', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-25 14:22:58', '2015-08-25 14:22:58', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-25 14:22:58', '2015-08-25 14:22:58', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-25 14:22:58', '2015-08-25 14:22:58', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-25 14:22:58', '2015-08-25 14:22:58', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-25 14:22:58', '2015-08-25 14:22:58', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-25 14:22:58', '2015-08-25 14:22:58', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:22:58.703361"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 14:22:58.707409"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:22:58.715889"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 14:22:58.757399"], ["updated_at", "2015-08-25 14:22:58.757399"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:22:58.760628"], ["updated_at", "2015-08-25 14:22:58.760628"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 14:22:58.767886"], ["updated_at", "2015-08-25 14:22:58.767886"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:22:58.770231"], ["updated_at", "2015-08-25 14:22:58.770231"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 14:22:58.775511"], ["updated_at", "2015-08-25 14:22:58.775511"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:22:58.777771"], ["updated_at", "2015-08-25 14:22:58.777771"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 14:22:58.793997"], ["updated_at", "2015-08-25 14:22:58.793997"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:22:58.796154"], ["updated_at", "2015-08-25 14:22:58.796154"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (1.5ms) Sent mail to obama@ex.co (6.9ms) Date: Tue, 25 Aug 2015 09:22:59 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7a431ade2_11eb43fea4e0601f871348@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 213.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.6ms) Date: Tue, 25 Aug 2015 09:22:59 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7a431c909_11eb43fea4e0601f8714f@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.9ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Tue, 25 Aug 2015 09:22:59 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7a431db16_11eb43fea4e0601f8715c6@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.7ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:22:59.214665"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-18 00:00:00.000000')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:22:59.234438"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-25 14:22:59.318502"], ["updated_at", "2015-08-25 14:22:59.318502"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-25 14:22:59.321631"], ["updated_at", "2015-08-25 14:22:59.321631"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:22:59 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.6ms) Completed 200 OK in 98ms (Views: 73.1ms | ActiveRecord: 5.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-25 09:23:00 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-25 09:23:00 -0500  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:23:00 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.0ms) Completed 200 OK in 18ms (Views: 1.6ms | ActiveRecord: 2.6ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-25 09:23:00 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"08/25/2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "due_on" = $1, "deleted_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["deleted_at", "2015-08-25 14:23:00.506193"], ["updated_at", "2015-08-25 14:23:00.509209"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:23:00 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 19ms (Views: 2.5ms | ActiveRecord: 2.1ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-25 09:23:00 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-08", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-08"], ["created_at", "2015-08-25 14:23:00.821655"], ["updated_at", "2015-08-25 14:23:00.821655"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:23:00.826095"], ["updated_at", "2015-08-25 14:23:00.826095"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 2.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:23:00 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 16ms (Views: 1.9ms | ActiveRecord: 2.2ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-25 09:23:01 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-22", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-22"], ["updated_at", "2015-08-25 14:23:01.162953"], ["id", 53334230]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:23:01 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 15ms (Views: 2.0ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-25 09:23:01 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"08/25/2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "due_on" = $1, "completed_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["completed_at", "2015-08-25 14:23:01.400239"], ["updated_at", "2015-08-25 14:23:01.402723"], ["id", 809335042]]  (0.5ms) COMMIT  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:23:01.407177"], ["updated_at", "2015-08-25 14:23:01.407177"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.2ms)  (0.2ms) ROLLBACK  (1.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-25 14:23:01', '2015-08-25 14:23:01', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-25', '2015-08-25 14:23:01', '2015-08-25 14:23:01', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-25 14:23:01.000000', '2015-08-25', '2015-08-25 14:23:01', '2015-08-25 14:23:01', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-25', '2015-08-25 14:23:01', '2015-08-25 14:23:01', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-25 14:23:01', '2015-08-25 14:23:01', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-25 14:23:01.000000', '2015-08-25', '2015-08-25 14:23:01', '2015-08-25 14:23:01', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-24', '2015-08-25 14:23:01', '2015-08-25 14:23:01', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-23', '2015-08-25 14:23:01', '2015-08-25 14:23:01', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-25 14:23:01.000000', '2015-08-25', '2015-08-25 14:23:01', '2015-08-25 14:23:01', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-25', '2015-08-25 14:23:01', '2015-08-25 14:23:01', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-25 14:23:01.000000', '2015-08-25', '2015-08-25 14:23:01', '2015-08-25 14:23:01', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-25', '2015-08-25 14:23:01', '2015-08-25 14:23:01', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-25 14:23:01.000000', '2015-08-25', '2015-08-25 14:23:01', '2015-08-25 14:23:01', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-25 14:23:01', '2015-08-25 14:23:01', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 14:23:01.000000', '2015-08-25 14:23:01', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 14:23:01.000000', '2015-08-25 14:23:01', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 14:23:01.000000', '2015-08-25 14:23:01', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 14:23:01.000000', '2015-08-25 14:23:01', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-25 14:23:01', '2015-08-25 14:23:01', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-25 14:23:01', '2015-08-25 14:23:01', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-25 14:23:01', '2015-08-25 14:23:01', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-25 14:23:01', '2015-08-25 14:23:01', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-25 14:23:01', '2015-08-25 14:23:01', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-25 14:23:01', '2015-08-25 14:23:01', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-25 14:23:01', '2015-08-25 14:23:01', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-25 14:23:01', '2015-08-25 14:23:01', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-25 14:23:01', '2015-08-25 14:23:01', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-25 14:23:01', '2015-08-25 14:23:01', 809335042, 'SocialNetworking::Goal', 809335042)  (0.3ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:23:01.563928"], ["updated_at", "2015-08-25 14:23:01.563928"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-25 14:23:01.569102"], ["updated_at", "2015-08-25 14:23:01.569102"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-25 14:23:01.572120"], ["updated_at", "2015-08-25 14:23:01.572120"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.9ms) Date: Tue, 25 Aug 2015 09:23:01 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7a4596338_11eb43fea4e0601f8716ef@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 41.0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Tue, 25 Aug 2015 09:23:01 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7a4597843_11eb43fea4e0601f871784@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Tue, 25 Aug 2015 09:23:01 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7a4598bd4_11eb43fea4e0601f871854@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:23:01.634989"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 14:23:01.639354"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:23:01.647160"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (2.7ms) Date: Tue, 25 Aug 2015 09:23:01 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7a45a846d_11eb43fea4e0601f87194c@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 39.3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Tue, 25 Aug 2015 09:23:01 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7a45a992c_11eb43fea4e0601f872076@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Tue, 25 Aug 2015 09:23:01 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7a45aac40_11eb43fea4e0601f8721da@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:23:01.712666"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 14:23:01.716340"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:23:01.723769"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-25"], ["completed_at", "2015-08-23 00:00:00.000000"], ["created_at", "2015-08-25 14:23:01.734597"], ["updated_at", "2015-08-25 14:23:01.734597"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-26"], ["created_at", "2015-08-25 14:23:01.739870"], ["updated_at", "2015-08-25 14:23:01.739870"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-25 14:23:01.745873"], ["updated_at", "2015-08-25 14:23:01.745873"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 14:23:01.748963') AND ("social_networking_goals"."due_on" >= '2015-08-24 14:23:01.748999') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 14:23:01.751897') AND ("social_networking_goals"."due_on" >= '2015-08-24 14:23:01.751916')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 14:23:01.753731') AND ("social_networking_goals"."due_on" >= '2015-08-24 14:23:01.753750')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:23:01.759313"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 14:23:01.762267"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-25 23:59:59.999999' AND created_at >= '2015-08-25 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:23:01.769043"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-25 23:59:59.999999' AND created_at >= '2015-08-25 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:23:01.774437"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (2.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-25 14:27:50', '2015-08-25 14:27:50', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-25', '2015-08-25 14:27:50', '2015-08-25 14:27:50', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-25 14:27:50.000000', '2015-08-25', '2015-08-25 14:27:50', '2015-08-25 14:27:50', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-25', '2015-08-25 14:27:50', '2015-08-25 14:27:50', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-25 14:27:50', '2015-08-25 14:27:50', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-25 14:27:50.000000', '2015-08-25', '2015-08-25 14:27:50', '2015-08-25 14:27:50', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-24', '2015-08-25 14:27:50', '2015-08-25 14:27:50', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-23', '2015-08-25 14:27:50', '2015-08-25 14:27:50', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-25 14:27:50.000000', '2015-08-25', '2015-08-25 14:27:50', '2015-08-25 14:27:50', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-25', '2015-08-25 14:27:50', '2015-08-25 14:27:50', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-25 14:27:50.000000', '2015-08-25', '2015-08-25 14:27:50', '2015-08-25 14:27:50', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-25', '2015-08-25 14:27:50', '2015-08-25 14:27:50', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-25 14:27:50.000000', '2015-08-25', '2015-08-25 14:27:50', '2015-08-25 14:27:50', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-25 14:27:50', '2015-08-25 14:27:50', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 14:27:50.000000', '2015-08-25 14:27:50', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 14:27:50.000000', '2015-08-25 14:27:50', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 14:27:50.000000', '2015-08-25 14:27:50', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 14:27:50.000000', '2015-08-25 14:27:50', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-25 14:27:50', '2015-08-25 14:27:50', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-25 14:27:50', '2015-08-25 14:27:50', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-25 14:27:50', '2015-08-25 14:27:50', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-25 14:27:50', '2015-08-25 14:27:50', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-25 14:27:50', '2015-08-25 14:27:50', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-25 14:27:50', '2015-08-25 14:27:50', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-25 14:27:50', '2015-08-25 14:27:50', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-25 14:27:50', '2015-08-25 14:27:50', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-25 14:27:50', '2015-08-25 14:27:50', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-25 14:27:50', '2015-08-25 14:27:50', 809335042, 'SocialNetworking::Goal', 809335042)  (0.3ms) COMMIT  (1.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 14:27:50.652005"], ["updated_at", "2015-08-25 14:27:50.652005"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:27:50.661629"], ["updated_at", "2015-08-25 14:27:50.661629"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 14:27:50.668207"], ["updated_at", "2015-08-25 14:27:50.668207"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:27:50.670798"], ["updated_at", "2015-08-25 14:27:50.670798"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 14:27:50.706114"], ["updated_at", "2015-08-25 14:27:50.706114"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:27:50.708619"], ["updated_at", "2015-08-25 14:27:50.708619"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 14:27:50.715980"], ["updated_at", "2015-08-25 14:27:50.715980"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:27:50.718940"], ["updated_at", "2015-08-25 14:27:50.718940"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:27:50.812870"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:27:50.821830"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 14:27:50.824837"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (2.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (6.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:27:50.944399"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:27:50.951492"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 14:27:50.955717"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:27:51.006252"], ["updated_at", "2015-08-25 14:27:51.006252"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-25 14:27:51.013092"], ["updated_at", "2015-08-25 14:27:51.013092"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-25 14:27:51.017057"], ["updated_at", "2015-08-25 14:27:51.017057"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-25 23:59:59.999999' AND created_at >= '2015-08-25 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:27:51.103615"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-25 23:59:59.999999' AND created_at >= '2015-08-25 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:27:51.109323"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:27:51.115084"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 14:27:51.117969"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:27:51.238343"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:27:51.246577"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (9.9ms) Date: Tue, 25 Aug 2015 09:27:51 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7b6777d66_1231e3fe5298601fc3325f@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 215.9ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.4ms) Date: Tue, 25 Aug 2015 09:27:51 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7b6779dd9_1231e3fe5298601fc33319@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Tue, 25 Aug 2015 09:27:51 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7b677af18_1231e3fe5298601fc33491@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 318187876]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-25 14:27:51.519305"], ["updated_at", "2015-08-25 14:27:51.519305"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-25 14:27:51.522064"], ["updated_at", "2015-08-25 14:27:51.522064"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.4ms) Date: Tue, 25 Aug 2015 09:27:51 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7b678d4e9_1231e3fe5298601fc335a8@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 37.3ms  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.0ms) Date: Tue, 25 Aug 2015 09:27:51 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7b678f2e8_1231e3fe5298601fc336bb@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 5.9ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Tue, 25 Aug 2015 09:27:51 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7b6790cfb_1231e3fe5298601fc337e5@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.9ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.5ms) Date: Tue, 25 Aug 2015 09:27:51 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7b679c91d_1231e3fe5298601fc3384@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 44.3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Tue, 25 Aug 2015 09:27:51 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7b679dca5_1231e3fe5298601fc33942@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.5ms) Date: Tue, 25 Aug 2015 09:27:51 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7b679f76e_1231e3fe5298601fc340b2@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 5.2ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:27:51.723806"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 14:27:51.726804"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:27:51.732527"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 14:27:51.743756') AND ("social_networking_goals"."due_on" >= '2015-08-24 14:27:51.743789')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 14:27:51.746363') AND ("social_networking_goals"."due_on" >= '2015-08-24 14:27:51.746385') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 14:27:51.748938') AND ("social_networking_goals"."due_on" >= '2015-08-24 14:27:51.748959')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-26"], ["created_at", "2015-08-25 14:27:51.752432"], ["updated_at", "2015-08-25 14:27:51.752432"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-25 14:27:51.756423"], ["updated_at", "2015-08-25 14:27:51.756423"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-25"], ["completed_at", "2015-08-23 00:00:00.000000"], ["created_at", "2015-08-25 14:27:51.760329"], ["updated_at", "2015-08-25 14:27:51.760329"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:27:52 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.5ms) Completed 200 OK in 78ms (Views: 49.8ms | ActiveRecord: 7.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-25 09:27:52 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-25 09:27:52 -0500 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-25 09:27:52 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-22", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-22"], ["updated_at", "2015-08-25 14:27:52.854191"], ["id", 53334230]]  (1.6ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:27:52 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.2ms) Completed 200 OK in 21ms (Views: 3.4ms | ActiveRecord: 3.0ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-25 09:27:53 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"08/25/2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "due_on" = $1, "completed_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["completed_at", "2015-08-25 14:27:53.171834"], ["updated_at", "2015-08-25 14:27:53.174488"], ["id", 809335042]]  (1.3ms) COMMIT  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:27:53.179580"], ["updated_at", "2015-08-25 14:27:53.179580"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 4.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:27:53 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 19ms (Views: 1.9ms | ActiveRecord: 2.2ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-25 09:27:53 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-08", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-08"], ["created_at", "2015-08-25 14:27:53.498420"], ["updated_at", "2015-08-25 14:27:53.498420"]]  (1.6ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:27:53.504157"], ["updated_at", "2015-08-25 14:27:53.504157"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 4.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:27:53 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 17ms (Views: 2.1ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-25 09:27:53 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"08/25/2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "due_on" = $1, "deleted_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["deleted_at", "2015-08-25 14:27:53.802259"], ["updated_at", "2015-08-25 14:27:53.804982"], ["id", 614371357]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:27:53 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 17ms (Views: 2.5ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (2.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-25 14:27:54', '2015-08-25 14:27:54', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-25', '2015-08-25 14:27:54', '2015-08-25 14:27:54', 809335042, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-25 14:27:54.000000', '2015-08-25', '2015-08-25 14:27:54', '2015-08-25 14:27:54', 576699391, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-25', '2015-08-25 14:27:54', '2015-08-25 14:27:54', 614371357, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-25 14:27:54', '2015-08-25 14:27:54', 53334230, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-25 14:27:54.000000', '2015-08-25', '2015-08-25 14:27:54', '2015-08-25 14:27:54', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-24', '2015-08-25 14:27:54', '2015-08-25 14:27:54', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-23', '2015-08-25 14:27:54', '2015-08-25 14:27:54', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-25 14:27:54.000000', '2015-08-25', '2015-08-25 14:27:54', '2015-08-25 14:27:54', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-25', '2015-08-25 14:27:54', '2015-08-25 14:27:54', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-25 14:27:54.000000', '2015-08-25', '2015-08-25 14:27:54', '2015-08-25 14:27:54', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-25', '2015-08-25 14:27:54', '2015-08-25 14:27:54', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-25 14:27:54.000000', '2015-08-25', '2015-08-25 14:27:54', '2015-08-25 14:27:54', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-25 14:27:54', '2015-08-25 14:27:54', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 14:27:54.000000', '2015-08-25 14:27:54', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 14:27:54.000000', '2015-08-25 14:27:54', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 14:27:54.000000', '2015-08-25 14:27:54', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 14:27:54.000000', '2015-08-25 14:27:54', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-25 14:27:54', '2015-08-25 14:27:54', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-25 14:27:54', '2015-08-25 14:27:54', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-25 14:27:54', '2015-08-25 14:27:54', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-25 14:27:54', '2015-08-25 14:27:54', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-25 14:27:54', '2015-08-25 14:27:54', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-25 14:27:54', '2015-08-25 14:27:54', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-25 14:27:54', '2015-08-25 14:27:54', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-25 14:27:54', '2015-08-25 14:27:54', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-25 14:27:54', '2015-08-25 14:27:54', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-25 14:27:54', '2015-08-25 14:27:54', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (3.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-25 14:39:13', '2015-08-25 14:39:13', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-25', '2015-08-25 14:39:13', '2015-08-25 14:39:13', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-25 14:39:13.000000', '2015-08-25', '2015-08-25 14:39:13', '2015-08-25 14:39:13', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-25', '2015-08-25 14:39:13', '2015-08-25 14:39:13', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-25 14:39:13', '2015-08-25 14:39:13', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-25 14:39:13.000000', '2015-08-25', '2015-08-25 14:39:13', '2015-08-25 14:39:13', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-24', '2015-08-25 14:39:13', '2015-08-25 14:39:13', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-23', '2015-08-25 14:39:13', '2015-08-25 14:39:13', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-25 14:39:13.000000', '2015-08-25', '2015-08-25 14:39:13', '2015-08-25 14:39:13', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-25', '2015-08-25 14:39:13', '2015-08-25 14:39:13', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-25 14:39:13.000000', '2015-08-25', '2015-08-25 14:39:13', '2015-08-25 14:39:13', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-25', '2015-08-25 14:39:13', '2015-08-25 14:39:13', 318784238, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-25 14:39:13.000000', '2015-08-25', '2015-08-25 14:39:13', '2015-08-25 14:39:13', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-25 14:39:13', '2015-08-25 14:39:13', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 14:39:13.000000', '2015-08-25 14:39:13', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 14:39:13.000000', '2015-08-25 14:39:13', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 14:39:13.000000', '2015-08-25 14:39:13', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 14:39:13.000000', '2015-08-25 14:39:13', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-25 14:39:13', '2015-08-25 14:39:13', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-25 14:39:13', '2015-08-25 14:39:13', 369066228, 816972181) Fixture Delete (0.8ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.7ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-25 14:39:13', '2015-08-25 14:39:13', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-25 14:39:13', '2015-08-25 14:39:13', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-25 14:39:13', '2015-08-25 14:39:13', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-25 14:39:13', '2015-08-25 14:39:13', 781294868) Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-25 14:39:13', '2015-08-25 14:39:13', 932760744) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-25 14:39:13', '2015-08-25 14:39:13', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-25 14:39:13', '2015-08-25 14:39:13', 183235640, 816972181) Fixture Delete (0.7ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.5ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-25 14:39:13', '2015-08-25 14:39:13', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:13.303402"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:13.307095"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:13.314167"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-26"], ["created_at", "2015-08-25 14:39:13.330803"], ["updated_at", "2015-08-25 14:39:13.330803"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-25 14:39:13.335344"], ["updated_at", "2015-08-25 14:39:13.335344"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-25"], ["completed_at", "2015-08-23 00:00:00.000000"], ["created_at", "2015-08-25 14:39:13.342534"], ["updated_at", "2015-08-25 14:39:13.342534"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 14:39:13.347894') AND ("social_networking_goals"."due_on" >= '2015-08-24 14:39:13.347927') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 14:39:13.351387') AND ("social_networking_goals"."due_on" >= '2015-08-24 14:39:13.351410')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 14:39:13.353396') AND ("social_networking_goals"."due_on" >= '2015-08-24 14:39:13.353413')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:13.372952"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:13.387825"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (7.4ms) Date: Tue, 25 Aug 2015 09:39:13 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7e11bd8d6_128063ffdf085e2002384d@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 225.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.5ms) Date: Tue, 25 Aug 2015 09:39:13 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7e11bf6ce_128063ffdf085e2002393d@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Tue, 25 Aug 2015 09:39:13 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7e11c093c_128063ffdf085e200240a9@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:39:13.841016"], ["updated_at", "2015-08-25 14:39:13.841016"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-25 14:39:13.847630"], ["updated_at", "2015-08-25 14:39:13.847630"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-25 14:39:13.850636"], ["updated_at", "2015-08-25 14:39:13.850636"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 14:39:13.919457"], ["updated_at", "2015-08-25 14:39:13.919457"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:39:13.923047"], ["updated_at", "2015-08-25 14:39:13.923047"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 14:39:13.929197"], ["updated_at", "2015-08-25 14:39:13.929197"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:39:13.931387"], ["updated_at", "2015-08-25 14:39:13.931387"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 14:39:13.936876"], ["updated_at", "2015-08-25 14:39:13.936876"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:39:13.939003"], ["updated_at", "2015-08-25 14:39:13.939003"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 14:39:13.954700"], ["updated_at", "2015-08-25 14:39:13.954700"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:39:13.957201"], ["updated_at", "2015-08-25 14:39:13.957201"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.3ms) Date: Tue, 25 Aug 2015 09:39:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7e121b17d_128063ffdf085e2002411d@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 40.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (5.0ms) Date: Tue, 25 Aug 2015 09:39:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7e121ce53_128063ffdf085e20024210@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 7.3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.4ms) Date: Tue, 25 Aug 2015 09:39:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7e121edfa_128063ffdf085e20024313@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 5.0ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.7ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:14.139384"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:14.144836"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-18 00:00:00.000000')  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:14.154177"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:14.180918"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:14.186545"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:14.189629"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-25 23:59:59.999999' AND created_at >= '2015-08-25 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:14.195417"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-25 23:59:59.999999' AND created_at >= '2015-08-25 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-25 14:39:14.202159"], ["updated_at", "2015-08-25 14:39:14.202159"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-25 14:39:14.205280"], ["updated_at", "2015-08-25 14:39:14.205280"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:14.223769"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:14.227390"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-18 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:14.235076"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (3.1ms) Date: Tue, 25 Aug 2015 09:39:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7e12598c9_128063ffdf085e20024495@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 45.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Tue, 25 Aug 2015 09:39:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7e125ac0c_128063ffdf085e200245de@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.6ms) Date: Tue, 25 Aug 2015 09:39:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7e125bdb8_128063ffdf085e2002469f@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:39:15 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.1ms) Completed 200 OK in 74ms (Views: 49.1ms | ActiveRecord: 5.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-25 09:39:15 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-25 09:39:15 -0500 Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-25 09:39:15 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-08", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-08"], ["created_at", "2015-08-25 14:39:15.833273"], ["updated_at", "2015-08-25 14:39:15.833273"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:39:15.838737"], ["updated_at", "2015-08-25 14:39:15.838737"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 4.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:39:15 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.5ms) Completed 200 OK in 21ms (Views: 3.4ms | ActiveRecord: 2.3ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-25 09:39:16 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"08/25/2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "due_on" = $1, "deleted_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["deleted_at", "2015-08-25 14:39:16.147152"], ["updated_at", "2015-08-25 14:39:16.150225"], ["id", 614371357]]  (2.0ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 3.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:39:16 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-25 09:39:16 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"08/25/2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "due_on" = $1, "completed_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["completed_at", "2015-08-25 14:39:16.309859"], ["updated_at", "2015-08-25 14:39:16.312277"], ["id", 809335042]]  (1.4ms) COMMIT  (0.3ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:39:16.317626"], ["updated_at", "2015-08-25 14:39:16.317626"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.5ms | ActiveRecord: 4.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:39:16 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 17ms (Views: 2.4ms | ActiveRecord: 1.7ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:39:16 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 19ms (Views: 2.6ms | ActiveRecord: 2.2ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-25 09:39:16 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-22", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-22"], ["updated_at", "2015-08-25 14:39:16.790440"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (2.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-25', '2015-08-25 14:39:28', '2015-08-25 14:39:28', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-25 14:39:28.000000', '2015-08-25', '2015-08-25 14:39:28', '2015-08-25 14:39:28', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-25', '2015-08-25 14:39:28', '2015-08-25 14:39:28', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-25 14:39:28', '2015-08-25 14:39:28', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-25 14:39:28.000000', '2015-08-25', '2015-08-25 14:39:28', '2015-08-25 14:39:28', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-24', '2015-08-25 14:39:28', '2015-08-25 14:39:28', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-23', '2015-08-25 14:39:28', '2015-08-25 14:39:28', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-25 14:39:28.000000', '2015-08-25', '2015-08-25 14:39:28', '2015-08-25 14:39:28', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-25', '2015-08-25 14:39:28', '2015-08-25 14:39:28', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-25 14:39:28.000000', '2015-08-25', '2015-08-25 14:39:28', '2015-08-25 14:39:28', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-25', '2015-08-25 14:39:28', '2015-08-25 14:39:28', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-25 14:39:28.000000', '2015-08-25', '2015-08-25 14:39:28', '2015-08-25 14:39:28', 16804933, 816972181)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.7ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.7ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:28.684773"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:28.707248"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (1.5ms) Sent mail to obama@ex.co (7.4ms) Date: Tue, 25 Aug 2015 09:39:28 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7e20f0cbb_128133fed4146020860b6@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 247.6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.7ms) Date: Tue, 25 Aug 2015 09:39:28 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7e20f26c6_128133fed4146020861ed@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.9ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Tue, 25 Aug 2015 09:39:28 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7e20f3cef_128133fed41460208627b@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.5ms) Date: Tue, 25 Aug 2015 09:39:29 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7e21a386_128133fed4146020863ad@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 41.5ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Tue, 25 Aug 2015 09:39:29 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7e21b6bb_128133fed414602086428@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.2ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Tue, 25 Aug 2015 09:39:29 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7e21c8fb_128133fed4146020865ae@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.7ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:29.068480"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:29.072601"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-18 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:29.080147"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:29.091304"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:29.094372"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:29.099346"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-25 23:59:59.999999' AND created_at >= '2015-08-25 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:29.104376"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-25 23:59:59.999999' AND created_at >= '2015-08-25 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (1.4ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-25 14:39:29', '2015-08-25 14:39:29', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-25 14:39:29', '2015-08-25 14:39:29', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 14:39:29.000000', '2015-08-25 14:39:29', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 14:39:29.000000', '2015-08-25 14:39:29', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 14:39:29.000000', '2015-08-25 14:39:29', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 14:39:29.000000', '2015-08-25 14:39:29', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-25 14:39:29', '2015-08-25 14:39:29', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-25 14:39:29', '2015-08-25 14:39:29', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-25 14:39:29', '2015-08-25 14:39:29', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-25 14:39:29', '2015-08-25 14:39:29', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-25 14:39:29', '2015-08-25 14:39:29', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-25 14:39:29', '2015-08-25 14:39:29', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-25 14:39:29', '2015-08-25 14:39:29', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-25 14:39:29', '2015-08-25 14:39:29', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-25 14:39:29', '2015-08-25 14:39:29', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-25 14:39:29', '2015-08-25 14:39:29', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 14:39:29.219764"], ["updated_at", "2015-08-25 14:39:29.219764"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:39:29.226863"], ["updated_at", "2015-08-25 14:39:29.226863"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 14:39:29.237095"], ["updated_at", "2015-08-25 14:39:29.237095"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:39:29.239856"], ["updated_at", "2015-08-25 14:39:29.239856"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 14:39:29.260695"], ["updated_at", "2015-08-25 14:39:29.260695"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:39:29.263570"], ["updated_at", "2015-08-25 14:39:29.263570"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 14:39:29.279204"], ["updated_at", "2015-08-25 14:39:29.279204"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:39:29.281565"], ["updated_at", "2015-08-25 14:39:29.281565"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:39:29 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.5ms) Completed 200 OK in 73ms (Views: 46.4ms | ActiveRecord: 5.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-25 09:39:30 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-25 09:39:30 -0500  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:39:30 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 16ms (Views: 1.8ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-25 09:39:30 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"08/25/2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "due_on" = $1, "deleted_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["deleted_at", "2015-08-25 14:39:30.422215"], ["updated_at", "2015-08-25 14:39:30.425546"], ["id", 614371357]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.4ms | ActiveRecord: 3.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:39:30 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 1.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-25 09:39:30 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-08", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-08"], ["created_at", "2015-08-25 14:39:30.647297"], ["updated_at", "2015-08-25 14:39:30.647297"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:39:30.654057"], ["updated_at", "2015-08-25 14:39:30.654057"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 4.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:39:30 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.0ms) Completed 200 OK in 20ms (Views: 3.0ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-25 09:39:30 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"08/25/2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "due_on" = $1, "completed_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["completed_at", "2015-08-25 14:39:30.957348"], ["updated_at", "2015-08-25 14:39:30.960303"], ["id", 809335042]]  (1.4ms) COMMIT  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:39:30.965770"], ["updated_at", "2015-08-25 14:39:30.965770"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 4.4ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:39:30 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 17ms (Views: 2.2ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-25 09:39:31 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-22", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-22"], ["updated_at", "2015-08-25 14:39:31.199597"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 2.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (7.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.4ms) COMMIT  (1.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:31.354663"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:31.358867"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-18 00:00:00.000000')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:31.369101"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-25 23:59:59.999999')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-26"], ["created_at", "2015-08-25 14:39:31.396187"], ["updated_at", "2015-08-25 14:39:31.396187"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-25 14:39:31.400804"], ["updated_at", "2015-08-25 14:39:31.400804"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-25"], ["completed_at", "2015-08-23 00:00:00.000000"], ["created_at", "2015-08-25 14:39:31.405109"], ["updated_at", "2015-08-25 14:39:31.405109"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-25 14:39:31', '2015-08-25 14:39:31', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-25', '2015-08-25 14:39:31', '2015-08-25 14:39:31', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-25 14:39:31.000000', '2015-08-25', '2015-08-25 14:39:31', '2015-08-25 14:39:31', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-25', '2015-08-25 14:39:31', '2015-08-25 14:39:31', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-25 14:39:31', '2015-08-25 14:39:31', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-25 14:39:31.000000', '2015-08-25', '2015-08-25 14:39:31', '2015-08-25 14:39:31', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-24', '2015-08-25 14:39:31', '2015-08-25 14:39:31', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-23', '2015-08-25 14:39:31', '2015-08-25 14:39:31', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-25 14:39:31.000000', '2015-08-25', '2015-08-25 14:39:31', '2015-08-25 14:39:31', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-25', '2015-08-25 14:39:31', '2015-08-25 14:39:31', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-25 14:39:31.000000', '2015-08-25', '2015-08-25 14:39:31', '2015-08-25 14:39:31', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-25', '2015-08-25 14:39:31', '2015-08-25 14:39:31', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-25 14:39:31.000000', '2015-08-25', '2015-08-25 14:39:31', '2015-08-25 14:39:31', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-25 14:39:31', '2015-08-25 14:39:31', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 14:39:31.000000', '2015-08-25 14:39:31', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 14:39:31.000000', '2015-08-25 14:39:31', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 14:39:31.000000', '2015-08-25 14:39:31', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 14:39:31.000000', '2015-08-25 14:39:31', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-25 14:39:31', '2015-08-25 14:39:31', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-25 14:39:31', '2015-08-25 14:39:31', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-25 14:39:31', '2015-08-25 14:39:31', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-25 14:39:31', '2015-08-25 14:39:31', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-25 14:39:31', '2015-08-25 14:39:31', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-25 14:39:31', '2015-08-25 14:39:31', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-25 14:39:31', '2015-08-25 14:39:31', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-25 14:39:31', '2015-08-25 14:39:31', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-25 14:39:31', '2015-08-25 14:39:31', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-25 14:39:31', '2015-08-25 14:39:31', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 14:39:31.462179') AND ("social_networking_goals"."due_on" >= '2015-08-24 14:39:31.462235') SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 14:39:31.466299') AND ("social_networking_goals"."due_on" >= '2015-08-24 14:39:31.466320')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 14:39:31.468381') AND ("social_networking_goals"."due_on" >= '2015-08-24 14:39:31.468400')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-25 14:39:31.587650"], ["updated_at", "2015-08-25 14:39:31.587650"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-25 14:39:31.590867"], ["updated_at", "2015-08-25 14:39:31.590867"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.5ms) Date: Tue, 25 Aug 2015 09:39:31 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7e23a7e76_128133fed414602086678@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 39.9ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.5ms) Date: Tue, 25 Aug 2015 09:39:31 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7e23a9ce2_128133fed4146020867a2@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 5.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Tue, 25 Aug 2015 09:39:31 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7e23ab02f_128133fed41460208687a@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:31.927925"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:31.932227"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:39:31.939936"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:39:31.960579"], ["updated_at", "2015-08-25 14:39:31.960579"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-25 14:39:31.965292"], ["updated_at", "2015-08-25 14:39:31.965292"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-25 14:39:31.967865"], ["updated_at", "2015-08-25 14:39:31.967865"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (1.7ms) Sent mail to obama@ex.co (6.8ms) Date: Tue, 25 Aug 2015 09:41:01 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7e7d12f11_1289c3fe485460204427b7@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 237.9ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Tue, 25 Aug 2015 09:41:01 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7e7d14b23_1289c3fe4854602044283e@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Tue, 25 Aug 2015 09:41:01 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7e7d16036_1289c3fe485460204429b@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.4ms) Date: Tue, 25 Aug 2015 09:41:01 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7e7d28927_1289c3fe48546020443088@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 40.3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.6ms) Date: Tue, 25 Aug 2015 09:41:01 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7e7d29e05_1289c3fe485460204431e7@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 4.0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Tue, 25 Aug 2015 09:41:01 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7e7d2b11f_1289c3fe485460204432e5@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 14ms (Views: 7.3ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (3.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-25 14:41:01', '2015-08-25 14:41:01', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-25', '2015-08-25 14:41:01', '2015-08-25 14:41:01', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-25 14:41:01.000000', '2015-08-25', '2015-08-25 14:41:01', '2015-08-25 14:41:01', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-25', '2015-08-25 14:41:01', '2015-08-25 14:41:01', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-25 14:41:01', '2015-08-25 14:41:01', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-25 14:41:01.000000', '2015-08-25', '2015-08-25 14:41:01', '2015-08-25 14:41:01', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-24', '2015-08-25 14:41:01', '2015-08-25 14:41:01', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-23', '2015-08-25 14:41:01', '2015-08-25 14:41:01', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-25 14:41:01.000000', '2015-08-25', '2015-08-25 14:41:01', '2015-08-25 14:41:01', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-25', '2015-08-25 14:41:01', '2015-08-25 14:41:01', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-25 14:41:01.000000', '2015-08-25', '2015-08-25 14:41:01', '2015-08-25 14:41:01', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-25', '2015-08-25 14:41:01', '2015-08-25 14:41:01', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-25 14:41:01.000000', '2015-08-25', '2015-08-25 14:41:01', '2015-08-25 14:41:01', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-25 14:41:01', '2015-08-25 14:41:01', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 14:41:01.000000', '2015-08-25 14:41:01', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 14:41:01.000000', '2015-08-25 14:41:01', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 14:41:01.000000', '2015-08-25 14:41:01', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 14:41:01.000000', '2015-08-25 14:41:01', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-25 14:41:01', '2015-08-25 14:41:01', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-25 14:41:01', '2015-08-25 14:41:01', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-25 14:41:01', '2015-08-25 14:41:01', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-25 14:41:01', '2015-08-25 14:41:01', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-25 14:41:01', '2015-08-25 14:41:01', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-25 14:41:01', '2015-08-25 14:41:01', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-25 14:41:01', '2015-08-25 14:41:01', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-25 14:41:01', '2015-08-25 14:41:01', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-25 14:41:01', '2015-08-25 14:41:01', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-25 14:41:01', '2015-08-25 14:41:01', 809335042, 'SocialNetworking::Goal', 809335042)  (0.3ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-25 14:41:01.313753"], ["updated_at", "2015-08-25 14:41:01.313753"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-25 14:41:01.318087"], ["updated_at", "2015-08-25 14:41:01.318087"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 14:41:01.383474"], ["updated_at", "2015-08-25 14:41:01.383474"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:41:01.386133"], ["updated_at", "2015-08-25 14:41:01.386133"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 14:41:01.392159"], ["updated_at", "2015-08-25 14:41:01.392159"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:41:01.394262"], ["updated_at", "2015-08-25 14:41:01.394262"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 14:41:01.410660"], ["updated_at", "2015-08-25 14:41:01.410660"]] SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:41:01.412953"], ["updated_at", "2015-08-25 14:41:01.412953"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 14:41:01.418587"], ["updated_at", "2015-08-25 14:41:01.418587"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:41:01.422199"], ["updated_at", "2015-08-25 14:41:01.422199"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.7ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:41:01.444559"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:41:01.455442"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:41:01.542567"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:41:01.550063"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 14:41:01.553814"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.5ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:41:01.769349"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:41:01.777079"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 14:41:01.780150"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:41:02 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.8ms) Completed 200 OK in 78ms (Views: 56.0ms | ActiveRecord: 4.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-25 09:41:02 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-25 09:41:02 -0500 Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-25 09:41:02 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-08", "goal"=>{"description"=>"all of the things"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-08"], ["created_at", "2015-08-25 14:41:03.003936"], ["updated_at", "2015-08-25 14:41:03.003936"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:41:03.009382"], ["updated_at", "2015-08-25 14:41:03.009382"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 6.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:41:03 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.9ms) Completed 200 OK in 21ms (Views: 2.6ms | ActiveRecord: 2.2ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-25 09:41:03 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"08/25/2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "due_on" = $1, "deleted_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["deleted_at", "2015-08-25 14:41:03.314160"], ["updated_at", "2015-08-25 14:41:03.317129"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:41:03 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.0ms) Completed 200 OK in 22ms (Views: 4.4ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:41:03 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 17ms (Views: 2.2ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-25 09:41:03 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-22", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.7ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-22"], ["updated_at", "2015-08-25 14:41:03.761454"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 3.5ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 09:41:03 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (18.4ms) Completed 200 OK in 34ms (Views: 19.5ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-25 09:41:04 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"08/25/2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "due_on" = $1, "completed_at" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["due_on", nil], ["completed_at", "2015-08-25 14:41:04.115270"], ["updated_at", "2015-08-25 14:41:04.117846"], ["id", 809335042]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:41:04.123346"], ["updated_at", "2015-08-25 14:41:04.123346"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 3.7ms)  (0.2ms) ROLLBACK  (1.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:41:04.162461"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 14:41:04.167900"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-18 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:41:04.180046"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-25 14:41:04', '2015-08-25 14:41:04', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-25', '2015-08-25 14:41:04', '2015-08-25 14:41:04', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-25 14:41:04.000000', '2015-08-25', '2015-08-25 14:41:04', '2015-08-25 14:41:04', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-25', '2015-08-25 14:41:04', '2015-08-25 14:41:04', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-25 14:41:04', '2015-08-25 14:41:04', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-25 14:41:04.000000', '2015-08-25', '2015-08-25 14:41:04', '2015-08-25 14:41:04', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-24', '2015-08-25 14:41:04', '2015-08-25 14:41:04', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-23', '2015-08-25 14:41:04', '2015-08-25 14:41:04', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-25 14:41:04.000000', '2015-08-25', '2015-08-25 14:41:04', '2015-08-25 14:41:04', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-25', '2015-08-25 14:41:04', '2015-08-25 14:41:04', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-25 14:41:04.000000', '2015-08-25', '2015-08-25 14:41:04', '2015-08-25 14:41:04', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-25', '2015-08-25 14:41:04', '2015-08-25 14:41:04', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-25 14:41:04.000000', '2015-08-25', '2015-08-25 14:41:04', '2015-08-25 14:41:04', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-25 14:41:04', '2015-08-25 14:41:04', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 14:41:04.000000', '2015-08-25 14:41:04', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 14:41:04.000000', '2015-08-25 14:41:04', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 14:41:04.000000', '2015-08-25 14:41:04', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 14:41:04.000000', '2015-08-25 14:41:04', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-25 14:41:04', '2015-08-25 14:41:04', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-25 14:41:04', '2015-08-25 14:41:04', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-25 14:41:04', '2015-08-25 14:41:04', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-25 14:41:04', '2015-08-25 14:41:04', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-25 14:41:04', '2015-08-25 14:41:04', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-25 14:41:04', '2015-08-25 14:41:04', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-25 14:41:04', '2015-08-25 14:41:04', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-25 14:41:04', '2015-08-25 14:41:04', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-25 14:41:04', '2015-08-25 14:41:04', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-25 14:41:04', '2015-08-25 14:41:04', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 14:41:04.234902') AND ("social_networking_goals"."due_on" >= '2015-08-24 14:41:04.234947')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 14:41:04.237986') AND ("social_networking_goals"."due_on" >= '2015-08-24 14:41:04.238008') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 14:41:04.240305') AND ("social_networking_goals"."due_on" >= '2015-08-24 14:41:04.240322')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-26"], ["created_at", "2015-08-25 14:41:04.244056"], ["updated_at", "2015-08-25 14:41:04.244056"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-25"], ["completed_at", "2015-08-23 00:00:00.000000"], ["created_at", "2015-08-25 14:41:04.248967"], ["updated_at", "2015-08-25 14:41:04.248967"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-25 14:41:04.253449"], ["updated_at", "2015-08-25 14:41:04.253449"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:41:04.260908"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-25 23:59:59.999999' AND created_at >= '2015-08-25 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 14:41:04.266134"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-25 23:59:59.999999' AND created_at >= '2015-08-25 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 14:41:04.272097"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 14:41:04.274634"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-18 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (3.5ms) Date: Tue, 25 Aug 2015 09:41:04 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7e8055142_1289c3fe48546020443381@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 41.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Tue, 25 Aug 2015 09:41:04 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7e8056949_1289c3fe485460204434ad@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (3.1ms) Date: Tue, 25 Aug 2015 09:41:04 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc7e8057d86_1289c3fe48546020443543@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 4.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-25 14:41:04.365896"], ["updated_at", "2015-08-25 14:41:04.365896"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-25 14:41:04.370724"], ["updated_at", "2015-08-25 14:41:04.370724"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-25 14:41:04.373576"], ["updated_at", "2015-08-25 14:41:04.373576"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.1ms) Completed 202 Accepted in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (8.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-25', '2015-08-25 15:38:16', '2015-08-25 15:38:16', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-25 15:38:16.000000', '2015-08-25', '2015-08-25 15:38:16', '2015-08-25 15:38:16', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-25', '2015-08-25 15:38:16', '2015-08-25 15:38:16', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-25 15:38:16', '2015-08-25 15:38:16', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-25 15:38:16.000000', '2015-08-25', '2015-08-25 15:38:16', '2015-08-25 15:38:16', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-24', '2015-08-25 15:38:16', '2015-08-25 15:38:16', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-23', '2015-08-25 15:38:16', '2015-08-25 15:38:16', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-25 15:38:16.000000', '2015-08-25', '2015-08-25 15:38:16', '2015-08-25 15:38:16', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-25', '2015-08-25 15:38:16', '2015-08-25 15:38:16', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-25 15:38:16.000000', '2015-08-25', '2015-08-25 15:38:16', '2015-08-25 15:38:16', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-25', '2015-08-25 15:38:16', '2015-08-25 15:38:16', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-25 15:38:16.000000', '2015-08-25', '2015-08-25 15:38:16', '2015-08-25 15:38:16', 16804933, 816972181)  (6.1ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.7ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:16.927465"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:16.936764"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:16.940564"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-25 15:38:17.046927"], ["updated_at", "2015-08-25 15:38:17.046927"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-25 15:38:17.060561"], ["updated_at", "2015-08-25 15:38:17.060561"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-25 15:38:17.063866"], ["updated_at", "2015-08-25 15:38:17.063866"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (2.0ms) Sent mail to obama@ex.co (6.6ms) Date: Tue, 25 Aug 2015 10:38:17 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc8be952c71_143863fcc4d860200263c@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 216.7ms  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.9ms) Date: Tue, 25 Aug 2015 10:38:17 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc8be954ff4_143863fcc4d86020027df@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 6.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.5ms) Date: Tue, 25 Aug 2015 10:38:17 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc8be957312_143863fcc4d86020028c5@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 5.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (18.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-25 15:38:17', '2015-08-25 15:38:17', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-25 15:38:17', '2015-08-25 15:38:17', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 15:38:17.000000', '2015-08-25 15:38:17', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 15:38:17.000000', '2015-08-25 15:38:17', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 15:38:17.000000', '2015-08-25 15:38:17', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 15:38:17.000000', '2015-08-25 15:38:17', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-25 15:38:17', '2015-08-25 15:38:17', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-25 15:38:17', '2015-08-25 15:38:17', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-25 15:38:17', '2015-08-25 15:38:17', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-25 15:38:17', '2015-08-25 15:38:17', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-25 15:38:17', '2015-08-25 15:38:17', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-25 15:38:17', '2015-08-25 15:38:17', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-25 15:38:17', '2015-08-25 15:38:17', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-25 15:38:17', '2015-08-25 15:38:17', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-25 15:38:17', '2015-08-25 15:38:17', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-25 15:38:17', '2015-08-25 15:38:17', 809335042, 'SocialNetworking::Goal', 809335042)  (0.3ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 10:38:18 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.4ms) Completed 200 OK in 126ms (Views: 87.1ms | ActiveRecord: 6.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-25 10:38:18 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-25 10:38:18 -0500 SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-25 10:38:18 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Aug 25 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-25 15:38:18.840965"], ["updated_at", "2015-08-25 15:38:18.844299"], ["id", 809335042]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-25 15:38:18.850693"], ["updated_at", "2015-08-25 15:38:18.850693"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 6.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 10:38:18 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.0ms) Completed 200 OK in 15ms (Views: 1.7ms | ActiveRecord: 2.0ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-25 10:38:19 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-08", "goal"=>{"description"=>"all of the things"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-08"], ["created_at", "2015-08-25 15:38:19.062161"], ["updated_at", "2015-08-25 15:38:19.062161"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-25 15:38:19.068438"], ["updated_at", "2015-08-25 15:38:19.068438"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 4.4ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 10:38:19 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.9ms) Completed 200 OK in 21ms (Views: 3.0ms | ActiveRecord: 2.5ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-25 10:38:19 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Aug 25 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-25 15:38:19.377371"], ["updated_at", "2015-08-25 15:38:19.379929"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 10:38:19 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-25 10:38:19 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-22", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-22"], ["updated_at", "2015-08-25 15:38:19.694671"], ["id", 53334230]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 10:38:19 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 21ms (Views: 1.7ms | ActiveRecord: 2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (2.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-25', '2015-08-25 15:38:22', '2015-08-25 15:38:22', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-25 15:38:22.000000', '2015-08-25', '2015-08-25 15:38:22', '2015-08-25 15:38:22', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-25', '2015-08-25 15:38:22', '2015-08-25 15:38:22', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-25 15:38:22', '2015-08-25 15:38:22', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-25 15:38:22.000000', '2015-08-25', '2015-08-25 15:38:22', '2015-08-25 15:38:22', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-24', '2015-08-25 15:38:22', '2015-08-25 15:38:22', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-23', '2015-08-25 15:38:22', '2015-08-25 15:38:22', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-25 15:38:22.000000', '2015-08-25', '2015-08-25 15:38:22', '2015-08-25 15:38:22', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-25', '2015-08-25 15:38:22', '2015-08-25 15:38:22', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-25 15:38:22.000000', '2015-08-25', '2015-08-25 15:38:22', '2015-08-25 15:38:22', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-25', '2015-08-25 15:38:22', '2015-08-25 15:38:22', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-25 15:38:22.000000', '2015-08-25', '2015-08-25 15:38:22', '2015-08-25 15:38:22', 16804933, 816972181)  (0.5ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.9ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:22.111552"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:22.120831"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-18 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (6.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-25 15:38:22', '2015-08-25 15:38:22', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-25 15:38:22', '2015-08-25 15:38:22', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 15:38:22.000000', '2015-08-25 15:38:22', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 15:38:22.000000', '2015-08-25 15:38:22', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 15:38:22.000000', '2015-08-25 15:38:22', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 15:38:22.000000', '2015-08-25 15:38:22', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-25 15:38:22', '2015-08-25 15:38:22', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-25 15:38:22', '2015-08-25 15:38:22', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-25 15:38:22', '2015-08-25 15:38:22', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-25 15:38:22', '2015-08-25 15:38:22', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-25 15:38:22', '2015-08-25 15:38:22', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-25 15:38:22', '2015-08-25 15:38:22', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-25 15:38:22', '2015-08-25 15:38:22', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-25 15:38:22', '2015-08-25 15:38:22', 10484799) Fixture Delete (0.6ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-25 15:38:22', '2015-08-25 15:38:22', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-25 15:38:22', '2015-08-25 15:38:22', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.6ms) Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-25 23:59:59.999999' AND created_at >= '2015-08-25 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.9ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:22.407687"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-25 23:59:59.999999' AND created_at >= '2015-08-25 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:22.414922"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:22.420204"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:22.422739"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:22.435431"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:22.444385"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:22.448693"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 15:38:22.480901"], ["updated_at", "2015-08-25 15:38:22.480901"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 15:38:22.483879"], ["updated_at", "2015-08-25 15:38:22.483879"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 15:38:22.490929"], ["updated_at", "2015-08-25 15:38:22.490929"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 15:38:22.494141"], ["updated_at", "2015-08-25 15:38:22.494141"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 15:38:22.509589"], ["updated_at", "2015-08-25 15:38:22.509589"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 15:38:22.512737"], ["updated_at", "2015-08-25 15:38:22.512737"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 15:38:22.519817"], ["updated_at", "2015-08-25 15:38:22.519817"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 15:38:22.522365"], ["updated_at", "2015-08-25 15:38:22.522365"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.8ms) Date: Tue, 25 Aug 2015 10:38:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc8beea3704_143863fcc4d8602002993@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 42.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Tue, 25 Aug 2015 10:38:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc8beea4b1d_143863fcc4d8602003042@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.7ms) Date: Tue, 25 Aug 2015 10:38:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc8beea60b7_143863fcc4d86020031e@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.9ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:22.711341"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:22.719557"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:22.722587"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-18 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 15:38:22.731850') AND ("social_networking_goals"."due_on" >= '2015-08-24 15:38:22.731886')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 15:38:22.734476') AND ("social_networking_goals"."due_on" >= '2015-08-24 15:38:22.734493') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 15:38:22.736412') AND ("social_networking_goals"."due_on" >= '2015-08-24 15:38:22.736427')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-25"], ["completed_at", "2015-08-23 00:00:00.000000"], ["created_at", "2015-08-25 15:38:22.739691"], ["updated_at", "2015-08-25 15:38:22.739691"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-25 15:38:22.743942"], ["updated_at", "2015-08-25 15:38:22.743942"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-26"], ["created_at", "2015-08-25 15:38:22.748837"], ["updated_at", "2015-08-25 15:38:22.748837"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.4ms) Sent mail to obama@ex.co (2.5ms) Date: Tue, 25 Aug 2015 10:38:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc8beec1d57_143863fcc4d8602003250@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 40.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.7ms) Date: Tue, 25 Aug 2015 10:38:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc8beec32d2_143863fcc4d86020033aa@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 4.0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Tue, 25 Aug 2015 10:38:22 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc8beec47bb_143863fcc4d8602003418@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-25 15:38:22.866142"], ["updated_at", "2015-08-25 15:38:22.866142"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-25 15:38:22.868794"], ["updated_at", "2015-08-25 15:38:22.868794"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (2.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-25 15:38:52', '2015-08-25 15:38:52', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-25', '2015-08-25 15:38:52', '2015-08-25 15:38:52', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-25 15:38:52.000000', '2015-08-25', '2015-08-25 15:38:52', '2015-08-25 15:38:52', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-25', '2015-08-25 15:38:52', '2015-08-25 15:38:52', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-25 15:38:52', '2015-08-25 15:38:52', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-25 15:38:52.000000', '2015-08-25', '2015-08-25 15:38:52', '2015-08-25 15:38:52', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-24', '2015-08-25 15:38:52', '2015-08-25 15:38:52', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-23', '2015-08-25 15:38:52', '2015-08-25 15:38:52', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-25 15:38:52.000000', '2015-08-25', '2015-08-25 15:38:52', '2015-08-25 15:38:52', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-25', '2015-08-25 15:38:52', '2015-08-25 15:38:52', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-25 15:38:52.000000', '2015-08-25', '2015-08-25 15:38:52', '2015-08-25 15:38:52', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-25', '2015-08-25 15:38:52', '2015-08-25 15:38:52', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-25 15:38:52.000000', '2015-08-25', '2015-08-25 15:38:52', '2015-08-25 15:38:52', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-25 15:38:52', '2015-08-25 15:38:52', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 15:38:52.000000', '2015-08-25 15:38:52', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 15:38:52.000000', '2015-08-25 15:38:52', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 15:38:52.000000', '2015-08-25 15:38:52', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 15:38:52.000000', '2015-08-25 15:38:52', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-25 15:38:52', '2015-08-25 15:38:52', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-25 15:38:52', '2015-08-25 15:38:52', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-25 15:38:52', '2015-08-25 15:38:52', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-25 15:38:52', '2015-08-25 15:38:52', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-25 15:38:52', '2015-08-25 15:38:52', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-25 15:38:52', '2015-08-25 15:38:52', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-25 15:38:52', '2015-08-25 15:38:52', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-25 15:38:52', '2015-08-25 15:38:52', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-25 15:38:52', '2015-08-25 15:38:52', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-25 15:38:52', '2015-08-25 15:38:52', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (2.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 15:38:52.924147"], ["updated_at", "2015-08-25 15:38:52.924147"]] SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 15:38:52.927378"], ["updated_at", "2015-08-25 15:38:52.927378"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 15:38:52.946116"], ["updated_at", "2015-08-25 15:38:52.946116"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 15:38:52.948785"], ["updated_at", "2015-08-25 15:38:52.948785"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 15:38:52.954938"], ["updated_at", "2015-08-25 15:38:52.954938"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 15:38:52.956961"], ["updated_at", "2015-08-25 15:38:52.956961"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.3ms) ROLLBACK  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-25 15:38:52.975571"], ["updated_at", "2015-08-25 15:38:52.975571"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-25 15:38:52.978841"], ["updated_at", "2015-08-25 15:38:52.978841"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:53.096464"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:53.100476"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:53.109778"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:53.128163"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:53.141243"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (1.6ms) Sent mail to obama@ex.co (11.0ms) Date: Tue, 25 Aug 2015 10:38:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc8c0d6097e_143a13fdafc46020061592@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 229.1ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.4ms) Date: Tue, 25 Aug 2015 10:38:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc8c0d62c12_143a13fdafc46020061669@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Tue, 25 Aug 2015 10:38:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc8c0d63c17_143a13fdafc46020061753@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.0ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:53.531818"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:53.534943"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:53.543233"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-26"], ["created_at", "2015-08-25 15:38:53.550427"], ["updated_at", "2015-08-25 15:38:53.550427"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-25"], ["completed_at", "2015-08-23 00:00:00.000000"], ["created_at", "2015-08-25 15:38:53.555533"], ["updated_at", "2015-08-25 15:38:53.555533"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-25 15:38:53.560372"], ["updated_at", "2015-08-25 15:38:53.560372"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 15:38:53.563281') AND ("social_networking_goals"."due_on" >= '2015-08-24 15:38:53.563314') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 15:38:53.566698') AND ("social_networking_goals"."due_on" >= '2015-08-24 15:38:53.566719')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-25 15:38:53.568485') AND ("social_networking_goals"."due_on" >= '2015-08-24 15:38:53.568505')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.4ms) Date: Tue, 25 Aug 2015 10:38:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc8c0da7115_143a13fdafc46020061875@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 44.5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Tue, 25 Aug 2015 10:38:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc8c0da850e_143a13fdafc46020061930@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Tue, 25 Aug 2015 10:38:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc8c0da9604_143a13fdafc46020062085@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-25 15:38:53.891592"], ["updated_at", "2015-08-25 15:38:53.891592"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-25 15:38:53.900156"], ["updated_at", "2015-08-25 15:38:53.900156"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-25 15:38:53.903328"], ["updated_at", "2015-08-25 15:38:53.903328"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (2.8ms) Date: Tue, 25 Aug 2015 10:38:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc8c0de6f79_143a13fdafc46020062124@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 40.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Tue, 25 Aug 2015 10:38:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc8c0de8388_143a13fdafc4602006223c@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.7ms  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.9ms) Date: Tue, 25 Aug 2015 10:38:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55dc8c0de9d47_143a13fdafc46020062327@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 4.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-18 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:53.989917"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:53.993125"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-25 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:54.001231"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-25 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-25 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 10:38:54 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.5ms) Completed 200 OK in 72ms (Views: 51.3ms | ActiveRecord: 4.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-25 10:38:54 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-25 10:38:54 -0500 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-25 10:38:54 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Aug 25 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-25 15:38:54.936018"], ["updated_at", "2015-08-25 15:38:54.938822"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 10:38:54 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 2.0ms | ActiveRecord: 1.8ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 10:38:55 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.6ms | ActiveRecord: 1.6ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-25 10:38:55 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-22", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-22"], ["updated_at", "2015-08-25 15:38:55.294040"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 2.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 10:38:55 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 13ms (Views: 1.8ms | ActiveRecord: 1.6ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-25 10:38:55 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-08", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-08"], ["created_at", "2015-08-25 15:38:55.538508"], ["updated_at", "2015-08-25 15:38:55.538508"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-25 15:38:55.544603"], ["updated_at", "2015-08-25 15:38:55.544603"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 3.2ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-25 10:38:55 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298885], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 21ms (Views: 1.9ms | ActiveRecord: 2.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-25 10:38:55 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Aug 25 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-25 15:38:55.781848"], ["updated_at", "2015-08-25 15:38:55.784427"], ["id", 809335042]]  (1.4ms) COMMIT  (0.3ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-25 15:38:55.789578"], ["updated_at", "2015-08-25 15:38:55.789578"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 4.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (1.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-25', '2015-08-25 15:38:55', '2015-08-25 15:38:55', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-25 15:38:55.000000', '2015-08-25', '2015-08-25 15:38:55', '2015-08-25 15:38:55', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-25', '2015-08-25 15:38:55', '2015-08-25 15:38:55', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-25 15:38:55', '2015-08-25 15:38:55', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-25 15:38:55.000000', '2015-08-25', '2015-08-25 15:38:55', '2015-08-25 15:38:55', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-24', '2015-08-25 15:38:55', '2015-08-25 15:38:55', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-23', '2015-08-25 15:38:55', '2015-08-25 15:38:55', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-25 15:38:55.000000', '2015-08-25', '2015-08-25 15:38:55', '2015-08-25 15:38:55', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-25', '2015-08-25 15:38:55', '2015-08-25 15:38:55', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-25 15:38:55.000000', '2015-08-25', '2015-08-25 15:38:55', '2015-08-25 15:38:55', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-25', '2015-08-25 15:38:55', '2015-08-25 15:38:55', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-25 15:38:55.000000', '2015-08-25', '2015-08-25 15:38:55', '2015-08-25 15:38:55', 16804933, 816972181)  (0.3ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-18 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:55.865282"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-17 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:55.868495"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-18 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-25 23:59:59.999999' AND created_at >= '2015-08-25 00:00:00.000000') Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:55.877200"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-25 23:59:59.999999' AND created_at >= '2015-08-25 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-24 00:00:00.000000"], ["updated_at", "2015-08-25 15:38:55.883470"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-25 15:38:55.888634"], ["updated_at", "2015-08-25 15:38:55.888634"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-25 15:38:55.891536"], ["updated_at", "2015-08-25 15:38:55.891536"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (1.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-25 15:38:55', '2015-08-25 15:38:55', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-25 15:38:55', '2015-08-25 15:38:55', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 15:38:55.000000', '2015-08-25 15:38:55', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 15:38:55.000000', '2015-08-25 15:38:55', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-24 15:38:55.000000', '2015-08-25 15:38:55', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 15:38:55.000000', '2015-08-25 15:38:55', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-25 15:38:55', '2015-08-25 15:38:55', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-25 15:38:55', '2015-08-25 15:38:55', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-25 15:38:55', '2015-08-25 15:38:55', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-25 15:38:55', '2015-08-25 15:38:55', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-25 15:38:55', '2015-08-25 15:38:55', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-25 15:38:55', '2015-08-25 15:38:55', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-25 15:38:55', '2015-08-25 15:38:55', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-25 15:38:55', '2015-08-25 15:38:55', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-25 15:38:55', '2015-08-25 15:38:55', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-25 15:38:55', '2015-08-25 15:38:55', 809335042, 'SocialNetworking::Goal', 809335042)  (0.7ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (5.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (19.8ms) DELETE FROM "participants" Fixture Insert (1.0ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-08-26 19:43:47', '2015-08-26 19:43:47', 700141617) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-08-26 19:43:47', '2015-08-26 19:43:47', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-08-26 19:43:47', '2015-08-26 19:43:47', 129315074)  (0.4ms) COMMIT  (3.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (3.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.1ms) BEGIN  (14.9ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (11.5ms) COMMIT Migrating to AddParticipantFields (2)  (5.8ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.5ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (5.7ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (20.0ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (5.1ms) COMMIT Migrating to AddNullFalseToArms (5)  (5.8ms) BEGIN  (0.3ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.2ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (11.8ms) COMMIT Migrating to AddHasWozToArm (6)  (0.1ms) BEGIN  (14.5ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (6.4ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (6.1ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.1ms) BEGIN  (7.8ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.6ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (0.7ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (6.2ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (6.2ms) BEGIN  (16.6ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.0ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (5.7ms) BEGIN  (14.6ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (5.1ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (6.0ms) BEGIN  (16.1ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (1.5ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (5.4ms) BEGIN  (13.9ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (5.1ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (5.9ms) BEGIN  (14.3ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.4ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (6.0ms) BEGIN  (7.8ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (6.0ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (5.8ms) BEGIN  (14.5ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (5.1ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (5.9ms) BEGIN  (14.0ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.1ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (5.0ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (5.8ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (1.0ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (5.5ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (6.2ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.2ms) BEGIN  (6.7ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (5.9ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.2ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (13.7ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (6.4ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.2ms) BEGIN  (14.1ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (6.5ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (11.6ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.1ms) BEGIN  (6.6ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (5.6ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.1ms) BEGIN  (7.1ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (5.6ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (6.1ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.1ms) BEGIN SQL (0.6ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2015-08-26 19:43:55.150477"], ["updated_at", "2015-08-26 19:43:55.150477"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2015-08-26 19:43:55.153738"], ["updated_at", "2015-08-26 19:43:55.153738"]] SQL (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2015-08-26 19:43:55.155332"], ["updated_at", "2015-08-26 19:43:55.155332"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2015-08-26 19:43:55.157610"], ["updated_at", "2015-08-26 19:43:55.157610"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2015-08-26 19:43:55.159423"], ["updated_at", "2015-08-26 19:43:55.159423"]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (4.9ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.1ms) BEGIN  (1.1ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (5.6ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (6.0ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.1ms) BEGIN SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (5.9ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (7.5ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (6.2ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.2ms) BEGIN SocialNetworking::SharedItem Load (0.6ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (5.6ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.1ms) BEGIN  (7.6ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (5.9ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (5.9ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (6.0ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (6.0ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (5.4ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (5.8ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (5.8ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (5.9ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.1ms) BEGIN  (6.9ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (6.1ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.1ms) BEGIN  (6.8ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (5.7ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.1ms) BEGIN  (6.3ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (6.4ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (5.9ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.1ms) BEGIN  (6.3ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (7.3ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (6.7ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.5ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.2ms) BEGIN  (6.9ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (11.2ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (4.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.5ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (3.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-08-26 00:00:00.000000"], ["updated_at", "2015-08-26 19:44:13.428004"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (4.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.3ms) COMMIT  (3.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-08-26 00:00:00.000000"], ["updated_at", "2015-08-26 19:44:39.198450"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (3.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-08-26 00:00:00.000000"], ["updated_at", "2015-08-26 19:44:47.927207"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (3.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-08-26"], ["created_at", "2015-08-26 19:45:15.166651"], ["updated_at", "2015-08-26 19:45:15.166651"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (2.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.3ms) COMMIT  (1.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (2.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (2.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.3ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-08-26"], ["created_at", "2015-08-26 19:46:58.666221"], ["updated_at", "2015-08-26 19:46:58.666221"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (3.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.5ms) COMMIT  (1.8ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-08-26"], ["created_at", "2015-08-26 19:48:11.843880"], ["updated_at", "2015-08-26 19:48:11.843880"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-08-26 19:48:11.854120"], ["updated_at", "2015-08-26 19:48:11.854120"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (4.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.3ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-08-26"], ["created_at", "2015-08-26 19:48:27.915846"], ["updated_at", "2015-08-26 19:48:27.915846"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-08-26 19:48:27.925801"], ["updated_at", "2015-08-26 19:48:27.925801"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (2.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.3ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-08-26 19:48:36.938711"], ["updated_at", "2015-08-26 19:48:36.938711"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-08-26"], ["created_at", "2015-08-26 19:48:36.946681"], ["updated_at", "2015-08-26 19:48:36.946681"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (3.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-08-26"], ["created_at", "2015-08-26 19:48:46.638244"], ["updated_at", "2015-08-26 19:48:46.638244"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-08-26 19:48:46.649239"], ["updated_at", "2015-08-26 19:48:46.649239"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (4.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.5ms) COMMIT  (1.0ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-26 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-26 23:59:59.999999') Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-26 00:00:00.000000"], ["updated_at", "2015-08-26 19:51:32.262928"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-26 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-26 23:59:59.999999')  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-19 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-25 00:00:00.000000"], ["updated_at", "2015-08-26 19:51:32.299126"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-18 00:00:00.000000"], ["updated_at", "2015-08-26 19:51:32.302233"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-19 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-26 19:51:32.308067"], ["updated_at", "2015-08-26 19:51:32.308067"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-26"], ["completed_at", "2015-08-24 00:00:00.000000"], ["created_at", "2015-08-26 19:51:32.315747"], ["updated_at", "2015-08-26 19:51:32.315747"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-27"], ["created_at", "2015-08-26 19:51:32.320371"], ["updated_at", "2015-08-26 19:51:32.320371"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-26 19:51:32', '2015-08-26 19:51:32', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-26', '2015-08-26 19:51:32', '2015-08-26 19:51:32', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-26 19:51:32.000000', '2015-08-26', '2015-08-26 19:51:32', '2015-08-26 19:51:32', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-26', '2015-08-26 19:51:32', '2015-08-26 19:51:32', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-26 19:51:32', '2015-08-26 19:51:32', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-26 19:51:32.000000', '2015-08-26', '2015-08-26 19:51:32', '2015-08-26 19:51:32', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-25', '2015-08-26 19:51:32', '2015-08-26 19:51:32', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-24', '2015-08-26 19:51:32', '2015-08-26 19:51:32', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-26 19:51:32.000000', '2015-08-26', '2015-08-26 19:51:32', '2015-08-26 19:51:32', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-26', '2015-08-26 19:51:32', '2015-08-26 19:51:32', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-26 19:51:32.000000', '2015-08-26', '2015-08-26 19:51:32', '2015-08-26 19:51:32', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-26', '2015-08-26 19:51:32', '2015-08-26 19:51:32', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-26 19:51:32.000000', '2015-08-26', '2015-08-26 19:51:32', '2015-08-26 19:51:32', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-26 19:51:32', '2015-08-26 19:51:32', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.7ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.5ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 19:51:32.000000', '2015-08-26 19:51:32', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-26 19:51:32.000000', '2015-08-26 19:51:32', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-25 19:51:32.000000', '2015-08-26 19:51:32', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-26 19:51:32.000000', '2015-08-26 19:51:32', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-26 19:51:32', '2015-08-26 19:51:32', 576803333, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-26 19:51:32', '2015-08-26 19:51:32', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-26 19:51:32', '2015-08-26 19:51:32', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-26 19:51:32', '2015-08-26 19:51:32', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-26 19:51:32', '2015-08-26 19:51:32', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-26 19:51:32', '2015-08-26 19:51:32', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-26 19:51:32', '2015-08-26 19:51:32', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-26 19:51:32', '2015-08-26 19:51:32', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-26 19:51:32', '2015-08-26 19:51:32', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-26 19:51:32', '2015-08-26 19:51:32', 809335042, 'SocialNetworking::Goal', 809335042)  (6.0ms) COMMIT  (19.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-26 19:51:32.440521') AND ("social_networking_goals"."due_on" >= '2015-08-25 19:51:32.440576')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-26 19:51:32.448822') AND ("social_networking_goals"."due_on" >= '2015-08-25 19:51:32.448864') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-26 19:51:32.453207') AND ("social_networking_goals"."due_on" >= '2015-08-25 19:51:32.453232')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-08-26"], ["created_at", "2015-08-26 19:51:32.457407"], ["updated_at", "2015-08-26 19:51:32.457407"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-08-26 19:51:32.462262"], ["updated_at", "2015-08-26 19:51:32.462262"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (5.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_nudges.html.erb (74.7ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.1ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_nudges.html.erb (46.8ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.1ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.2ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_nudges.html.erb (40.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.3ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_nudges.html.erb (40.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.3ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_nudges.html.erb (43.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.3ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_nudges.html.erb (41.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.8ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.8ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (3.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_nudges.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (2.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.8ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.2ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_nudges.html.erb (43.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (2.1ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.8ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (66.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (61.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (2.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateMembership (20150831152253)  (0.1ms) BEGIN  (5.1ms) CREATE TABLE "memberships" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150831152253"]]  (1.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'memberships' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'memberships' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'memberships' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (23.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (3.6ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (13.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (5.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (13.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (2.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (9.8ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (3.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'memberships' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (4.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (3.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (7.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (1.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (7.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.5ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-31 16:48:45', '2015-08-31 16:48:45', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.7ms) DELETE FROM "social_networking_goals" Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-31', '2015-08-31 16:48:45', '2015-08-31 16:48:45', 809335042, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-31 16:48:45.000000', '2015-08-31', '2015-08-31 16:48:45', '2015-08-31 16:48:45', 576699391, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-31', '2015-08-31 16:48:45', '2015-08-31 16:48:45', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-31 16:48:45', '2015-08-31 16:48:45', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-31 16:48:45.000000', '2015-08-31', '2015-08-31 16:48:45', '2015-08-31 16:48:45', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-30', '2015-08-31 16:48:45', '2015-08-31 16:48:45', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-29', '2015-08-31 16:48:45', '2015-08-31 16:48:45', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-31 16:48:45.000000', '2015-08-31', '2015-08-31 16:48:45', '2015-08-31 16:48:45', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-31', '2015-08-31 16:48:45', '2015-08-31 16:48:45', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-31 16:48:45.000000', '2015-08-31', '2015-08-31 16:48:45', '2015-08-31 16:48:45', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-31', '2015-08-31 16:48:45', '2015-08-31 16:48:45', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-31 16:48:45.000000', '2015-08-31', '2015-08-31 16:48:45', '2015-08-31 16:48:45', 16804933, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-31 16:48:45', '2015-08-31 16:48:45', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.8ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-30 16:48:45.000000', '2015-08-31 16:48:45', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-31 16:48:45.000000', '2015-08-31 16:48:45', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-30 16:48:45.000000', '2015-08-31 16:48:45', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-31 16:48:45.000000', '2015-08-31 16:48:45', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-31 16:48:45', '2015-08-31 16:48:45', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-31 16:48:45', '2015-08-31 16:48:45', 369066228, 816972181) Fixture Delete (0.9ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-31 16:48:45', '2015-08-31 16:48:45', 465319974, 333620620) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-31 16:48:45', '2015-08-31 16:48:45', 45443486, 333620620) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-31 16:48:45', '2015-08-31 16:48:45', 10484799, 183235640) Fixture Delete (0.5ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-31 16:48:45', '2015-08-31 16:48:45', 781294868) Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-31 16:48:45', '2015-08-31 16:48:45', 932760744) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-31 16:48:45', '2015-08-31 16:48:45', 10484799) Fixture Delete (0.6ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-31 16:48:45', '2015-08-31 16:48:45', 183235640, 816972181) Fixture Delete (0.7ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.4ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-31 16:48:45', '2015-08-31 16:48:45', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-31 16:48:45.527564"], ["updated_at", "2015-08-31 16:48:45.527564"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-31 16:48:45.537583"], ["updated_at", "2015-08-31 16:48:45.537583"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-31 16:48:45.540616"], ["updated_at", "2015-08-31 16:48:45.540616"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-31 16:48:45.552763"], ["updated_at", "2015-08-31 16:48:45.552763"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-31 16:48:45.555379"], ["updated_at", "2015-08-31 16:48:45.555379"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-31 16:48:45.579028"], ["updated_at", "2015-08-31 16:48:45.579028"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-31 16:48:45.581571"], ["updated_at", "2015-08-31 16:48:45.581571"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-31 16:48:45.587603"], ["updated_at", "2015-08-31 16:48:45.587603"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-31 16:48:45.590023"], ["updated_at", "2015-08-31 16:48:45.590023"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-31 16:48:45.606874"], ["updated_at", "2015-08-31 16:48:45.606874"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-31 16:48:45.609192"], ["updated_at", "2015-08-31 16:48:45.609192"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-31 16:48:45.614492"], ["updated_at", "2015-08-31 16:48:45.614492"]] SQL (0.1ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-31 16:48:45.616606"], ["updated_at", "2015-08-31 16:48:45.616606"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.5ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (8.8ms) Date: Mon, 31 Aug 2015 11:48:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4856dd670c_2ba53ffa86060200557fe@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 243.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Mon, 31 Aug 2015 11:48:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4856dd82fd_2ba53ffa86060200558d9@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Mon, 31 Aug 2015 11:48:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4856dd99c1_2ba53ffa86060200559c7@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-31 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-08-31 16:48:45.957502"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-31 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-30 00:00:00.000000"], ["updated_at", "2015-08-31 16:48:45.965054"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-31 16:48:45.970739"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-24 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-31 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-08-31 16:48:46.140441"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-31 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-30 00:00:00.000000"], ["updated_at", "2015-08-31 16:48:46.147691"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-31 16:48:46.151048"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.9ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-30 00:00:00.000000"], ["updated_at", "2015-08-31 16:48:46.197870"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-31 16:48:46.200546"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-24 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-30 00:00:00.000000"], ["updated_at", "2015-08-31 16:48:46.207665"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-31 23:59:59.999999' AND created_at >= '2015-08-31 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-08-31 16:48:46.212815"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-31 23:59:59.999999' AND created_at >= '2015-08-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.5ms) Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.7ms) Sent mail to obama@ex.co (2.9ms) Date: Mon, 31 Aug 2015 11:48:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4856e46a9c_2ba53ffa8606020056026@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 43.7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Mon, 31 Aug 2015 11:48:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4856e47d47_2ba53ffa86060200561ed@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Mon, 31 Aug 2015 11:48:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4856e48da1_2ba53ffa860602005624c@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-31 11:48:47 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.6ms) Completed 200 OK in 93ms (Views: 66.9ms | ActiveRecord: 5.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-31 11:48:47 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-31 11:48:47 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-31 11:48:47 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-28", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-28"], ["updated_at", "2015-08-31 16:48:47.868033"], ["id", 53334230]]  (5.7ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 18ms (Views: 0.3ms | ActiveRecord: 7.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-31 11:48:47 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.1ms) Completed 200 OK in 19ms (Views: 3.1ms | ActiveRecord: 2.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-31 11:48:48 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 16ms (Views: 2.2ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-31 11:48:48 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Aug 31 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-31 16:48:48.275051"], ["updated_at", "2015-08-31 16:48:48.277795"], ["id", 809335042]]  (1.7ms) COMMIT  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-31 16:48:48.283543"], ["updated_at", "2015-08-31 16:48:48.283543"]]  (5.5ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 21ms (Views: 0.3ms | ActiveRecord: 9.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-31 11:48:48 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 17ms (Views: 2.1ms | ActiveRecord: 1.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-31 11:48:48 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-14", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-14"], ["created_at", "2015-08-31 16:48:48.481491"], ["updated_at", "2015-08-31 16:48:48.481491"]]  (1.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-31 16:48:48.486664"], ["updated_at", "2015-08-31 16:48:48.486664"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-31 11:48:48 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 18ms (Views: 2.4ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-31 11:48:48 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Aug 31 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-31 16:48:48.713815"], ["updated_at", "2015-08-31 16:48:48.717021"], ["id", 614371357]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 2.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (3.5ms) Date: Mon, 31 Aug 2015 11:48:48 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48570c1f37_2ba53ffa8606020056345@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 43.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Mon, 31 Aug 2015 11:48:48 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48570c35da_2ba53ffa8606020056478@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.9ms) Date: Mon, 31 Aug 2015 11:48:48 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48570c4b17_2ba53ffa86060200565c1@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 4.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.6ms) ROLLBACK  (1.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-31', '2015-08-31 16:48:48', '2015-08-31 16:48:48', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-31 16:48:48.000000', '2015-08-31', '2015-08-31 16:48:48', '2015-08-31 16:48:48', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-31', '2015-08-31 16:48:48', '2015-08-31 16:48:48', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-31 16:48:48', '2015-08-31 16:48:48', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-31 16:48:48.000000', '2015-08-31', '2015-08-31 16:48:48', '2015-08-31 16:48:48', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-30', '2015-08-31 16:48:48', '2015-08-31 16:48:48', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-29', '2015-08-31 16:48:48', '2015-08-31 16:48:48', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-31 16:48:48.000000', '2015-08-31', '2015-08-31 16:48:48', '2015-08-31 16:48:48', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-31', '2015-08-31 16:48:48', '2015-08-31 16:48:48', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-31 16:48:48.000000', '2015-08-31', '2015-08-31 16:48:48', '2015-08-31 16:48:48', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-31', '2015-08-31 16:48:48', '2015-08-31 16:48:48', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-31 16:48:48.000000', '2015-08-31', '2015-08-31 16:48:48', '2015-08-31 16:48:48', 16804933, 816972181)  (0.4ms) COMMIT  (1.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-31 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-08-31 16:48:48.849669"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-31 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-24 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-30 00:00:00.000000"], ["updated_at", "2015-08-31 16:48:48.861097"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-31 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-08-31 16:48:48.902166"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-31 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-24 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-30 00:00:00.000000"], ["updated_at", "2015-08-31 16:48:48.915635"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-31 16:48:48.919194"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-31 16:48:48.922975') AND ("social_networking_goals"."due_on" >= '2015-08-30 16:48:48.923007')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-31 16:48:48.925655') AND ("social_networking_goals"."due_on" >= '2015-08-30 16:48:48.925678') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-31 16:48:48.928995') AND ("social_networking_goals"."due_on" >= '2015-08-30 16:48:48.929018')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-31 16:48:48.935386"], ["updated_at", "2015-08-31 16:48:48.935386"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-31"], ["completed_at", "2015-08-29 00:00:00.000000"], ["created_at", "2015-08-31 16:48:48.939944"], ["updated_at", "2015-08-31 16:48:48.939944"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-01"], ["created_at", "2015-08-31 16:48:48.944178"], ["updated_at", "2015-08-31 16:48:48.944178"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-08-31"], ["created_at", "2015-08-31 16:48:48.948404"], ["updated_at", "2015-08-31 16:48:48.948404"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-08-31 16:48:48.952246"], ["updated_at", "2015-08-31 16:48:48.952246"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-31 16:48:48', '2015-08-31 16:48:48', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-31 16:48:48', '2015-08-31 16:48:48', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-30 16:48:48.000000', '2015-08-31 16:48:48', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-31 16:48:48.000000', '2015-08-31 16:48:48', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-30 16:48:48.000000', '2015-08-31 16:48:48', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-31 16:48:48.000000', '2015-08-31 16:48:48', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-31 16:48:48', '2015-08-31 16:48:48', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-31 16:48:48', '2015-08-31 16:48:48', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-31 16:48:48', '2015-08-31 16:48:48', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-31 16:48:48', '2015-08-31 16:48:48', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-31 16:48:48', '2015-08-31 16:48:48', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-31 16:48:48', '2015-08-31 16:48:48', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-31 16:48:48', '2015-08-31 16:48:48', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-31 16:48:48', '2015-08-31 16:48:48', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-31 16:48:48', '2015-08-31 16:48:48', 183235640, 816972181) Fixture Delete (0.1ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-31 16:48:48', '2015-08-31 16:48:48', 809335042, 'SocialNetworking::Goal', 809335042)  (0.3ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (3.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (7.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (9.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (8.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.1ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (2.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-31', '2015-08-31 17:21:32', '2015-08-31 17:21:32', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-31 17:21:32.000000', '2015-08-31', '2015-08-31 17:21:32', '2015-08-31 17:21:32', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-31', '2015-08-31 17:21:32', '2015-08-31 17:21:32', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-31 17:21:32', '2015-08-31 17:21:32', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-31 17:21:32.000000', '2015-08-31', '2015-08-31 17:21:32', '2015-08-31 17:21:32', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-30', '2015-08-31 17:21:32', '2015-08-31 17:21:32', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-29', '2015-08-31 17:21:32', '2015-08-31 17:21:32', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-31 17:21:32.000000', '2015-08-31', '2015-08-31 17:21:32', '2015-08-31 17:21:32', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-31', '2015-08-31 17:21:32', '2015-08-31 17:21:32', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-31 17:21:32.000000', '2015-08-31', '2015-08-31 17:21:32', '2015-08-31 17:21:32', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-31', '2015-08-31 17:21:32', '2015-08-31 17:21:32', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-31 17:21:32.000000', '2015-08-31', '2015-08-31 17:21:32', '2015-08-31 17:21:32', 16804933, 816972181)  (6.2ms) COMMIT  (2.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (1.0ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-24 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.7ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-30 00:00:00.000000"], ["updated_at", "2015-08-31 17:21:32.765603"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-31 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-08-31 17:21:32.812297"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-31 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-31 17:21:32', '2015-08-31 17:21:32', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-31 17:21:32', '2015-08-31 17:21:32', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-30 17:21:32.000000', '2015-08-31 17:21:32', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-31 17:21:32.000000', '2015-08-31 17:21:32', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-30 17:21:32.000000', '2015-08-31 17:21:32', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-31 17:21:32.000000', '2015-08-31 17:21:32', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-31 17:21:32', '2015-08-31 17:21:32', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-31 17:21:32', '2015-08-31 17:21:32', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-31 17:21:32', '2015-08-31 17:21:32', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-31 17:21:32', '2015-08-31 17:21:32', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-31 17:21:32', '2015-08-31 17:21:32', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-31 17:21:32', '2015-08-31 17:21:32', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-31 17:21:32', '2015-08-31 17:21:32', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-31 17:21:32', '2015-08-31 17:21:32', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-31 17:21:32', '2015-08-31 17:21:32', 183235640, 816972181) Fixture Delete (0.1ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-31 17:21:32', '2015-08-31 17:21:32', 809335042, 'SocialNetworking::Goal', 809335042)  (0.7ms) COMMIT  (1.8ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (2.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-30 00:00:00.000000"], ["updated_at", "2015-08-31 17:21:33.053087"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-31 17:21:33.056525"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-24 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-31 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-08-31 17:21:33.062997"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-31 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-31 17:21:33.171566"], ["updated_at", "2015-08-31 17:21:33.171566"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-31 17:21:33.180852"], ["updated_at", "2015-08-31 17:21:33.180852"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-31 17:21:33.184140"], ["updated_at", "2015-08-31 17:21:33.184140"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 12ms (Views: 10.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.6ms) Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-31 12:21:34 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.3ms) Completed 200 OK in 130ms (Views: 95.2ms | ActiveRecord: 5.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-31 12:21:34 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-31 12:21:34 -0500 SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-31 12:21:34 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Aug 31 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-31 17:21:34.791747"], ["updated_at", "2015-08-31 17:21:34.794607"], ["id", 809335042]]  (1.4ms) COMMIT  (0.3ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-31 17:21:34.801150"], ["updated_at", "2015-08-31 17:21:34.801150"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 6.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-31 12:21:34 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.2ms) Completed 200 OK in 21ms (Views: 3.2ms | ActiveRecord: 2.5ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-31 12:21:35 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-28", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-28"], ["updated_at", "2015-08-31 17:21:35.116709"], ["id", 53334230]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 1.8ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-31 12:21:35 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-31 12:21:35 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 19ms (Views: 2.3ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-31 12:21:35 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Aug 31 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-31 17:21:35.518480"], ["updated_at", "2015-08-31 17:21:35.521319"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-31 12:21:35 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 17ms (Views: 2.5ms | ActiveRecord: 1.8ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-31 12:21:35 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-14", "goal"=>{"description"=>"all of the things"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-14"], ["created_at", "2015-08-31 17:21:35.880190"], ["updated_at", "2015-08-31 17:21:35.880190"]]  (26.1ms) COMMIT  (0.3ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-31 17:21:35.913215"], ["updated_at", "2015-08-31 17:21:35.913215"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 43ms (Views: 0.2ms | ActiveRecord: 29.3ms)  (0.2ms) ROLLBACK  (1.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-31 17:21:35', '2015-08-31 17:21:35', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-31', '2015-08-31 17:21:35', '2015-08-31 17:21:35', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-31 17:21:35.000000', '2015-08-31', '2015-08-31 17:21:35', '2015-08-31 17:21:35', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-31', '2015-08-31 17:21:35', '2015-08-31 17:21:35', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-31 17:21:35', '2015-08-31 17:21:35', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-31 17:21:35.000000', '2015-08-31', '2015-08-31 17:21:35', '2015-08-31 17:21:35', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-30', '2015-08-31 17:21:35', '2015-08-31 17:21:35', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-29', '2015-08-31 17:21:35', '2015-08-31 17:21:35', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-31 17:21:35.000000', '2015-08-31', '2015-08-31 17:21:35', '2015-08-31 17:21:35', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-31', '2015-08-31 17:21:35', '2015-08-31 17:21:35', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-31 17:21:35.000000', '2015-08-31', '2015-08-31 17:21:35', '2015-08-31 17:21:35', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-31', '2015-08-31 17:21:35', '2015-08-31 17:21:35', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-31 17:21:35.000000', '2015-08-31', '2015-08-31 17:21:35', '2015-08-31 17:21:35', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-31 17:21:35', '2015-08-31 17:21:35', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-30 17:21:35.000000', '2015-08-31 17:21:35', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-31 17:21:35.000000', '2015-08-31 17:21:35', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-30 17:21:35.000000', '2015-08-31 17:21:35', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-31 17:21:35.000000', '2015-08-31 17:21:35', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-31 17:21:35', '2015-08-31 17:21:35', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-31 17:21:35', '2015-08-31 17:21:35', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-31 17:21:35', '2015-08-31 17:21:35', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-31 17:21:35', '2015-08-31 17:21:35', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-31 17:21:35', '2015-08-31 17:21:35', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-31 17:21:35', '2015-08-31 17:21:35', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-31 17:21:35', '2015-08-31 17:21:35', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-31 17:21:35', '2015-08-31 17:21:35', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-31 17:21:35', '2015-08-31 17:21:35', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-31 17:21:35', '2015-08-31 17:21:35', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.7ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-31 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-08-31 17:21:36.420290"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-31 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-24 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-30 00:00:00.000000"], ["updated_at", "2015-08-31 17:21:36.428462"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-31 17:21:36.431637"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-31 17:21:36.444171"], ["updated_at", "2015-08-31 17:21:36.444171"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-01"], ["created_at", "2015-08-31 17:21:36.448764"], ["updated_at", "2015-08-31 17:21:36.448764"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-31"], ["completed_at", "2015-08-29 00:00:00.000000"], ["created_at", "2015-08-31 17:21:36.457109"], ["updated_at", "2015-08-31 17:21:36.457109"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-31 17:21:36.461086') AND ("social_networking_goals"."due_on" >= '2015-08-30 17:21:36.461130') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-31 17:21:36.464637') AND ("social_networking_goals"."due_on" >= '2015-08-30 17:21:36.464658')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-31 17:21:36.466578') AND ("social_networking_goals"."due_on" >= '2015-08-30 17:21:36.466597')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-08-31 17:21:36.470452"], ["updated_at", "2015-08-31 17:21:36.470452"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-08-31"], ["created_at", "2015-08-31 17:21:36.474927"], ["updated_at", "2015-08-31 17:21:36.474927"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-31 17:21:36.482297"], ["updated_at", "2015-08-31 17:21:36.482297"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-31 17:21:36.484640"], ["updated_at", "2015-08-31 17:21:36.484640"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-31 17:21:36.490490"], ["updated_at", "2015-08-31 17:21:36.490490"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-31 17:21:36.492618"], ["updated_at", "2015-08-31 17:21:36.492618"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-31 17:21:36.498788"], ["updated_at", "2015-08-31 17:21:36.498788"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-31 17:21:36.500866"], ["updated_at", "2015-08-31 17:21:36.500866"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-31 17:21:36.513915"], ["updated_at", "2015-08-31 17:21:36.513915"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-31 17:21:36.516235"], ["updated_at", "2015-08-31 17:21:36.516235"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-30 00:00:00.000000"], ["updated_at", "2015-08-31 17:21:36.550409"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-30 00:00:00.000000"], ["updated_at", "2015-08-31 17:21:36.555742"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-31 17:21:36.558365"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-31 23:59:59.999999' AND created_at >= '2015-08-31 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-08-31 17:21:36.564704"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-31 23:59:59.999999' AND created_at >= '2015-08-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (8.7ms) Date: Mon, 31 Aug 2015 12:21:36 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48d20d2d61_3caa3ffa5c86020499913@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 236.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.3ms) Date: Mon, 31 Aug 2015 12:21:36 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48d20d4d09_3caa3ffa5c8602041000a0@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.4ms) Date: Mon, 31 Aug 2015 12:21:36 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48d20d5f80_3caa3ffa5c8602041001f1@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-24 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-30 00:00:00.000000"], ["updated_at", "2015-08-31 17:21:36.954883"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-31 17:21:36.959177"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-31 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-08-31 17:21:36.966508"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-31 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-31 17:21:36.975474"], ["updated_at", "2015-08-31 17:21:36.975474"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-31 17:21:36.978104"], ["updated_at", "2015-08-31 17:21:36.978104"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.4ms) Date: Mon, 31 Aug 2015 12:21:37 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48d217c7b_3caa3ffa5c860204100224@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 40.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Mon, 31 Aug 2015 12:21:37 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48d218fd5_3caa3ffa5c86020410031e@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.9ms) Date: Mon, 31 Aug 2015 12:21:37 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48d21ab80_3caa3ffa5c8602041004a3@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 6.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (2.4ms) Date: Mon, 31 Aug 2015 12:21:37 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48d21561c5_3caa3ffa5c8602041005d7@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 39.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.6ms) Date: Mon, 31 Aug 2015 12:21:37 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48d2157604_3caa3ffa5c8602041006b4@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Mon, 31 Aug 2015 12:21:37 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48d2158881_3caa3ffa5c86020410076@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_on_the_mind_statements" does not exist LINE 5: WHERE a.attrelid = '"social_networking_on_the... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_on_the_mind_statements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "participants" Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (1.5ms) Sent mail to obama@ex.co (6.5ms) Date: Mon, 31 Aug 2015 12:30:13 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48f25aa98_44563fc7518601fc53c6@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 204.0ms  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.0ms) Date: Mon, 31 Aug 2015 12:30:13 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48f25cf32_44563fc7518601fc5424@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 6.4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.2ms) Date: Mon, 31 Aug 2015 12:30:13 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48f25e999_44563fc7518601fc559c@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 4.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (2.6ms) Date: Mon, 31 Aug 2015 12:30:13 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48f25299d4_44563fc7518601fc566@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 47.7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Mon, 31 Aug 2015 12:30:13 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48f252ab7e_44563fc7518601fc579e@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Mon, 31 Aug 2015 12:30:13 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48f252bb4c_44563fc7518601fc5814@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.7ms) Sent mail to obama@ex.co (2.9ms) Date: Mon, 31 Aug 2015 12:30:13 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48f2535c01_44563fc7518601fc59d6@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 39.5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Mon, 31 Aug 2015 12:30:13 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48f2537003_44563fc7518601fc60ef@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.5ms) Date: Mon, 31 Aug 2015 12:30:13 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48f253865b_44563fc7518601fc6188@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 4.1ms  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (43.5ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (34.6ms)  (0.1ms) ROLLBACK  (0.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_on_the_mind_statements" does not exist LINE 5: WHERE a.attrelid = '"social_networking_on_the... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_on_the_mind_statements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_on_the_mind_statements" does not exist LINE 5: WHERE a.attrelid = '"social_networking_on_the... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_on_the_mind_statements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (1.4ms) COMMIT  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.5ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_shared_items" does not exist LINE 5: WHERE a.attrelid = '"social_networking_shared... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_shared_items"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (44.5ms)  (0.1ms) ROLLBACK  (0.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.3ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_shared_items" does not exist LINE 5: WHERE a.attrelid = '"social_networking_shared... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_shared_items"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'memberships' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (0.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.3ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (1.5ms) Sent mail to obama@ex.co (6.5ms) Date: Mon, 31 Aug 2015 12:30:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48f4d82e15_446c3fc73c8601f8584e9@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 249.9ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Mon, 31 Aug 2015 12:30:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48f4d84861_446c3fc73c8601f858530@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.2ms) Date: Mon, 31 Aug 2015 12:30:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48f4d86916_446c3fc73c8601f858622@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 6.5ms  (0.2ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_shared_items" does not exist LINE 5: WHERE a.attrelid = '"social_networking_shared... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_shared_items"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.5ms) Date: Mon, 31 Aug 2015 12:30:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48f4dc3348_446c3fc73c8601f8587e0@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 45.9ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Mon, 31 Aug 2015 12:30:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48f4dc459e_446c3fc73c8601f858888@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.7ms) Date: Mon, 31 Aug 2015 12:30:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48f4dc5830_446c3fc73c8601f858949@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (2.6ms) Date: Mon, 31 Aug 2015 12:30:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48f4dd19b3_446c3fc73c8601f8590e4@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 41.6ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Mon, 31 Aug 2015 12:30:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48f4dd2d9d_446c3fc73c8601f859151@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.6ms) Date: Mon, 31 Aug 2015 12:30:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48f4dd40b1_446c3fc73c8601f859255@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (40.4ms)  (0.2ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "participants" Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "participants" Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.3ms) COMMIT  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.6ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_shared_items" does not exist LINE 5: WHERE a.attrelid = '"social_networking_shared... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_shared_items"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (41.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (37.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_on_the_mind_statements" does not exist LINE 5: WHERE a.attrelid = '"social_networking_on_the... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_on_the_mind_statements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_on_the_mind_statements" does not exist LINE 5: WHERE a.attrelid = '"social_networking_on_the... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_on_the_mind_statements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_on_the_mind_statements" does not exist LINE 5: WHERE a.attrelid = '"social_networking_on_the... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_on_the_mind_statements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.4ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (4.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'memberships' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.3ms) COMMIT  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_on_the_mind_statements" does not exist LINE 5: WHERE a.attrelid = '"social_networking_on_the... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_on_the_mind_statements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_on_the_mind_statements" does not exist LINE 5: WHERE a.attrelid = '"social_networking_on_the... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_on_the_mind_statements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_on_the_mind_statements" does not exist LINE 5: WHERE a.attrelid = '"social_networking_on_the... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_on_the_mind_statements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (37.7ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (36.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.7ms) Sent mail to obama@ex.co (6.6ms) Date: Mon, 31 Aug 2015 12:32:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48fbe67681_456c3fcff486020036b5@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 203.8ms  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.1ms) Date: Mon, 31 Aug 2015 12:32:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48fbe69acc_456c3fcff48602003747@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 5.4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Mon, 31 Aug 2015 12:32:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48fbe6b002_456c3fcff486020038df@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.5ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_shared_items" does not exist LINE 5: WHERE a.attrelid = '"social_networking_shared... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_shared_items"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.5ms) Date: Mon, 31 Aug 2015 12:32:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48fbec509b_456c3fcff48602003960@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 38.1ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.0ms) Date: Mon, 31 Aug 2015 12:32:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48fbec6c94_456c3fcff4860200408@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 6.2ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.9ms) Date: Mon, 31 Aug 2015 12:32:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48fbec89e5_456c3fcff48602004130@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 4.5ms  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (36.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.5ms) Date: Mon, 31 Aug 2015 12:32:47 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48fbf1388_456c3fcff486020042b4@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 40.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Mon, 31 Aug 2015 12:32:47 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48fbf26b7_456c3fcff48602004355@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.1ms) Date: Mon, 31 Aug 2015 12:32:47 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e48fbf37f4_456c3fcff48602004483@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_shared_items" does not exist LINE 5: WHERE a.attrelid = '"social_networking_shared... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_shared_items"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'memberships' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'memberships' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_on_the_mind_statements" does not exist LINE 5: WHERE a.attrelid = '"social_networking_on_the... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_on_the_mind_statements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.4ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (1.7ms) COMMIT  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_on_the_mind_statements" does not exist LINE 5: WHERE a.attrelid = '"social_networking_on_the... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_on_the_mind_statements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_on_the_mind_statements" does not exist LINE 5: WHERE a.attrelid = '"social_networking_on_the... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_on_the_mind_statements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (43.3ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (39.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (6.5ms) Date: Mon, 31 Aug 2015 12:35:25 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4905db88d5_470d3fccf54601fc425@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 206.1ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.3ms) Date: Mon, 31 Aug 2015 12:35:25 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4905dba37e_470d3fccf54601fc432d@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.1ms) Date: Mon, 31 Aug 2015 12:35:25 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4905dbc2bd_470d3fccf54601fc44c3@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 6.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_shared_items" does not exist LINE 5: WHERE a.attrelid = '"social_networking_shared... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_shared_items"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_shared_items" does not exist LINE 5: WHERE a.attrelid = '"social_networking_shared... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_shared_items"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.5ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.4ms) Date: Mon, 31 Aug 2015 12:35:26 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4905e330d4_470d3fccf54601fc45cb@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 39.3ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.0ms) Date: Mon, 31 Aug 2015 12:35:26 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4905e34de7_470d3fccf54601fc46fa@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 6.2ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.1ms) Date: Mon, 31 Aug 2015 12:35:26 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4905e36ed1_470d3fccf54601fc479a@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 6.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (36.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.3ms) Date: Mon, 31 Aug 2015 12:35:26 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4905e75bf6_470d3fccf54601fc482e@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 43.8ms  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (4.0ms) Date: Mon, 31 Aug 2015 12:35:26 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4905e778e6_470d3fccf54601fc4965@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 6.1ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.3ms) Date: Mon, 31 Aug 2015 12:35:26 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4905e792a0_470d3fccf54601fc5047@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 4.6ms  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'memberships' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_shared_items" does not exist LINE 5: WHERE a.attrelid = '"social_networking_shared... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_shared_items"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (1.5ms) Sent mail to obama@ex.co (6.4ms) Date: Mon, 31 Aug 2015 12:36:04 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e49084965dd_47873ff1304601fc90543@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 201.4ms  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.2ms) Sent mail to obama@ex.co (4.1ms) Date: Mon, 31 Aug 2015 12:36:04 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4908498b41_47873ff1304601fc9069b@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 6.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.7ms) Date: Mon, 31 Aug 2015 12:36:04 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e490849a867_47873ff1304601fc907ec@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 4.0ms  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.4ms) COMMIT  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_on_the_mind_statements" does not exist LINE 5: WHERE a.attrelid = '"social_networking_on_the... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_on_the_mind_statements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_on_the_mind_statements" does not exist LINE 5: WHERE a.attrelid = '"social_networking_on_the... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_on_the_mind_statements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (36.8ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (37.0ms)  (0.1ms) ROLLBACK  (0.4ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.5ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.3ms) Date: Mon, 31 Aug 2015 12:36:05 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4908544b18_47873ff1304601fc908fb@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 37.7ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.1ms) Date: Mon, 31 Aug 2015 12:36:05 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4908545e52_47873ff1304601fc9099c@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.1ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.4ms) Date: Mon, 31 Aug 2015 12:36:05 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e49085473a3_47873ff1304601fc9108b@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 4.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_shared_items" does not exist LINE 5: WHERE a.attrelid = '"social_networking_shared... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_shared_items"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (2.5ms) Date: Mon, 31 Aug 2015 12:36:05 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4908551ec3_47873ff1304601fc91124@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 37.8ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (3.4ms) Date: Mon, 31 Aug 2015 12:36:05 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e49085537b2_47873ff1304601fc9125f@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 4.9ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Mon, 31 Aug 2015 12:36:05 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4908554b83_47873ff1304601fc91364@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_on_the_mind_statements" does not exist LINE 5: WHERE a.attrelid = '"social_networking_on_the... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_on_the_mind_statements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (45.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.2ms) BEGIN  (5.9ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (0.7ms) COMMIT Migrating to AddParticipantFields (2)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.2ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (0.4ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (2.8ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (0.5ms) COMMIT Migrating to AddNullFalseToArms (5)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.3ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (0.4ms) COMMIT Migrating to AddHasWozToArm (6)  (0.1ms) BEGIN  (3.9ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (0.7ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (0.2ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.1ms) BEGIN  (2.0ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.4ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (0.7ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (0.2ms) BEGIN  (2.5ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (0.8ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (0.2ms) BEGIN  (3.1ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.1ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (0.2ms) BEGIN  (3.3ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (0.2ms) BEGIN  (2.6ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (0.9ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (0.2ms) BEGIN  (2.0ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.3ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (0.5ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (0.9ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (0.3ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (6.2ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.2ms) BEGIN  (6.7ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (4.7ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (2.9ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (0.8ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.1ms) BEGIN  (3.1ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (0.9ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.2ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (0.3ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.1ms) BEGIN  (1.1ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (0.2ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.1ms) BEGIN  (1.4ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (0.4ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (0.3ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2015-08-31 17:36:52.273741"], ["updated_at", "2015-08-31 17:36:52.273741"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2015-08-31 17:36:52.275679"], ["updated_at", "2015-08-31 17:36:52.275679"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2015-08-31 17:36:52.276811"], ["updated_at", "2015-08-31 17:36:52.276811"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2015-08-31 17:36:52.277878"], ["updated_at", "2015-08-31 17:36:52.277878"]] SQL (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2015-08-31 17:36:52.279136"], ["updated_at", "2015-08-31 17:36:52.279136"]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (0.3ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (0.2ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (0.2ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.1ms) BEGIN SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (0.4ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (0.8ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (0.3ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.6ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (0.3ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.1ms) BEGIN  (2.0ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (0.7ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (0.3ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (0.4ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (0.3ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (0.3ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (0.3ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (0.3ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (0.2ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.1ms) BEGIN  (1.2ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (0.3ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.1ms) BEGIN  (1.0ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (0.4ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.1ms) BEGIN  (1.0ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (0.9ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (0.4ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.1ms) BEGIN  (0.7ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (0.6ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (0.7ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.4ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.1ms) BEGIN  (0.9ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (0.3ms) COMMIT Migrating to CreateMembership (20150831152253)  (0.1ms) BEGIN  (1.8ms) CREATE TABLE "memberships" ("id" serial primary key)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150831152253"]]  (0.4ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'memberships' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-31', '2015-08-31 17:37:00', '2015-08-31 17:37:00', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-31 17:37:00.000000', '2015-08-31', '2015-08-31 17:37:00', '2015-08-31 17:37:00', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-31', '2015-08-31 17:37:00', '2015-08-31 17:37:00', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-31 17:37:00', '2015-08-31 17:37:00', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-31 17:37:00.000000', '2015-08-31', '2015-08-31 17:37:00', '2015-08-31 17:37:00', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-30', '2015-08-31 17:37:00', '2015-08-31 17:37:00', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-29', '2015-08-31 17:37:00', '2015-08-31 17:37:00', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-31 17:37:00.000000', '2015-08-31', '2015-08-31 17:37:00', '2015-08-31 17:37:00', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-31', '2015-08-31 17:37:00', '2015-08-31 17:37:00', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-31 17:37:00.000000', '2015-08-31', '2015-08-31 17:37:00', '2015-08-31 17:37:00', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-31', '2015-08-31 17:37:00', '2015-08-31 17:37:00', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-31 17:37:00.000000', '2015-08-31', '2015-08-31 17:37:00', '2015-08-31 17:37:00', 16804933, 816972181)  (0.3ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-30 00:00:00.000000"], ["updated_at", "2015-08-31 17:37:01.007637"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-24 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-30 00:00:00.000000"], ["updated_at", "2015-08-31 17:37:01.017124"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-31 17:37:01.020540"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-31 23:59:59.999999' AND created_at >= '2015-08-31 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-08-31 17:37:01.027067"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-31 23:59:59.999999' AND created_at >= '2015-08-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-31 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-08-31 17:37:01.067581"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-31 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-30 00:00:00.000000"], ["updated_at", "2015-08-31 17:37:01.075299"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-31 17:37:01.078507"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-31 17:37:01.090723"], ["updated_at", "2015-08-31 17:37:01.090723"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-01"], ["created_at", "2015-08-31 17:37:01.095580"], ["updated_at", "2015-08-31 17:37:01.095580"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-31"], ["completed_at", "2015-08-29 00:00:00.000000"], ["created_at", "2015-08-31 17:37:01.102745"], ["updated_at", "2015-08-31 17:37:01.102745"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (1.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-31 17:37:01', '2015-08-31 17:37:01', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-31 17:37:01', '2015-08-31 17:37:01', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-30 17:37:01.000000', '2015-08-31 17:37:01', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-31 17:37:01.000000', '2015-08-31 17:37:01', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-30 17:37:01.000000', '2015-08-31 17:37:01', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-31 17:37:01.000000', '2015-08-31 17:37:01', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-31 17:37:01', '2015-08-31 17:37:01', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-31 17:37:01', '2015-08-31 17:37:01', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-31 17:37:01', '2015-08-31 17:37:01', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-31 17:37:01', '2015-08-31 17:37:01', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-31 17:37:01', '2015-08-31 17:37:01', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-31 17:37:01', '2015-08-31 17:37:01', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-31 17:37:01', '2015-08-31 17:37:01', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-31 17:37:01', '2015-08-31 17:37:01', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-31 17:37:01', '2015-08-31 17:37:01', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.4ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-31 17:37:01', '2015-08-31 17:37:01', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-31 17:37:01.195637') AND ("social_networking_goals"."due_on" >= '2015-08-30 17:37:01.195671') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-31 17:37:01.199720') AND ("social_networking_goals"."due_on" >= '2015-08-30 17:37:01.199742')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-31 17:37:01.201646') AND ("social_networking_goals"."due_on" >= '2015-08-30 17:37:01.201677')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-08-31 17:37:01.205470"], ["updated_at", "2015-08-31 17:37:01.205470"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-08-31"], ["created_at", "2015-08-31 17:37:01.209899"], ["updated_at", "2015-08-31 17:37:01.209899"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (1.6ms) Sent mail to obama@ex.co (7.7ms) Date: Mon, 31 Aug 2015 12:37:01 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e490bd6b94f_47a73ffd59460208365f6@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 229.1ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Mon, 31 Aug 2015 12:37:01 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e490bd6d907_47a73ffd59460208366df@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Mon, 31 Aug 2015 12:37:01 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e490bd6ebac_47a73ffd59460208367d8@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (4.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (3.1ms) Date: Mon, 31 Aug 2015 12:37:01 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e490bdf0c49_47a73ffd59460208368c1@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 41.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.8ms) Date: Mon, 31 Aug 2015 12:37:01 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e490bdf265e_47a73ffd59460208369ce@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 4.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Mon, 31 Aug 2015 12:37:01 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e490bdf399b_47a73ffd5946020837054@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.5ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.3ms) Date: Mon, 31 Aug 2015 12:37:02 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e490be2327a_47a73ffd5946020837131@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 40.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Mon, 31 Aug 2015 12:37:02 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e490be245ed_47a73ffd59460208372ef@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Mon, 31 Aug 2015 12:37:02 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e490be25819_47a73ffd5946020837341@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-31 17:37:02.205375"], ["updated_at", "2015-08-31 17:37:02.205375"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-31 17:37:02.210314"], ["updated_at", "2015-08-31 17:37:02.210314"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-31 17:37:02.213138"], ["updated_at", "2015-08-31 17:37:02.213138"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-30 00:00:00.000000"], ["updated_at", "2015-08-31 17:37:02.221666"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-31 17:37:02.226132"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-31 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-08-31 17:37:02.233343"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-31 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.4ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.6ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-31 17:37:02.626186"], ["updated_at", "2015-08-31 17:37:02.626186"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-31 17:37:02.628854"], ["updated_at", "2015-08-31 17:37:02.628854"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-31 17:37:02.634330"], ["updated_at", "2015-08-31 17:37:02.634330"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-31 17:37:02.636431"], ["updated_at", "2015-08-31 17:37:02.636431"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-31 17:37:02.641334"], ["updated_at", "2015-08-31 17:37:02.641334"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-31 17:37:02.643201"], ["updated_at", "2015-08-31 17:37:02.643201"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-31 17:37:02.662632"], ["updated_at", "2015-08-31 17:37:02.662632"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-31 17:37:02.664959"], ["updated_at", "2015-08-31 17:37:02.664959"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.8ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.8ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-30 00:00:00.000000"], ["updated_at", "2015-08-31 17:37:02.987801"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-31 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-08-31 17:37:03.000351"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-31 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-30 00:00:00.000000"], ["updated_at", "2015-08-31 17:37:03.030529"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-31 17:37:03.034334"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-31 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-08-31 17:37:03.041734"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-31 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-31 17:37:03.047152"], ["updated_at", "2015-08-31 17:37:03.047152"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-31 17:37:03.049661"], ["updated_at", "2015-08-31 17:37:03.049661"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-31 12:37:03 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (5.7ms) Completed 200 OK in 103ms (Views: 80.2ms | ActiveRecord: 5.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-31 12:37:03 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-31 12:37:03 -0500  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-31 12:37:04 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-31 12:37:04 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Aug 31 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-31 17:37:04.193516"], ["updated_at", "2015-08-31 17:37:04.196249"], ["id", 809335042]]  (0.8ms) COMMIT  (0.5ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-31 17:37:04.201800"], ["updated_at", "2015-08-31 17:37:04.201800"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 3.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-31 12:37:04 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 21ms (Views: 2.1ms | ActiveRecord: 2.6ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-31 12:37:04 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-28", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-28"], ["updated_at", "2015-08-31 17:37:04.523091"], ["id", 53334230]]  (0.6ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 2.8ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-31 12:37:04 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.0ms) Completed 200 OK in 18ms (Views: 1.7ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-31 12:37:04 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Aug 31 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-31 17:37:04.818583"], ["updated_at", "2015-08-31 17:37:04.820869"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 2.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-31 12:37:04 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 13ms (Views: 1.7ms | ActiveRecord: 1.6ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-31 12:37:05 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-14", "goal"=>{"description"=>"all of the things"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-14"], ["created_at", "2015-08-31 17:37:05.087587"], ["updated_at", "2015-08-31 17:37:05.087587"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-31 17:37:05.092432"], ["updated_at", "2015-08-31 17:37:05.092432"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 4.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (5.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.1ms) BEGIN  (3.4ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (0.5ms) COMMIT Migrating to AddParticipantFields (2)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.2ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (0.5ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (3.1ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (0.5ms) COMMIT Migrating to AddNullFalseToArms (5)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.2ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (0.3ms) COMMIT Migrating to AddHasWozToArm (6)  (0.1ms) BEGIN  (3.6ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (1.0ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (0.3ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.1ms) BEGIN  (2.7ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.7ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (0.7ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (0.2ms) BEGIN  (2.7ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (0.3ms) BEGIN  (3.6ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (0.2ms) BEGIN  (3.1ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (0.2ms) BEGIN  (2.9ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (0.9ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (0.2ms) BEGIN  (2.3ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (0.2ms) BEGIN  (5.3ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (0.2ms) BEGIN  (2.8ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (0.4ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (0.3ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (0.9ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (0.3ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.1ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (0.3ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.1ms) BEGIN  (1.0ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (0.5ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (3.1ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (0.8ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.1ms) BEGIN  (3.4ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (0.8ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (0.3ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.1ms) BEGIN  (1.0ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (0.3ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.1ms) BEGIN  (1.6ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (0.3ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (0.3ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2015-08-31 18:04:17.582915"], ["updated_at", "2015-08-31 18:04:17.582915"]] SQL (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2015-08-31 18:04:17.586023"], ["updated_at", "2015-08-31 18:04:17.586023"]] SQL (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2015-08-31 18:04:17.587798"], ["updated_at", "2015-08-31 18:04:17.587798"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2015-08-31 18:04:17.589230"], ["updated_at", "2015-08-31 18:04:17.589230"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2015-08-31 18:04:17.590351"], ["updated_at", "2015-08-31 18:04:17.590351"]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (0.5ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (0.3ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (0.3ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.1ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (0.5ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (1.0ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (0.5ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (0.3ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.1ms) BEGIN  (2.2ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (0.4ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (0.3ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (0.3ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (0.3ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (0.4ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (0.4ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (0.4ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.1ms) BEGIN  (1.0ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (0.4ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.1ms) BEGIN  (1.0ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (0.4ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.1ms) BEGIN  (1.1ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (0.8ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (0.3ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.1ms) BEGIN  (0.8ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (0.6ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (0.8ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.3ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.1ms) BEGIN  (1.0ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (0.4ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (9.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (12.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (9.5ms)  (0.2ms) ROLLBACK  (4.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.5ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-31 18:04:44', '2015-08-31 18:04:44', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-31', '2015-08-31 18:04:44', '2015-08-31 18:04:44', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-31 18:04:44.000000', '2015-08-31', '2015-08-31 18:04:44', '2015-08-31 18:04:44', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-31', '2015-08-31 18:04:44', '2015-08-31 18:04:44', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-31 18:04:44', '2015-08-31 18:04:44', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-31 18:04:44.000000', '2015-08-31', '2015-08-31 18:04:44', '2015-08-31 18:04:44', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-30', '2015-08-31 18:04:44', '2015-08-31 18:04:44', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-29', '2015-08-31 18:04:44', '2015-08-31 18:04:44', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-31 18:04:44.000000', '2015-08-31', '2015-08-31 18:04:44', '2015-08-31 18:04:44', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-31', '2015-08-31 18:04:44', '2015-08-31 18:04:44', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-31 18:04:44.000000', '2015-08-31', '2015-08-31 18:04:44', '2015-08-31 18:04:44', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-31', '2015-08-31 18:04:44', '2015-08-31 18:04:44', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-31 18:04:44.000000', '2015-08-31', '2015-08-31 18:04:44', '2015-08-31 18:04:44', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-31 18:04:44', '2015-08-31 18:04:44', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-30 18:04:44.000000', '2015-08-31 18:04:44', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-31 18:04:44.000000', '2015-08-31 18:04:44', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-30 18:04:44.000000', '2015-08-31 18:04:44', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-31 18:04:44.000000', '2015-08-31 18:04:44', 316146702, 816972181, 700141617) Fixture Delete (0.5ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-31 18:04:44', '2015-08-31 18:04:44', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-31 18:04:44', '2015-08-31 18:04:44', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-31 18:04:44', '2015-08-31 18:04:44', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-31 18:04:44', '2015-08-31 18:04:44', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-31 18:04:44', '2015-08-31 18:04:44', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-31 18:04:44', '2015-08-31 18:04:44', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-31 18:04:44', '2015-08-31 18:04:44', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-31 18:04:44', '2015-08-31 18:04:44', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-31 18:04:44', '2015-08-31 18:04:44', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-31 18:04:44', '2015-08-31 18:04:44', 809335042, 'SocialNetworking::Goal', 809335042)  (1.7ms) COMMIT  (2.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.2ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.5ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.8ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (27.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.8ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.8ms) Sent mail to obama@ex.co (8.3ms) Date: Mon, 31 Aug 2015 13:04:44 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4973cf0118_55d33ff68e0601fc980ef@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 227.9ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (2.2ms) Date: Mon, 31 Aug 2015 13:04:44 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4973cf1c3f_55d33ff68e0601fc981cf@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Mon, 31 Aug 2015 13:04:44 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4973cf2c51_55d33ff68e0601fc9822d@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.0ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (5.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.6ms) Date: Mon, 31 Aug 2015 13:04:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4973d40749_55d33ff68e0601fc98332@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 39.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Mon, 31 Aug 2015 13:04:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4973d41a99_55d33ff68e0601fc984f@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Mon, 31 Aug 2015 13:04:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4973d42c9c_55d33ff68e0601fc985e6@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-31 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-08-31 18:04:45.329883"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-08-31 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-30 00:00:00.000000"], ["updated_at", "2015-08-31 18:04:45.340503"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-31 18:04:45.343232"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-08-31"], ["created_at", "2015-08-31 18:04:45.352083"], ["updated_at", "2015-08-31 18:04:45.352083"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-08-31 18:04:45.359388"], ["updated_at", "2015-08-31 18:04:45.359388"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-08-31 18:04:45.365983"], ["updated_at", "2015-08-31 18:04:45.365983"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-08-31"], ["completed_at", "2015-08-29 00:00:00.000000"], ["created_at", "2015-08-31 18:04:45.370432"], ["updated_at", "2015-08-31 18:04:45.370432"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-01"], ["created_at", "2015-08-31 18:04:45.374462"], ["updated_at", "2015-08-31 18:04:45.374462"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-31 18:04:45.379537') AND ("social_networking_goals"."due_on" >= '2015-08-30 18:04:45.379567')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-31 18:04:45.385080') AND ("social_networking_goals"."due_on" >= '2015-08-30 18:04:45.385139') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-08-31 18:04:45.388508') AND ("social_networking_goals"."due_on" >= '2015-08-30 18:04:45.388525')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-31 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-08-31 18:04:45.405913"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-08-31 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-24 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-08-30 00:00:00.000000"], ["updated_at", "2015-08-31 18:04:45.415985"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (2.3ms) Date: Mon, 31 Aug 2015 13:04:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4973d8ebad_55d33ff68e0601fc986f2@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 43.2ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.1ms) Sent mail to obama@ex.co (3.8ms) Date: Mon, 31 Aug 2015 13:04:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4973d908c2_55d33ff68e0601fc98764@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 5.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Mon, 31 Aug 2015 13:04:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e4973d91da5_55d33ff68e0601fc98898@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-31 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-08-31 18:04:45.629745"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-08-31 23:59:59.999999')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-24 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.7ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-30 00:00:00.000000"], ["updated_at", "2015-08-31 18:04:45.644350"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-31 18:04:45.650564"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-08-31 18:04:45.657335"], ["updated_at", "2015-08-31 18:04:45.657335"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-31 18:04:45.663411"], ["updated_at", "2015-08-31 18:04:45.663411"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-31 18:04:45.666549"], ["updated_at", "2015-08-31 18:04:45.666549"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-31 13:04:46 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.5ms) Completed 200 OK in 82ms (Views: 50.6ms | ActiveRecord: 6.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-08-31 13:04:46 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-08-31 13:04:46 -0500 SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-08-31 13:04:46 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Aug 31 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-08-31 18:04:46.702406"], ["updated_at", "2015-08-31 18:04:46.705439"], ["id", 809335042]]  (1.5ms) COMMIT  (0.3ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-08-31 18:04:46.711778"], ["updated_at", "2015-08-31 18:04:46.711778"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 4.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-31 13:04:46 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 15ms (Views: 1.7ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-08-31 13:04:46 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Aug 31 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-08-31 18:04:46.866191"], ["updated_at", "2015-08-31 18:04:46.868917"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 2.8ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-31 13:04:46 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 21ms (Views: 2.1ms | ActiveRecord: 2.4ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-08-31 13:04:47 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-14", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-14"], ["created_at", "2015-08-31 18:04:47.081787"], ["updated_at", "2015-08-31 18:04:47.081787"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-08-31 18:04:47.087625"], ["updated_at", "2015-08-31 18:04:47.087625"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 4.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-31 13:04:47 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 16ms (Views: 2.1ms | ActiveRecord: 1.6ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-08-31 13:04:47 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-09-28", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-09-28"], ["updated_at", "2015-08-31 18:04:47.339740"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-08-31 13:04:47 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 1.9ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (2.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-08-31 18:04:47', '2015-08-31 18:04:47', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042)  (0.3ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 LIMIT 1 [["id", 844093908]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-31 23:59:59.999999' AND created_at >= '2015-08-31 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-08-31 18:04:47.679291"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-08-31 23:59:59.999999' AND created_at >= '2015-08-31 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-30 00:00:00.000000"], ["updated_at", "2015-08-31 18:04:47.684936"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-24 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-30 00:00:00.000000"], ["updated_at", "2015-08-31 18:04:47.695695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-31 18:04:47.699639"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-24 00:00:00.000000')  (0.1ms) ROLLBACK  (1.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-08-31 18:04:47', '2015-08-31 18:04:47', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-08-31', '2015-08-31 18:04:47', '2015-08-31 18:04:47', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-08-31 18:04:47.000000', '2015-08-31', '2015-08-31 18:04:47', '2015-08-31 18:04:47', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-08-31', '2015-08-31 18:04:47', '2015-08-31 18:04:47', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-08-31 18:04:47', '2015-08-31 18:04:47', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-08-31 18:04:47.000000', '2015-08-31', '2015-08-31 18:04:47', '2015-08-31 18:04:47', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-08-30', '2015-08-31 18:04:47', '2015-08-31 18:04:47', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-08-29', '2015-08-31 18:04:47', '2015-08-31 18:04:47', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-08-31 18:04:47.000000', '2015-08-31', '2015-08-31 18:04:47', '2015-08-31 18:04:47', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-08-31', '2015-08-31 18:04:47', '2015-08-31 18:04:47', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-08-31 18:04:47.000000', '2015-08-31', '2015-08-31 18:04:47', '2015-08-31 18:04:47', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-08-31', '2015-08-31 18:04:47', '2015-08-31 18:04:47', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-08-31 18:04:47.000000', '2015-08-31', '2015-08-31 18:04:47', '2015-08-31 18:04:47', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-30 18:04:47.000000', '2015-08-31 18:04:47', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-31 18:04:47.000000', '2015-08-31 18:04:47', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-30 18:04:47.000000', '2015-08-31 18:04:47', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-08-31 18:04:47.000000', '2015-08-31 18:04:47', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-08-31 18:04:47', '2015-08-31 18:04:47', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-08-31 18:04:47', '2015-08-31 18:04:47', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-08-31 18:04:47', '2015-08-31 18:04:47', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-08-31 18:04:47', '2015-08-31 18:04:47', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-08-31 18:04:47', '2015-08-31 18:04:47', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-08-31 18:04:47', '2015-08-31 18:04:47', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-08-31 18:04:47', '2015-08-31 18:04:47', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-08-31 18:04:47', '2015-08-31 18:04:47', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-08-31 18:04:47', '2015-08-31 18:04:47', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-08-31 18:04:47', '2015-08-31 18:04:47', 809335042, 'SocialNetworking::Goal', 809335042)  (0.3ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-31 18:04:48.013982"], ["updated_at", "2015-08-31 18:04:48.013982"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-31 18:04:48.016764"], ["updated_at", "2015-08-31 18:04:48.016764"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-31 18:04:48.023124"], ["updated_at", "2015-08-31 18:04:48.023124"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-31 18:04:48.025412"], ["updated_at", "2015-08-31 18:04:48.025412"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-31 18:04:48.037078"], ["updated_at", "2015-08-31 18:04:48.037078"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-31 18:04:48.039851"], ["updated_at", "2015-08-31 18:04:48.039851"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-08-31 18:04:48.046253"], ["updated_at", "2015-08-31 18:04:48.046253"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-08-31 18:04:48.048468"], ["updated_at", "2015-08-31 18:04:48.048468"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-08-31 18:04:48.059212"], ["updated_at", "2015-08-31 18:04:48.059212"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-08-31 18:04:48.062178"], ["updated_at", "2015-08-31 18:04:48.062178"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-31 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-08-31 18:04:48.150687"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-31 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-08-31 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-24 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-30 00:00:00.000000"], ["updated_at", "2015-08-31 18:04:48.157663"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-23 00:00:00.000000"], ["updated_at", "2015-08-31 18:04:48.162275"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (15.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.1ms) BEGIN  (16.8ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (5.7ms) COMMIT Migrating to AddParticipantFields (2)  (5.8ms) BEGIN  (0.4ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.2ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (5.9ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (2.6ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (0.4ms) COMMIT Migrating to AddNullFalseToArms (5)  (0.2ms) BEGIN  (0.2ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.1ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (0.2ms) COMMIT Migrating to AddHasWozToArm (6)  (0.1ms) BEGIN  (4.1ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (0.9ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (0.3ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.1ms) BEGIN  (2.0ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.4ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (0.7ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (0.2ms) BEGIN  (2.9ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.0ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (0.2ms) BEGIN  (2.7ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.1ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (0.3ms) BEGIN  (3.1ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (0.2ms) BEGIN  (2.8ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (0.2ms) BEGIN  (3.2ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (0.9ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (0.2ms) BEGIN  (1.9ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (0.8ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (0.2ms) BEGIN  (2.9ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (0.2ms) BEGIN  (2.8ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (0.9ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (0.5ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (0.3ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (1.1ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (0.4ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (0.4ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.2ms) BEGIN  (1.0ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (0.4ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (2.8ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (0.8ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.1ms) BEGIN  (3.0ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (0.8ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (0.2ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.1ms) BEGIN  (0.9ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (0.3ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.1ms) BEGIN  (1.4ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (0.4ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.2ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (0.5ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2015-08-31 19:56:25.454881"], ["updated_at", "2015-08-31 19:56:25.454881"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2015-08-31 19:56:25.456774"], ["updated_at", "2015-08-31 19:56:25.456774"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2015-08-31 19:56:25.457969"], ["updated_at", "2015-08-31 19:56:25.457969"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2015-08-31 19:56:25.459217"], ["updated_at", "2015-08-31 19:56:25.459217"]] SQL (0.5ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2015-08-31 19:56:25.460595"], ["updated_at", "2015-08-31 19:56:25.460595"]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (0.5ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.2ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (0.4ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (0.4ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.1ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (0.4ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (0.8ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (0.4ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (5.4ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.1ms) BEGIN  (7.6ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (4.7ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (0.3ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (0.3ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (0.3ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (0.3ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (0.3ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (0.3ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (0.3ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.1ms) BEGIN  (0.9ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (0.5ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.1ms) BEGIN  (1.1ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (0.3ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.1ms) BEGIN  (1.1ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (1.0ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (0.3ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.1ms) BEGIN  (0.7ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (0.6ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (0.6ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.3ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.2ms) BEGIN  (1.1ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (0.3ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (3.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.2ms) BEGIN  (3.4ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (0.5ms) COMMIT Migrating to AddParticipantFields (2)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.2ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (0.4ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (2.7ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (0.5ms) COMMIT Migrating to AddNullFalseToArms (5)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.2ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (0.3ms) COMMIT Migrating to AddHasWozToArm (6)  (0.1ms) BEGIN  (3.4ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (0.9ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.1ms) BEGIN  (2.5ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.4ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (0.7ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (0.2ms) BEGIN  (2.5ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (0.2ms) BEGIN  (2.7ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (0.2ms) BEGIN  (3.7ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (1.0ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (0.2ms) BEGIN  (2.9ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (0.2ms) BEGIN  (2.7ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (0.2ms) BEGIN  (2.0ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (0.2ms) BEGIN  (2.9ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (0.2ms) BEGIN  (2.5ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.4ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (0.5ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (0.3ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (1.1ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (0.3ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (0.5ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.1ms) BEGIN  (1.0ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (0.4ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (3.0ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (0.8ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.1ms) BEGIN  (2.9ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (0.8ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (0.3ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.1ms) BEGIN  (0.9ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (0.3ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.1ms) BEGIN  (1.4ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (0.4ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (0.3ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2015-08-31 19:57:57.622491"], ["updated_at", "2015-08-31 19:57:57.622491"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2015-08-31 19:57:57.624489"], ["updated_at", "2015-08-31 19:57:57.624489"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2015-08-31 19:57:57.625790"], ["updated_at", "2015-08-31 19:57:57.625790"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2015-08-31 19:57:57.626983"], ["updated_at", "2015-08-31 19:57:57.626983"]] SQL (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2015-08-31 19:57:57.628454"], ["updated_at", "2015-08-31 19:57:57.628454"]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (0.4ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.2ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (0.4ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (0.4ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.1ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (0.4ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (0.8ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (0.4ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (0.3ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.1ms) BEGIN  (2.1ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (0.3ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (0.2ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (0.3ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (0.3ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (0.2ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (0.4ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (0.3ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.1ms) BEGIN  (0.9ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (0.4ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.1ms) BEGIN  (1.0ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (0.3ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.1ms) BEGIN  (1.0ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (0.9ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (0.4ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.1ms) BEGIN  (0.8ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (0.7ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (0.7ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.3ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.1ms) BEGIN  (0.8ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (0.2ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.1ms) BEGIN  (15.4ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (5.8ms) COMMIT Migrating to AddParticipantFields (2)  (6.0ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.2ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (5.9ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (19.5ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (4.6ms) COMMIT Migrating to AddNullFalseToArms (5)  (6.0ms) BEGIN  (0.3ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.2ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (5.7ms) COMMIT Migrating to AddHasWozToArm (6)  (0.1ms) BEGIN  (20.5ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (5.5ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (5.9ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.1ms) BEGIN  (13.7ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.6ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (0.7ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (6.3ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (6.1ms) BEGIN  (15.7ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.2ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (5.9ms) BEGIN  (19.2ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (2.0ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (0.8ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (6.0ms) BEGIN  (18.7ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (5.9ms) BEGIN  (19.1ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (5.6ms) BEGIN  (14.0ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (5.1ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (12.1ms) BEGIN  (7.9ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.2ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (6.0ms) BEGIN  (15.5ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (5.4ms) BEGIN  (14.1ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (2.7ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (11.2ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (1.0ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (6.2ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (5.6ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.1ms) BEGIN  (6.6ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (5.6ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (14.2ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (6.7ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.2ms) BEGIN  (14.0ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (11.8ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (5.8ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.1ms) BEGIN  (6.5ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (6.0ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.2ms) BEGIN  (7.7ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (5.8ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (6.5ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.3ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2015-09-03 23:02:30.265703"], ["updated_at", "2015-09-03 23:02:30.265703"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2015-09-03 23:02:30.268010"], ["updated_at", "2015-09-03 23:02:30.268010"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2015-09-03 23:02:30.269246"], ["updated_at", "2015-09-03 23:02:30.269246"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2015-09-03 23:02:30.270386"], ["updated_at", "2015-09-03 23:02:30.270386"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2015-09-03 23:02:30.271471"], ["updated_at", "2015-09-03 23:02:30.271471"]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (5.2ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (5.9ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (6.0ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.3ms) BEGIN SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (6.6ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.3ms) BEGIN  (0.5ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (6.5ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (5.7ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (5.9ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.1ms) BEGIN  (7.3ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (5.8ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (5.9ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (6.4ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.2ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (6.2ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (6.0ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (6.0ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.2ms) BEGIN SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (6.1ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (6.2ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.3ms) BEGIN  (7.3ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (6.2ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.2ms) BEGIN  (6.7ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (5.6ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.1ms) BEGIN  (6.1ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (6.3ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (6.1ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.1ms) BEGIN  (6.8ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (6.6ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (6.9ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.3ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.1ms) BEGIN  (6.0ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (6.0ms) COMMIT ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 20ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 1ms  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.8ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 19ms (Views: 0.5ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 13ms (Views: 0.2ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 2ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 25ms (Views: 15.1ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.7ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 11ms (Views: 0.4ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 10ms (Views: 0.2ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 26ms (Views: 19.6ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 12ms (Views: 0.2ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 21ms (Views: 19.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 19ms (Views: 0.2ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 18ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 12ms (Views: 0.2ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 21ms (Views: 19.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.8ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 11ms (Views: 0.5ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 23ms (Views: 16.7ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 28ms (Views: 17.2ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 14ms (Views: 13.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 15ms (Views: 14.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 12ms (Views: 0.2ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 27ms (Views: 20.4ms | ActiveRecord: 1.2ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 9ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 15ms (Views: 13.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 14ms (Views: 12.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 19ms (Views: 17.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 9ms (Views: 0.5ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.5ms) Completed 200 OK in 24ms (Views: 14.9ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (3.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.5ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (6.6ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-03 23:14:48', '2015-09-03 23:14:48', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-03', '2015-09-03 23:14:48', '2015-09-03 23:14:48', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-03 23:14:48.000000', '2015-09-03', '2015-09-03 23:14:48', '2015-09-03 23:14:48', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-03', '2015-09-03 23:14:48', '2015-09-03 23:14:48', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-03 23:14:48', '2015-09-03 23:14:48', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-03 23:14:48.000000', '2015-09-03', '2015-09-03 23:14:48', '2015-09-03 23:14:48', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-02', '2015-09-03 23:14:48', '2015-09-03 23:14:48', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-01', '2015-09-03 23:14:48', '2015-09-03 23:14:48', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-03 23:14:48.000000', '2015-09-03', '2015-09-03 23:14:48', '2015-09-03 23:14:48', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-03', '2015-09-03 23:14:48', '2015-09-03 23:14:48', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-03 23:14:48.000000', '2015-09-03', '2015-09-03 23:14:48', '2015-09-03 23:14:48', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-03', '2015-09-03 23:14:48', '2015-09-03 23:14:48', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-03 23:14:48.000000', '2015-09-03', '2015-09-03 23:14:48', '2015-09-03 23:14:48', 16804933, 816972181) Fixture Delete (6.9ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-03 23:14:48', '2015-09-03 23:14:48', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (1.1ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-02 23:14:48.000000', '2015-09-03 23:14:48', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 23:14:48.000000', '2015-09-03 23:14:48', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-02 23:14:48.000000', '2015-09-03 23:14:48', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 23:14:48.000000', '2015-09-03 23:14:48', 316146702, 816972181, 700141617) Fixture Delete (0.7ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-03 23:14:48', '2015-09-03 23:14:48', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-03 23:14:48', '2015-09-03 23:14:48', 369066228, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-03 23:14:48', '2015-09-03 23:14:48', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-03 23:14:48', '2015-09-03 23:14:48', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-03 23:14:48', '2015-09-03 23:14:48', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-03 23:14:48', '2015-09-03 23:14:48', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-03 23:14:48', '2015-09-03 23:14:48', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-03 23:14:48', '2015-09-03 23:14:48', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-03 23:14:48', '2015-09-03 23:14:48', 183235640, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.4ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-03 23:14:48', '2015-09-03 23:14:48', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 22ms (Views: 14.9ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 34ms (Views: 33.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 15ms (Views: 13.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 18ms (Views: 16.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 15ms (Views: 13.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 12ms (Views: 11.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 24ms (Views: 15.6ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 19ms (Views: 12.2ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (261.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-04 14:17:42', '2015-09-04 14:17:42', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-04', '2015-09-04 14:17:42', '2015-09-04 14:17:42', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-04 14:17:42.000000', '2015-09-04', '2015-09-04 14:17:42', '2015-09-04 14:17:42', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-04', '2015-09-04 14:17:42', '2015-09-04 14:17:42', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-04 14:17:42', '2015-09-04 14:17:42', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-04 14:17:42.000000', '2015-09-04', '2015-09-04 14:17:42', '2015-09-04 14:17:42', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-03', '2015-09-04 14:17:42', '2015-09-04 14:17:42', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-02', '2015-09-04 14:17:42', '2015-09-04 14:17:42', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-04 14:17:42.000000', '2015-09-04', '2015-09-04 14:17:42', '2015-09-04 14:17:42', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-04', '2015-09-04 14:17:42', '2015-09-04 14:17:42', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-04 14:17:42.000000', '2015-09-04', '2015-09-04 14:17:42', '2015-09-04 14:17:42', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-04', '2015-09-04 14:17:42', '2015-09-04 14:17:42', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-04 14:17:42.000000', '2015-09-04', '2015-09-04 14:17:42', '2015-09-04 14:17:42', 16804933, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-04 14:17:42', '2015-09-04 14:17:42', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 14:17:42.000000', '2015-09-04 14:17:42', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 14:17:42.000000', '2015-09-04 14:17:42', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 14:17:42.000000', '2015-09-04 14:17:42', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 14:17:42.000000', '2015-09-04 14:17:42', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-04 14:17:42', '2015-09-04 14:17:42', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-04 14:17:42', '2015-09-04 14:17:42', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-04 14:17:42', '2015-09-04 14:17:42', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-04 14:17:42', '2015-09-04 14:17:42', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-04 14:17:42', '2015-09-04 14:17:42', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-04 14:17:42', '2015-09-04 14:17:42', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-04 14:17:42', '2015-09-04 14:17:42', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-04 14:17:42', '2015-09-04 14:17:42', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-04 14:17:42', '2015-09-04 14:17:42', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-04 14:17:42', '2015-09-04 14:17:42', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.0ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (14.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (16.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.1ms) BEGIN  (14.5ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (6.4ms) COMMIT Migrating to AddParticipantFields (2)  (6.0ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.2ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (11.0ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (13.6ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (6.4ms) COMMIT Migrating to AddNullFalseToArms (5)  (5.7ms) BEGIN  (0.5ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.3ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (0.4ms) COMMIT Migrating to AddHasWozToArm (6)  (0.2ms) BEGIN  (15.4ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (6.2ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (11.3ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.1ms) BEGIN  (8.7ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.5ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (1.1ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (6.0ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (6.0ms) BEGIN  (18.2ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.0ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (5.9ms) BEGIN  (19.1ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.2ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (5.6ms) BEGIN  (18.8ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (1.0ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (6.0ms) BEGIN  (19.3ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (6.0ms) BEGIN  (13.8ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (0.9ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (5.3ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (6.0ms) BEGIN  (7.6ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (0.8ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (33.3ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (11.5ms) BEGIN  (14.2ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (5.9ms) BEGIN  (14.6ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (0.6ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (6.0ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (0.9ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (5.8ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (6.1ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.1ms) BEGIN  (6.6ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (5.5ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (14.4ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (13.0ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.2ms) BEGIN  (15.6ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (5.7ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.2ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (6.1ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.1ms) BEGIN  (7.5ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (5.9ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.2ms) BEGIN  (7.6ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (5.6ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (6.1ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2015-09-04 14:34:11.621777"], ["updated_at", "2015-09-04 14:34:11.621777"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2015-09-04 14:34:11.623667"], ["updated_at", "2015-09-04 14:34:11.623667"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2015-09-04 14:34:11.624879"], ["updated_at", "2015-09-04 14:34:11.624879"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2015-09-04 14:34:11.625974"], ["updated_at", "2015-09-04 14:34:11.625974"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2015-09-04 14:34:11.627376"], ["updated_at", "2015-09-04 14:34:11.627376"]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (6.1ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.2ms) BEGIN  (0.6ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (5.7ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.2ms) BEGIN  (0.5ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (6.2ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.2ms) BEGIN SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (6.1ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (6.4ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (5.9ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (6.1ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.1ms) BEGIN  (7.8ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (5.7ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (6.0ms) BEGIN  (0.7ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (6.1ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (6.1ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (5.9ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (6.1ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (6.0ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (5.6ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.1ms) BEGIN  (6.2ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (6.0ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.1ms) BEGIN  (6.3ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (5.9ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.1ms) BEGIN  (6.5ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (6.8ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (5.5ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.1ms) BEGIN  (6.5ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (6.3ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (6.6ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.4ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.1ms) BEGIN  (6.4ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (6.0ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (8.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.6ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-04', '2015-09-04 19:25:40', '2015-09-04 19:25:40', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-04 19:25:40.000000', '2015-09-04', '2015-09-04 19:25:40', '2015-09-04 19:25:40', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-04', '2015-09-04 19:25:40', '2015-09-04 19:25:40', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-04 19:25:40', '2015-09-04 19:25:40', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-04 19:25:40.000000', '2015-09-04', '2015-09-04 19:25:40', '2015-09-04 19:25:40', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-03', '2015-09-04 19:25:40', '2015-09-04 19:25:40', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-02', '2015-09-04 19:25:40', '2015-09-04 19:25:40', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-04 19:25:40.000000', '2015-09-04', '2015-09-04 19:25:40', '2015-09-04 19:25:40', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-04', '2015-09-04 19:25:40', '2015-09-04 19:25:40', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-04 19:25:40.000000', '2015-09-04', '2015-09-04 19:25:40', '2015-09-04 19:25:40', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-04', '2015-09-04 19:25:40', '2015-09-04 19:25:40', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-04 19:25:40.000000', '2015-09-04', '2015-09-04 19:25:40', '2015-09-04 19:25:40', 16804933, 816972181)  (4.7ms) COMMIT  (1.5ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-04 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.7ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-04 00:00:00.000000"], ["updated_at", "2015-09-04 19:25:40.853400"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-28 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 19:25:40.865016"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (1.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-04 19:25:41', '2015-09-04 19:25:41', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-04 19:25:41', '2015-09-04 19:25:41', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 19:25:41.000000', '2015-09-04 19:25:41', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 19:25:41.000000', '2015-09-04 19:25:41', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 19:25:41.000000', '2015-09-04 19:25:41', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 19:25:41.000000', '2015-09-04 19:25:41', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-04 19:25:41', '2015-09-04 19:25:41', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-04 19:25:41', '2015-09-04 19:25:41', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-04 19:25:41', '2015-09-04 19:25:41', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-04 19:25:41', '2015-09-04 19:25:41', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-04 19:25:41', '2015-09-04 19:25:41', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-04 19:25:41', '2015-09-04 19:25:41', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-04 19:25:41', '2015-09-04 19:25:41', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-04 19:25:41', '2015-09-04 19:25:41', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-04 19:25:41', '2015-09-04 19:25:41', 183235640, 816972181) Fixture Delete (0.1ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-04 19:25:41', '2015-09-04 19:25:41', 809335042, 'SocialNetworking::Goal', 809335042)  (0.3ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.6ms) Sent mail to obama@ex.co (8.2ms) Date: Fri, 04 Sep 2015 14:25:41 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e9f0356d0cb_161e3fd22a8181fc579ef@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 220.2ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 04 Sep 2015 14:25:41 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e9f0356f07d_161e3fd22a8181fc5801f@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/comment_mailer/comment_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 04 Sep 2015 14:25:41 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e9f03570266_161e3fd22a8181fc581d@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

CommentMailer#comment_email_alert: processed outbound mail in 3.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (1.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (4.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-04 19:25:41.608073"], ["updated_at", "2015-09-04 19:25:41.608073"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-04 19:25:41.611193"], ["updated_at", "2015-09-04 19:25:41.611193"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 19:25:41.618948"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-04 23:59:59.999999' AND created_at >= '2015-09-04 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-04 00:00:00.000000"], ["updated_at", "2015-09-04 19:25:41.624569"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-04 23:59:59.999999' AND created_at >= '2015-09-04 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 19:25:41.630942"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-27 00:00:00.000000"], ["updated_at", "2015-09-04 19:25:41.633699"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-04 00:00:00.000000"], ["updated_at", "2015-09-04 19:25:41.643178"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 19:25:41.658704"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-27 00:00:00.000000"], ["updated_at", "2015-09-04 19:25:41.661824"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-09-04 19:25:41.666891"], ["updated_at", "2015-09-04 19:25:41.666891"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-04"], ["completed_at", "2015-09-02 00:00:00.000000"], ["created_at", "2015-09-04 19:25:41.671315"], ["updated_at", "2015-09-04 19:25:41.671315"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-05"], ["created_at", "2015-09-04 19:25:41.677816"], ["updated_at", "2015-09-04 19:25:41.677816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-09-04"], ["created_at", "2015-09-04 19:25:41.682176"], ["updated_at", "2015-09-04 19:25:41.682176"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-09-04 19:25:41.686265"], ["updated_at", "2015-09-04 19:25:41.686265"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-04 19:25:41.689935') AND ("social_networking_goals"."due_on" >= '2015-09-03 19:25:41.689972')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-04 19:25:41.695354') AND ("social_networking_goals"."due_on" >= '2015-09-03 19:25:41.695381') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-04 19:25:41.697821') AND ("social_networking_goals"."due_on" >= '2015-09-03 19:25:41.697837')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-04 00:00:00.000000"], ["updated_at", "2015-09-04 19:25:41.735045"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-04 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 19:25:41.744350"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-27 00:00:00.000000"], ["updated_at", "2015-09-04 19:25:41.747839"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.9ms) Sent mail to obama@ex.co (2.8ms) Date: Fri, 04 Sep 2015 14:25:41 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e9f035c5617_161e3fd22a8181fc582a0@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 43.1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 04 Sep 2015 14:25:41 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e9f035c6ac1_161e3fd22a8181fc58358@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/nudge_mailer/nudge_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 04 Sep 2015 14:25:41 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e9f035c7d4b_161e3fd22a8181fc584c6@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

NudgeMailer#nudge_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-04 19:25:41.891380"], ["updated_at", "2015-09-04 19:25:41.891380"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-04 19:25:41.894250"], ["updated_at", "2015-09-04 19:25:41.894250"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-04 19:25:41.900061"], ["updated_at", "2015-09-04 19:25:41.900061"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-04 19:25:41.902111"], ["updated_at", "2015-09-04 19:25:41.902111"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-04 19:25:41.920031"], ["updated_at", "2015-09-04 19:25:41.920031"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-04 19:25:41.922499"], ["updated_at", "2015-09-04 19:25:41.922499"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-04 19:25:41.927705"], ["updated_at", "2015-09-04 19:25:41.927705"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-04 19:25:41.929981"], ["updated_at", "2015-09-04 19:25:41.929981"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-04 14:25:43 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.6ms) Completed 200 OK in 93ms (Views: 69.2ms | ActiveRecord: 5.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-04 14:25:43 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-04 14:25:43 -0500 SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-09-04 14:25:43 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-02", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-02"], ["updated_at", "2015-09-04 19:25:43.727218"], ["id", 53334230]]  (6.0ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.4ms | ActiveRecord: 7.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-04 14:25:43 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-09-04 14:25:43 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Sep 04 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-09-04 19:25:43.910694"], ["updated_at", "2015-09-04 19:25:43.913862"], ["id", 614371357]]  (6.1ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 7.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-04 14:25:43 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-09-04 14:25:44 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Sep 04 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-09-04 19:25:44.069416"], ["updated_at", "2015-09-04 19:25:44.071964"], ["id", 809335042]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-09-04 19:25:44.076583"], ["updated_at", "2015-09-04 19:25:44.076583"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 3.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-04 14:25:44 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 15ms (Views: 2.2ms | ActiveRecord: 1.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-09-04 14:25:44 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-18", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-18"], ["created_at", "2015-09-04 19:25:44.272489"], ["updated_at", "2015-09-04 19:25:44.272489"]]  (0.3ms) COMMIT  (0.3ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-09-04 19:25:44.276138"], ["updated_at", "2015-09-04 19:25:44.276138"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-04 14:25:44 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 16ms (Views: 2.2ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.5ms) Sent mail to obama@ex.co (3.0ms) Date: Fri, 04 Sep 2015 14:25:44 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e9f03899c58_161e3fd22a8181fc58564@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 43.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.6ms) Date: Fri, 04 Sep 2015 14:25:44 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e9f0389b0d3_161e3fd22a8181fc5863f@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Health Care Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/like_mailer/like_email_alert.html.erb (0.0ms) Sent mail to obama@ex.co (2.5ms) Date: Fri, 04 Sep 2015 14:25:44 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55e9f0389c2ff_161e3fd22a8181fc58732@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: Supreme court decision was something else! Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Supreme court decision was something else!

LikeMailer#like_email_alert: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 9ms (Views: 8.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (7.4ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-04 19:25:44', '2015-09-04 19:25:44', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-04', '2015-09-04 19:25:44', '2015-09-04 19:25:44', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-04 19:25:44.000000', '2015-09-04', '2015-09-04 19:25:44', '2015-09-04 19:25:44', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-04', '2015-09-04 19:25:44', '2015-09-04 19:25:44', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-04 19:25:44', '2015-09-04 19:25:44', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-04 19:25:44.000000', '2015-09-04', '2015-09-04 19:25:44', '2015-09-04 19:25:44', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-03', '2015-09-04 19:25:44', '2015-09-04 19:25:44', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-02', '2015-09-04 19:25:44', '2015-09-04 19:25:44', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-04 19:25:44.000000', '2015-09-04', '2015-09-04 19:25:44', '2015-09-04 19:25:44', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-04', '2015-09-04 19:25:44', '2015-09-04 19:25:44', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-04 19:25:44.000000', '2015-09-04', '2015-09-04 19:25:44', '2015-09-04 19:25:44', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-04', '2015-09-04 19:25:44', '2015-09-04 19:25:44', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-04 19:25:44.000000', '2015-09-04', '2015-09-04 19:25:44', '2015-09-04 19:25:44', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-04 19:25:44', '2015-09-04 19:25:44', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 19:25:44.000000', '2015-09-04 19:25:44', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 19:25:44.000000', '2015-09-04 19:25:44', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 19:25:44.000000', '2015-09-04 19:25:44', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 19:25:44.000000', '2015-09-04 19:25:44', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-04 19:25:44', '2015-09-04 19:25:44', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-04 19:25:44', '2015-09-04 19:25:44', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-04 19:25:44', '2015-09-04 19:25:44', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-04 19:25:44', '2015-09-04 19:25:44', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-04 19:25:44', '2015-09-04 19:25:44', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-04 19:25:44', '2015-09-04 19:25:44', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-04 19:25:44', '2015-09-04 19:25:44', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-04 19:25:44', '2015-09-04 19:25:44', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-04 19:25:44', '2015-09-04 19:25:44', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-04 19:25:44', '2015-09-04 19:25:44', 809335042, 'SocialNetworking::Goal', 809335042)  (5.7ms) COMMIT  (12.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-04 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-04 00:00:00.000000"], ["updated_at", "2015-09-04 19:25:44.896550"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 19:25:44.905617"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-27 00:00:00.000000"], ["updated_at", "2015-09-04 19:25:44.909449"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-09-04 19:25:45.415136"], ["updated_at", "2015-09-04 19:25:45.415136"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-04 19:25:45.420247"], ["updated_at", "2015-09-04 19:25:45.420247"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-04 19:25:45.423169"], ["updated_at", "2015-09-04 19:25:45.423169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 25ms (Views: 0.3ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 7ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 13ms (Views: 0.4ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 14ms (Views: 0.4ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 13ms (Views: 0.4ms | ActiveRecord: 1.1ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 13ms (Views: 0.4ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 10ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 9ms (Views: 0.4ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 13ms (Views: 0.4ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 11ms (Views: 0.5ms | ActiveRecord: 1.4ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 500 Internal Server Error in 9ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 20ms (Views: 0.3ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 21ms (Views: 0.4ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 10ms (Views: 0.4ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 28ms (Views: 0.8ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 27ms (Views: 0.5ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 27ms (Views: 0.3ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 29ms (Views: 0.4ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 25ms (Views: 0.4ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 25ms (Views: 0.5ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 21ms (Views: 0.5ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 500 Internal Server Error in 17ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 500 Internal Server Error in 24ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 500 Internal Server Error in 17ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 27ms (Views: 0.5ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 26ms (Views: 0.3ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 26ms (Views: 0.4ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 24ms (Views: 0.9ms | ActiveRecord: 1.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 25ms (Views: 0.3ms | ActiveRecord: 2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 25ms (Views: 0.5ms | ActiveRecord: 1.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 31ms (Views: 0.3ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 23ms (Views: 0.3ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 32ms (Views: 0.4ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 654654654]] Completed 404 Not Found in 25ms (Views: 0.2ms | ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 500 Internal Server Error in 22ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 500 Internal Server Error in 18ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 30ms (Views: 0.5ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 15ms (Views: 0.4ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 14ms (Views: 0.4ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 16ms (Views: 0.5ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 22ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 12ms (Views: 0.4ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 22ms (Views: 0.4ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 23ms (Views: 16.0ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 20ms (Views: 0.3ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (1.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-04 20:24:55', '2015-09-04 20:24:55', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-04', '2015-09-04 20:24:55', '2015-09-04 20:24:55', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-04 20:24:55.000000', '2015-09-04', '2015-09-04 20:24:55', '2015-09-04 20:24:55', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-04', '2015-09-04 20:24:55', '2015-09-04 20:24:55', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-04 20:24:55', '2015-09-04 20:24:55', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-04 20:24:55.000000', '2015-09-04', '2015-09-04 20:24:55', '2015-09-04 20:24:55', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-03', '2015-09-04 20:24:55', '2015-09-04 20:24:55', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-02', '2015-09-04 20:24:55', '2015-09-04 20:24:55', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-04 20:24:55.000000', '2015-09-04', '2015-09-04 20:24:55', '2015-09-04 20:24:55', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-04', '2015-09-04 20:24:55', '2015-09-04 20:24:55', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-04 20:24:55.000000', '2015-09-04', '2015-09-04 20:24:55', '2015-09-04 20:24:55', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-04', '2015-09-04 20:24:55', '2015-09-04 20:24:55', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-04 20:24:55.000000', '2015-09-04', '2015-09-04 20:24:55', '2015-09-04 20:24:55', 16804933, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-04 20:24:55', '2015-09-04 20:24:55', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 20:24:55.000000', '2015-09-04 20:24:55', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 20:24:55.000000', '2015-09-04 20:24:55', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 20:24:55.000000', '2015-09-04 20:24:55', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 20:24:55.000000', '2015-09-04 20:24:55', 316146702, 816972181, 700141617) Fixture Delete (0.5ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-04 20:24:55', '2015-09-04 20:24:55', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-04 20:24:55', '2015-09-04 20:24:55', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-04 20:24:55', '2015-09-04 20:24:55', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-04 20:24:55', '2015-09-04 20:24:55', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-04 20:24:55', '2015-09-04 20:24:55', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-04 20:24:55', '2015-09-04 20:24:55', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-04 20:24:55', '2015-09-04 20:24:55', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-04 20:24:55', '2015-09-04 20:24:55', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-04 20:24:55', '2015-09-04 20:24:55', 183235640, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-04 20:24:55', '2015-09-04 20:24:55', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 9ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.5ms) Completed 200 OK in 23ms (Views: 15.7ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (8.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-04 20:25:52', '2015-09-04 20:25:52', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-04', '2015-09-04 20:25:52', '2015-09-04 20:25:52', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-04 20:25:52.000000', '2015-09-04', '2015-09-04 20:25:52', '2015-09-04 20:25:52', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-04', '2015-09-04 20:25:52', '2015-09-04 20:25:52', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-04 20:25:52', '2015-09-04 20:25:52', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-04 20:25:52.000000', '2015-09-04', '2015-09-04 20:25:52', '2015-09-04 20:25:52', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-03', '2015-09-04 20:25:52', '2015-09-04 20:25:52', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-02', '2015-09-04 20:25:52', '2015-09-04 20:25:52', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-04 20:25:52.000000', '2015-09-04', '2015-09-04 20:25:52', '2015-09-04 20:25:52', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-04', '2015-09-04 20:25:52', '2015-09-04 20:25:52', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-04 20:25:52.000000', '2015-09-04', '2015-09-04 20:25:52', '2015-09-04 20:25:52', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-04', '2015-09-04 20:25:52', '2015-09-04 20:25:52', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-04 20:25:52.000000', '2015-09-04', '2015-09-04 20:25:52', '2015-09-04 20:25:52', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-04 20:25:52', '2015-09-04 20:25:52', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 20:25:52.000000', '2015-09-04 20:25:52', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 20:25:52.000000', '2015-09-04 20:25:52', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 20:25:52.000000', '2015-09-04 20:25:52', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 20:25:52.000000', '2015-09-04 20:25:52', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-04 20:25:52', '2015-09-04 20:25:52', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-04 20:25:52', '2015-09-04 20:25:52', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-04 20:25:52', '2015-09-04 20:25:52', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-04 20:25:52', '2015-09-04 20:25:52', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-04 20:25:52', '2015-09-04 20:25:52', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-04 20:25:52', '2015-09-04 20:25:52', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-04 20:25:52', '2015-09-04 20:25:52', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-04 20:25:52', '2015-09-04 20:25:52', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-04 20:25:52', '2015-09-04 20:25:52', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-04 20:25:52', '2015-09-04 20:25:52', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (1.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 11ms (Views: 10.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.5ms) Completed 200 OK in 15ms (Views: 8.0ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (1.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-04 20:26:16', '2015-09-04 20:26:16', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-04', '2015-09-04 20:26:16', '2015-09-04 20:26:16', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-04 20:26:16.000000', '2015-09-04', '2015-09-04 20:26:16', '2015-09-04 20:26:16', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-04', '2015-09-04 20:26:16', '2015-09-04 20:26:16', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-04 20:26:16', '2015-09-04 20:26:16', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-04 20:26:16.000000', '2015-09-04', '2015-09-04 20:26:16', '2015-09-04 20:26:16', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-03', '2015-09-04 20:26:16', '2015-09-04 20:26:16', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-02', '2015-09-04 20:26:16', '2015-09-04 20:26:16', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-04 20:26:16.000000', '2015-09-04', '2015-09-04 20:26:16', '2015-09-04 20:26:16', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-04', '2015-09-04 20:26:16', '2015-09-04 20:26:16', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-04 20:26:16.000000', '2015-09-04', '2015-09-04 20:26:16', '2015-09-04 20:26:16', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-04', '2015-09-04 20:26:16', '2015-09-04 20:26:16', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-04 20:26:16.000000', '2015-09-04', '2015-09-04 20:26:16', '2015-09-04 20:26:16', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-04 20:26:16', '2015-09-04 20:26:16', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 20:26:16.000000', '2015-09-04 20:26:16', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 20:26:16.000000', '2015-09-04 20:26:16', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 20:26:16.000000', '2015-09-04 20:26:16', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 20:26:16.000000', '2015-09-04 20:26:16', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-04 20:26:16', '2015-09-04 20:26:16', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-04 20:26:16', '2015-09-04 20:26:16', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-04 20:26:16', '2015-09-04 20:26:16', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-04 20:26:16', '2015-09-04 20:26:16', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-04 20:26:16', '2015-09-04 20:26:16', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-04 20:26:16', '2015-09-04 20:26:16', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-04 20:26:16', '2015-09-04 20:26:16', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-04 20:26:16', '2015-09-04 20:26:16', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-04 20:26:16', '2015-09-04 20:26:16', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-04 20:26:16', '2015-09-04 20:26:16', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (2.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-04 20:27:04', '2015-09-04 20:27:04', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-04', '2015-09-04 20:27:04', '2015-09-04 20:27:04', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-04 20:27:04.000000', '2015-09-04', '2015-09-04 20:27:04', '2015-09-04 20:27:04', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-04', '2015-09-04 20:27:04', '2015-09-04 20:27:04', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-04 20:27:04', '2015-09-04 20:27:04', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-04 20:27:04.000000', '2015-09-04', '2015-09-04 20:27:04', '2015-09-04 20:27:04', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-03', '2015-09-04 20:27:04', '2015-09-04 20:27:04', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-02', '2015-09-04 20:27:04', '2015-09-04 20:27:04', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-04 20:27:04.000000', '2015-09-04', '2015-09-04 20:27:04', '2015-09-04 20:27:04', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-04', '2015-09-04 20:27:04', '2015-09-04 20:27:04', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-04 20:27:04.000000', '2015-09-04', '2015-09-04 20:27:04', '2015-09-04 20:27:04', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-04', '2015-09-04 20:27:04', '2015-09-04 20:27:04', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-04 20:27:04.000000', '2015-09-04', '2015-09-04 20:27:04', '2015-09-04 20:27:04', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-04 20:27:04', '2015-09-04 20:27:04', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 20:27:04.000000', '2015-09-04 20:27:04', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 20:27:04.000000', '2015-09-04 20:27:04', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 20:27:04.000000', '2015-09-04 20:27:04', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 20:27:04.000000', '2015-09-04 20:27:04', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-04 20:27:04', '2015-09-04 20:27:04', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-04 20:27:04', '2015-09-04 20:27:04', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-04 20:27:04', '2015-09-04 20:27:04', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-04 20:27:04', '2015-09-04 20:27:04', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-04 20:27:04', '2015-09-04 20:27:04', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-04 20:27:04', '2015-09-04 20:27:04', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-04 20:27:04', '2015-09-04 20:27:04', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-04 20:27:04', '2015-09-04 20:27:04', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-04 20:27:04', '2015-09-04 20:27:04', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-04 20:27:04', '2015-09-04 20:27:04', 809335042, 'SocialNetworking::Goal', 809335042)  (1.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 15ms (Views: 13.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 11ms (Views: 9.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 10ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 500 Internal Server Error in 5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (2.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-04 20:38:01', '2015-09-04 20:38:01', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-04', '2015-09-04 20:38:01', '2015-09-04 20:38:01', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-04 20:38:01.000000', '2015-09-04', '2015-09-04 20:38:01', '2015-09-04 20:38:01', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-04', '2015-09-04 20:38:01', '2015-09-04 20:38:01', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-04 20:38:01', '2015-09-04 20:38:01', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-04 20:38:01.000000', '2015-09-04', '2015-09-04 20:38:01', '2015-09-04 20:38:01', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-03', '2015-09-04 20:38:01', '2015-09-04 20:38:01', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-02', '2015-09-04 20:38:01', '2015-09-04 20:38:01', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-04 20:38:01.000000', '2015-09-04', '2015-09-04 20:38:01', '2015-09-04 20:38:01', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-04', '2015-09-04 20:38:01', '2015-09-04 20:38:01', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-04 20:38:01.000000', '2015-09-04', '2015-09-04 20:38:01', '2015-09-04 20:38:01', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-04', '2015-09-04 20:38:01', '2015-09-04 20:38:01', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-04 20:38:01.000000', '2015-09-04', '2015-09-04 20:38:01', '2015-09-04 20:38:01', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-04 20:38:01', '2015-09-04 20:38:01', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 20:38:01.000000', '2015-09-04 20:38:01', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 20:38:01.000000', '2015-09-04 20:38:01', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 20:38:01.000000', '2015-09-04 20:38:01', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 20:38:01.000000', '2015-09-04 20:38:01', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-04 20:38:01', '2015-09-04 20:38:01', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-04 20:38:01', '2015-09-04 20:38:01', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-04 20:38:01', '2015-09-04 20:38:01', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-04 20:38:01', '2015-09-04 20:38:01', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-04 20:38:01', '2015-09-04 20:38:01', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-04 20:38:01', '2015-09-04 20:38:01', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-04 20:38:01', '2015-09-04 20:38:01', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-04 20:38:01', '2015-09-04 20:38:01', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-04 20:38:01', '2015-09-04 20:38:01', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-04 20:38:01', '2015-09-04 20:38:01', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (2.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-04 20:38:26', '2015-09-04 20:38:26', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-04', '2015-09-04 20:38:26', '2015-09-04 20:38:26', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-04 20:38:26.000000', '2015-09-04', '2015-09-04 20:38:26', '2015-09-04 20:38:26', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-04', '2015-09-04 20:38:26', '2015-09-04 20:38:26', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-04 20:38:26', '2015-09-04 20:38:26', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-04 20:38:26.000000', '2015-09-04', '2015-09-04 20:38:26', '2015-09-04 20:38:26', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-03', '2015-09-04 20:38:26', '2015-09-04 20:38:26', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-02', '2015-09-04 20:38:26', '2015-09-04 20:38:26', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-04 20:38:26.000000', '2015-09-04', '2015-09-04 20:38:26', '2015-09-04 20:38:26', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-04', '2015-09-04 20:38:26', '2015-09-04 20:38:26', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-04 20:38:26.000000', '2015-09-04', '2015-09-04 20:38:26', '2015-09-04 20:38:26', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-04', '2015-09-04 20:38:26', '2015-09-04 20:38:26', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-04 20:38:26.000000', '2015-09-04', '2015-09-04 20:38:26', '2015-09-04 20:38:26', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-04 20:38:26', '2015-09-04 20:38:26', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 20:38:26.000000', '2015-09-04 20:38:26', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 20:38:26.000000', '2015-09-04 20:38:26', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 20:38:26.000000', '2015-09-04 20:38:26', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 20:38:26.000000', '2015-09-04 20:38:26', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-04 20:38:26', '2015-09-04 20:38:26', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-04 20:38:26', '2015-09-04 20:38:26', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-04 20:38:26', '2015-09-04 20:38:26', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-04 20:38:26', '2015-09-04 20:38:26', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-04 20:38:26', '2015-09-04 20:38:26', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-04 20:38:26', '2015-09-04 20:38:26', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-04 20:38:26', '2015-09-04 20:38:26', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-04 20:38:26', '2015-09-04 20:38:26', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-04 20:38:26', '2015-09-04 20:38:26', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-04 20:38:26', '2015-09-04 20:38:26', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (0.9ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.5ms) Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 500 Internal Server Error in 5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Mailer#notify: processed outbound mail in 36.4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Mailer#notify: processed outbound mail in 0.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Mailer#notify: processed outbound mail in 0.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Mailer#notify: processed outbound mail in 32.3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Mailer#notify: processed outbound mail in 0.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Mailer#notify: processed outbound mail in 0.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Mailer#notify: processed outbound mail in 32.7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Mailer#notify: processed outbound mail in 0.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Mailer#notify: processed outbound mail in 0.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Mailer#notify: processed outbound mail in 32.5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Mailer#notify: processed outbound mail in 0.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Mailer#notify: processed outbound mail in 0.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Mailer#notify: processed outbound mail in 31.6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Mailer#notify: processed outbound mail in 0.6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Mailer#notify: processed outbound mail in 0.7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (9.6ms) Sent mail to obama@ex.co (8.7ms) Date: Fri, 04 Sep 2015 15:55:10 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ea052ed1b0e_3ff13fdf118601fc31377@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: subject Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

body

SocialNetworking::Mailer#notify: processed outbound mail in 498.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 04 Sep 2015 15:55:10 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ea052ed3ce8_3ff13fdf118601fc314ed@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: subject Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

body

SocialNetworking::Mailer#notify: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.0ms) Sent mail to obama@ex.co (2.2ms) Date: Fri, 04 Sep 2015 15:55:10 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ea052ed5352_3ff13fdf118601fc31547@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: body Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

body

SocialNetworking::Mailer#notify: processed outbound mail in 3.2ms  (0.1ms) ROLLBACK  (3.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.1ms) BEGIN  (14.2ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (6.1ms) COMMIT Migrating to AddParticipantFields (2)  (6.0ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.2ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (6.1ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (20.1ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (4.9ms) COMMIT Migrating to AddNullFalseToArms (5)  (5.8ms) BEGIN  (0.3ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.2ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (11.5ms) COMMIT Migrating to AddHasWozToArm (6)  (0.2ms) BEGIN  (15.0ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (10.7ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (6.0ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.1ms) BEGIN  (7.7ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.5ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (0.9ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (11.4ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (6.1ms) BEGIN  (13.5ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.1ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (1.5ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (11.2ms) BEGIN  (13.1ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.1ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (11.1ms) BEGIN  (14.2ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (5.5ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (5.4ms) BEGIN  (13.7ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (4.8ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (5.9ms) BEGIN  (14.2ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (4.4ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (5.8ms) BEGIN  (7.5ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (6.0ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (6.0ms) BEGIN  (14.2ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (5.0ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (5.7ms) BEGIN  (14.3ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.2ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (5.0ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (5.8ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (1.2ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (6.2ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (6.3ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.1ms) BEGIN  (6.9ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (6.0ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (14.1ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (6.4ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.1ms) BEGIN  (14.5ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (6.4ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (5.8ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.1ms) BEGIN  (6.1ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (6.0ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.1ms) BEGIN  (7.0ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (5.6ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (5.8ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2015-09-04 20:59:56.189861"], ["updated_at", "2015-09-04 20:59:56.189861"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2015-09-04 20:59:56.191685"], ["updated_at", "2015-09-04 20:59:56.191685"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2015-09-04 20:59:56.192864"], ["updated_at", "2015-09-04 20:59:56.192864"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2015-09-04 20:59:56.193981"], ["updated_at", "2015-09-04 20:59:56.193981"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2015-09-04 20:59:56.195117"], ["updated_at", "2015-09-04 20:59:56.195117"]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (5.9ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (5.9ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (5.9ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.1ms) BEGIN SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (6.1ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (6.3ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (5.9ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.2ms) BEGIN SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (5.9ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.1ms) BEGIN  (7.5ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (5.5ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (5.8ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (6.0ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.2ms) BEGIN SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (5.8ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (5.5ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (6.1ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (5.2ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (5.9ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.1ms) BEGIN  (6.3ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (6.0ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.1ms) BEGIN  (6.7ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (6.2ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.1ms) BEGIN  (6.9ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (6.7ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (4.4ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.2ms) BEGIN  (6.4ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (6.3ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (6.4ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.3ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.2ms) BEGIN  (6.4ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (5.8ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (3.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 7ms (Views: 0.4ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 10ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 11ms (Views: 10.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (2.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (2.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-04 21:00:07', '2015-09-04 21:00:07', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-04', '2015-09-04 21:00:07', '2015-09-04 21:00:07', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-04 21:00:07.000000', '2015-09-04', '2015-09-04 21:00:07', '2015-09-04 21:00:07', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-04', '2015-09-04 21:00:07', '2015-09-04 21:00:07', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-04 21:00:07', '2015-09-04 21:00:07', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-04 21:00:07.000000', '2015-09-04', '2015-09-04 21:00:07', '2015-09-04 21:00:07', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-03', '2015-09-04 21:00:07', '2015-09-04 21:00:07', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-02', '2015-09-04 21:00:07', '2015-09-04 21:00:07', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-04 21:00:07.000000', '2015-09-04', '2015-09-04 21:00:07', '2015-09-04 21:00:07', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-04', '2015-09-04 21:00:07', '2015-09-04 21:00:07', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-04 21:00:07.000000', '2015-09-04', '2015-09-04 21:00:07', '2015-09-04 21:00:07', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-04', '2015-09-04 21:00:07', '2015-09-04 21:00:07', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-04 21:00:07.000000', '2015-09-04', '2015-09-04 21:00:07', '2015-09-04 21:00:07', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-04 21:00:07', '2015-09-04 21:00:07', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 21:00:07.000000', '2015-09-04 21:00:07', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 21:00:07.000000', '2015-09-04 21:00:07', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 21:00:07.000000', '2015-09-04 21:00:07', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 21:00:07.000000', '2015-09-04 21:00:07', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-04 21:00:07', '2015-09-04 21:00:07', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-04 21:00:07', '2015-09-04 21:00:07', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-04 21:00:07', '2015-09-04 21:00:07', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-04 21:00:07', '2015-09-04 21:00:07', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-04 21:00:07', '2015-09-04 21:00:07', 10484799, 183235640) Fixture Delete (0.5ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-04 21:00:07', '2015-09-04 21:00:07', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-04 21:00:07', '2015-09-04 21:00:07', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-04 21:00:07', '2015-09-04 21:00:07', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-04 21:00:07', '2015-09-04 21:00:07', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-04 21:00:07', '2015-09-04 21:00:07', 809335042, 'SocialNetworking::Goal', 809335042)  (0.3ms) COMMIT  (1.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:00:08.026783"], ["updated_at", "2015-09-04 21:00:08.026783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.9ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-04 21:00:08.044787"], ["updated_at", "2015-09-04 21:00:08.044787"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-04 21:00:08.049835"], ["updated_at", "2015-09-04 21:00:08.049835"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-28 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 21:00:08.101160"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-27 00:00:00.000000"], ["updated_at", "2015-09-04 21:00:08.104417"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-04 23:59:59.999999' AND created_at >= '2015-09-04 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-04 00:00:00.000000"], ["updated_at", "2015-09-04 21:00:08.114511"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-04 23:59:59.999999' AND created_at >= '2015-09-04 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 21:00:08.122046"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.8ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-04 21:00:08.199771"], ["updated_at", "2015-09-04 21:00:08.199771"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-04 21:00:08.205419"], ["updated_at", "2015-09-04 21:00:08.205419"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-28 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 21:00:08.277740"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-27 00:00:00.000000"], ["updated_at", "2015-09-04 21:00:08.283098"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-28 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-04 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-04 00:00:00.000000"], ["updated_at", "2015-09-04 21:00:08.297918"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-04 21:00:08.305249') AND ("social_networking_goals"."due_on" >= '2015-09-03 21:00:08.305286') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-04 21:00:08.309393') AND ("social_networking_goals"."due_on" >= '2015-09-03 21:00:08.309414')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-04 21:00:08.311232') AND ("social_networking_goals"."due_on" >= '2015-09-03 21:00:08.311248')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-09-04 21:00:08.315404"], ["updated_at", "2015-09-04 21:00:08.315404"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-09-04"], ["created_at", "2015-09-04 21:00:08.320713"], ["updated_at", "2015-09-04 21:00:08.320713"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-05"], ["created_at", "2015-09-04 21:00:08.328770"], ["updated_at", "2015-09-04 21:00:08.328770"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-04"], ["completed_at", "2015-09-02 00:00:00.000000"], ["created_at", "2015-09-04 21:00:08.333740"], ["updated_at", "2015-09-04 21:00:08.333740"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-09-04 21:00:08.338966"], ["updated_at", "2015-09-04 21:00:08.338966"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 11ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 500 Internal Server Error in 6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (2.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.7ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-04 21:00:09.872878"], ["updated_at", "2015-09-04 21:00:09.872878"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:00:09.876061"], ["updated_at", "2015-09-04 21:00:09.876061"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-04 21:00:09.883530"], ["updated_at", "2015-09-04 21:00:09.883530"]] SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:00:09.886146"], ["updated_at", "2015-09-04 21:00:09.886146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-04 21:00:09.893477"], ["updated_at", "2015-09-04 21:00:09.893477"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:00:09.896854"], ["updated_at", "2015-09-04 21:00:09.896854"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-04 21:00:09.918680"], ["updated_at", "2015-09-04 21:00:09.918680"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:00:09.921315"], ["updated_at", "2015-09-04 21:00:09.921315"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 21:00:09.934204"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-04 00:00:00.000000"], ["updated_at", "2015-09-04 21:00:09.948873"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 21:00:09.979760"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-27 00:00:00.000000"], ["updated_at", "2015-09-04 21:00:09.983475"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-04 00:00:00.000000"], ["updated_at", "2015-09-04 21:00:09.990503"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.6ms) Sent mail to obama@ex.co (16.7ms) Date: Fri, 04 Sep 2015 16:00:10 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ea065a557aa_44f73fc6794001f819532@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: body Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

body

SocialNetworking::Mailer#notify: processed outbound mail in 245.2ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.1ms) Sent mail to obama@ex.co (2.4ms) Date: Fri, 04 Sep 2015 16:00:10 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ea065a59737_44f73fc6794001f819611@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: subject Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

body

SocialNetworking::Mailer#notify: processed outbound mail in 3.6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.1ms) Sent mail to obama@ex.co (2.8ms) Date: Fri, 04 Sep 2015 16:00:10 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ea065a5ac19_44f73fc6794001f819745@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: subject Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

body

SocialNetworking::Mailer#notify: processed outbound mail in 4.0ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-04 16:00:11 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.3ms) Completed 200 OK in 121ms (Views: 93.6ms | ActiveRecord: 6.5ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-04 16:00:11 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-04 16:00:11 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-09-04 16:00:12 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-02", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-02"], ["updated_at", "2015-09-04 21:00:12.252327"], ["id", 53334230]]  (6.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 8.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-04 16:00:12 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-04 16:00:12 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-09-04 16:00:12 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Sep 04 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-09-04 21:00:12.557190"], ["updated_at", "2015-09-04 21:00:12.560001"], ["id", 614371357]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-04 16:00:12 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 14ms (Views: 1.9ms | ActiveRecord: 1.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-09-04 16:00:12 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-18", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-18"], ["created_at", "2015-09-04 21:00:12.864214"], ["updated_at", "2015-09-04 21:00:12.864214"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:00:12.868067"], ["updated_at", "2015-09-04 21:00:12.868067"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-04 16:00:12 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 2.1ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-09-04 16:00:13 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Sep 04 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.8ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-09-04 21:00:13.096403"], ["updated_at", "2015-09-04 21:00:13.100497"], ["id", 809335042]]  (0.4ms) COMMIT  (0.5ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:00:13.105262"], ["updated_at", "2015-09-04 21:00:13.105262"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 3.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (7.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-04 21:00:13', '2015-09-04 21:00:13', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-04', '2015-09-04 21:00:13', '2015-09-04 21:00:13', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-04 21:00:13.000000', '2015-09-04', '2015-09-04 21:00:13', '2015-09-04 21:00:13', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-04', '2015-09-04 21:00:13', '2015-09-04 21:00:13', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-04 21:00:13', '2015-09-04 21:00:13', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-04 21:00:13.000000', '2015-09-04', '2015-09-04 21:00:13', '2015-09-04 21:00:13', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-03', '2015-09-04 21:00:13', '2015-09-04 21:00:13', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-02', '2015-09-04 21:00:13', '2015-09-04 21:00:13', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-04 21:00:13.000000', '2015-09-04', '2015-09-04 21:00:13', '2015-09-04 21:00:13', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-04', '2015-09-04 21:00:13', '2015-09-04 21:00:13', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-04 21:00:13.000000', '2015-09-04', '2015-09-04 21:00:13', '2015-09-04 21:00:13', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-04', '2015-09-04 21:00:13', '2015-09-04 21:00:13', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-04 21:00:13.000000', '2015-09-04', '2015-09-04 21:00:13', '2015-09-04 21:00:13', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-04 21:00:13', '2015-09-04 21:00:13', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 21:00:13.000000', '2015-09-04 21:00:13', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 21:00:13.000000', '2015-09-04 21:00:13', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 21:00:13.000000', '2015-09-04 21:00:13', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 21:00:13.000000', '2015-09-04 21:00:13', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-04 21:00:13', '2015-09-04 21:00:13', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-04 21:00:13', '2015-09-04 21:00:13', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-04 21:00:13', '2015-09-04 21:00:13', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-04 21:00:13', '2015-09-04 21:00:13', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-04 21:00:13', '2015-09-04 21:00:13', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-04 21:00:13', '2015-09-04 21:00:13', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-04 21:00:13', '2015-09-04 21:00:13', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-04 21:00:13', '2015-09-04 21:00:13', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-04 21:00:13', '2015-09-04 21:00:13', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-04 21:00:13', '2015-09-04 21:00:13', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (0.9ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-28 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 21:00:13.273222"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-27 00:00:00.000000"], ["updated_at", "2015-09-04 21:00:13.277348"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-04 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-04 00:00:00.000000"], ["updated_at", "2015-09-04 21:00:13.285308"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 13ms (Views: 0.4ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (2.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-04 21:00:34', '2015-09-04 21:00:34', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-04', '2015-09-04 21:00:34', '2015-09-04 21:00:34', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-04 21:00:34.000000', '2015-09-04', '2015-09-04 21:00:34', '2015-09-04 21:00:34', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-04', '2015-09-04 21:00:34', '2015-09-04 21:00:34', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-04 21:00:34', '2015-09-04 21:00:34', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-04 21:00:34.000000', '2015-09-04', '2015-09-04 21:00:34', '2015-09-04 21:00:34', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-03', '2015-09-04 21:00:34', '2015-09-04 21:00:34', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-02', '2015-09-04 21:00:34', '2015-09-04 21:00:34', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-04 21:00:34.000000', '2015-09-04', '2015-09-04 21:00:34', '2015-09-04 21:00:34', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-04', '2015-09-04 21:00:34', '2015-09-04 21:00:34', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-04 21:00:34.000000', '2015-09-04', '2015-09-04 21:00:34', '2015-09-04 21:00:34', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-04', '2015-09-04 21:00:34', '2015-09-04 21:00:34', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-04 21:00:34.000000', '2015-09-04', '2015-09-04 21:00:34', '2015-09-04 21:00:34', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-04 21:00:34', '2015-09-04 21:00:34', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 21:00:34.000000', '2015-09-04 21:00:34', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 21:00:34.000000', '2015-09-04 21:00:34', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 21:00:34.000000', '2015-09-04 21:00:34', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 21:00:34.000000', '2015-09-04 21:00:34', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-04 21:00:34', '2015-09-04 21:00:34', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-04 21:00:34', '2015-09-04 21:00:34', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-04 21:00:34', '2015-09-04 21:00:34', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-04 21:00:34', '2015-09-04 21:00:34', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-04 21:00:34', '2015-09-04 21:00:34', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-04 21:00:34', '2015-09-04 21:00:34', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-04 21:00:34', '2015-09-04 21:00:34', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-04 21:00:34', '2015-09-04 21:00:34', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-04 21:00:34', '2015-09-04 21:00:34', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-04 21:00:34', '2015-09-04 21:00:34', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 500 Internal Server Error in 16ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 500 Internal Server Error in 17ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 500 Internal Server Error in 10ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 13ms (Views: 0.4ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 500 Internal Server Error in 9ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 500 Internal Server Error in 9ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 13ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 1.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 13ms (Views: 0.4ms | ActiveRecord: 1.1ms)  (0.5ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 18ms (Views: 0.4ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} SocialNetworking::Mailer#notify: processed outbound mail in 0.7ms Completed 500 Internal Server Error in 16ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 10ms (Views: 0.5ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 11ms (Views: 10.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (7.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-04 21:20:08', '2015-09-04 21:20:08', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-04', '2015-09-04 21:20:08', '2015-09-04 21:20:08', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-04 21:20:08.000000', '2015-09-04', '2015-09-04 21:20:08', '2015-09-04 21:20:08', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-04', '2015-09-04 21:20:08', '2015-09-04 21:20:08', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-04 21:20:08', '2015-09-04 21:20:08', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-04 21:20:08.000000', '2015-09-04', '2015-09-04 21:20:08', '2015-09-04 21:20:08', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-03', '2015-09-04 21:20:08', '2015-09-04 21:20:08', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-02', '2015-09-04 21:20:08', '2015-09-04 21:20:08', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-04 21:20:08.000000', '2015-09-04', '2015-09-04 21:20:08', '2015-09-04 21:20:08', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-04', '2015-09-04 21:20:08', '2015-09-04 21:20:08', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-04 21:20:08.000000', '2015-09-04', '2015-09-04 21:20:08', '2015-09-04 21:20:08', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-04', '2015-09-04 21:20:08', '2015-09-04 21:20:08', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-04 21:20:08.000000', '2015-09-04', '2015-09-04 21:20:08', '2015-09-04 21:20:08', 16804933, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-04 21:20:08', '2015-09-04 21:20:08', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 21:20:08.000000', '2015-09-04 21:20:08', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 21:20:08.000000', '2015-09-04 21:20:08', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 21:20:08.000000', '2015-09-04 21:20:08', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 21:20:08.000000', '2015-09-04 21:20:08', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-04 21:20:08', '2015-09-04 21:20:08', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-04 21:20:08', '2015-09-04 21:20:08', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-04 21:20:08', '2015-09-04 21:20:08', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-04 21:20:08', '2015-09-04 21:20:08', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-04 21:20:08', '2015-09-04 21:20:08', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-04 21:20:08', '2015-09-04 21:20:08', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-04 21:20:08', '2015-09-04 21:20:08', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-04 21:20:08', '2015-09-04 21:20:08', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-04 21:20:08', '2015-09-04 21:20:08', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-04 21:20:08', '2015-09-04 21:20:08', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 16ms (Views: 0.4ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 13ms (Views: 12.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (6.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.6ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-04 21:34:37', '2015-09-04 21:34:37', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-04', '2015-09-04 21:34:37', '2015-09-04 21:34:37', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-04 21:34:36.000000', '2015-09-04', '2015-09-04 21:34:37', '2015-09-04 21:34:37', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-04', '2015-09-04 21:34:37', '2015-09-04 21:34:37', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-04 21:34:37', '2015-09-04 21:34:37', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-04 21:34:36.000000', '2015-09-04', '2015-09-04 21:34:37', '2015-09-04 21:34:37', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-03', '2015-09-04 21:34:37', '2015-09-04 21:34:37', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-02', '2015-09-04 21:34:37', '2015-09-04 21:34:37', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-04 21:34:36.000000', '2015-09-04', '2015-09-04 21:34:37', '2015-09-04 21:34:37', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-04', '2015-09-04 21:34:37', '2015-09-04 21:34:37', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-04 21:34:36.000000', '2015-09-04', '2015-09-04 21:34:37', '2015-09-04 21:34:37', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-04', '2015-09-04 21:34:37', '2015-09-04 21:34:37', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-04 21:34:36.000000', '2015-09-04', '2015-09-04 21:34:37', '2015-09-04 21:34:37', 16804933, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-04 21:34:37', '2015-09-04 21:34:37', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 21:34:36.000000', '2015-09-04 21:34:37', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 21:34:36.000000', '2015-09-04 21:34:37', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 21:34:36.000000', '2015-09-04 21:34:37', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 21:34:36.000000', '2015-09-04 21:34:37', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-04 21:34:37', '2015-09-04 21:34:37', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-04 21:34:37', '2015-09-04 21:34:37', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-04 21:34:37', '2015-09-04 21:34:37', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-04 21:34:37', '2015-09-04 21:34:37', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-04 21:34:37', '2015-09-04 21:34:37', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-04 21:34:37', '2015-09-04 21:34:37', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-04 21:34:37', '2015-09-04 21:34:37', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-04 21:34:37', '2015-09-04 21:34:37', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-04 21:34:37', '2015-09-04 21:34:37', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-04 21:34:37', '2015-09-04 21:34:37', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (1.9ms) Sent mail to obama@ex.co (8.8ms) Date: Fri, 04 Sep 2015 16:34:48 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ea0e7830344_55583fdcc60601fc6631c@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: subject Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

body

SocialNetworking::Mailer#notify: processed outbound mail in 264.4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 04 Sep 2015 16:34:48 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ea0e7832309_55583fdcc60601fc664b8@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: subject Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

body

SocialNetworking::Mailer#notify: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (15.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (24.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (7.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-04 21:37:14', '2015-09-04 21:37:14', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-04', '2015-09-04 21:37:14', '2015-09-04 21:37:14', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-04 21:37:14.000000', '2015-09-04', '2015-09-04 21:37:14', '2015-09-04 21:37:14', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-04', '2015-09-04 21:37:14', '2015-09-04 21:37:14', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-04 21:37:14', '2015-09-04 21:37:14', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-04 21:37:14.000000', '2015-09-04', '2015-09-04 21:37:14', '2015-09-04 21:37:14', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-03', '2015-09-04 21:37:14', '2015-09-04 21:37:14', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-02', '2015-09-04 21:37:14', '2015-09-04 21:37:14', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-04 21:37:14.000000', '2015-09-04', '2015-09-04 21:37:14', '2015-09-04 21:37:14', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-04', '2015-09-04 21:37:14', '2015-09-04 21:37:14', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-04 21:37:14.000000', '2015-09-04', '2015-09-04 21:37:14', '2015-09-04 21:37:14', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-04', '2015-09-04 21:37:14', '2015-09-04 21:37:14', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-04 21:37:14.000000', '2015-09-04', '2015-09-04 21:37:14', '2015-09-04 21:37:14', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.8ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-04 21:37:14', '2015-09-04 21:37:14', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.6ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 21:37:14.000000', '2015-09-04 21:37:14', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 21:37:14.000000', '2015-09-04 21:37:14', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 21:37:14.000000', '2015-09-04 21:37:14', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 21:37:14.000000', '2015-09-04 21:37:14', 316146702, 816972181, 700141617) Fixture Delete (0.5ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-04 21:37:14', '2015-09-04 21:37:14', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-04 21:37:14', '2015-09-04 21:37:14', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-04 21:37:14', '2015-09-04 21:37:14', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-04 21:37:14', '2015-09-04 21:37:14', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-04 21:37:14', '2015-09-04 21:37:14', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-04 21:37:14', '2015-09-04 21:37:14', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-04 21:37:14', '2015-09-04 21:37:14', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-04 21:37:14', '2015-09-04 21:37:14', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-04 21:37:14', '2015-09-04 21:37:14', 183235640, 816972181) Fixture Delete (1.0ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-04 21:37:14', '2015-09-04 21:37:14', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (9.1ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-04 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-04 00:00:00.000000"], ["updated_at", "2015-09-04 21:37:14.317473"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-04 23:59:59.999999')  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-28 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 21:37:14.325445"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-27 00:00:00.000000"], ["updated_at", "2015-09-04 21:37:14.328500"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-28 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-04 16:37:15 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.6ms) Completed 200 OK in 127ms (Views: 87.5ms | ActiveRecord: 7.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-04 16:37:16 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-04 16:37:16 -0500 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-09-04 16:37:16 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Sep 04 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-09-04 21:37:16.414865"], ["updated_at", "2015-09-04 21:37:16.419146"], ["id", 809335042]]  (6.0ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:37:16.429876"], ["updated_at", "2015-09-04 21:37:16.429876"]]  (12.0ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 34ms (Views: 0.4ms | ActiveRecord: 22.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-04 16:37:16 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 2.0ms | ActiveRecord: 2.2ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-09-04 16:37:16 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-18", "goal"=>{"description"=>"all of the things"}} Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-18"], ["created_at", "2015-09-04 21:37:16.647697"], ["updated_at", "2015-09-04 21:37:16.647697"]]  (6.0ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:37:16.657176"], ["updated_at", "2015-09-04 21:37:16.657176"]]  (11.1ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 28ms (Views: 0.3ms | ActiveRecord: 19.2ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-04 16:37:16 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 19ms (Views: 2.0ms | ActiveRecord: 2.6ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-09-04 16:37:16 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Sep 04 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-09-04 21:37:16.959592"], ["updated_at", "2015-09-04 21:37:16.962157"], ["id", 614371357]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-04 16:37:17 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.8ms) Completed 200 OK in 21ms (Views: 2.6ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-09-04 16:37:17 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-02", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-02"], ["updated_at", "2015-09-04 21:37:17.293474"], ["id", 53334230]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-04 16:37:17 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 21ms (Views: 1.9ms | ActiveRecord: 2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.9ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-04 21:37:18.224185"], ["updated_at", "2015-09-04 21:37:18.224185"]] SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:37:18.229131"], ["updated_at", "2015-09-04 21:37:18.229131"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (8.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-04 21:37:18', '2015-09-04 21:37:18', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-04', '2015-09-04 21:37:18', '2015-09-04 21:37:18', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-04 21:37:18.000000', '2015-09-04', '2015-09-04 21:37:18', '2015-09-04 21:37:18', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-04', '2015-09-04 21:37:18', '2015-09-04 21:37:18', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-04 21:37:18', '2015-09-04 21:37:18', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-04 21:37:18.000000', '2015-09-04', '2015-09-04 21:37:18', '2015-09-04 21:37:18', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-03', '2015-09-04 21:37:18', '2015-09-04 21:37:18', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-02', '2015-09-04 21:37:18', '2015-09-04 21:37:18', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-04 21:37:18.000000', '2015-09-04', '2015-09-04 21:37:18', '2015-09-04 21:37:18', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-04', '2015-09-04 21:37:18', '2015-09-04 21:37:18', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-04 21:37:18.000000', '2015-09-04', '2015-09-04 21:37:18', '2015-09-04 21:37:18', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-04', '2015-09-04 21:37:18', '2015-09-04 21:37:18', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-04 21:37:18.000000', '2015-09-04', '2015-09-04 21:37:18', '2015-09-04 21:37:18', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-04 21:37:18', '2015-09-04 21:37:18', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 21:37:18.000000', '2015-09-04 21:37:18', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 21:37:18.000000', '2015-09-04 21:37:18', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 21:37:18.000000', '2015-09-04 21:37:18', 931788854, 816972181, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 21:37:18.000000', '2015-09-04 21:37:18', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-04 21:37:18', '2015-09-04 21:37:18', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-04 21:37:18', '2015-09-04 21:37:18', 369066228, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-04 21:37:18', '2015-09-04 21:37:18', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-04 21:37:18', '2015-09-04 21:37:18', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-04 21:37:18', '2015-09-04 21:37:18', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-04 21:37:18', '2015-09-04 21:37:18', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-04 21:37:18', '2015-09-04 21:37:18', 932760744) Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-04 21:37:18', '2015-09-04 21:37:18', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-04 21:37:18', '2015-09-04 21:37:18', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-04 21:37:18', '2015-09-04 21:37:18', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-04 21:37:18.315004"], ["updated_at", "2015-09-04 21:37:18.315004"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:37:18.317201"], ["updated_at", "2015-09-04 21:37:18.317201"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235641]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-04 21:37:18.327740"], ["updated_at", "2015-09-04 21:37:18.327740"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:37:18.329806"], ["updated_at", "2015-09-04 21:37:18.329806"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-04 21:37:18.334491"], ["updated_at", "2015-09-04 21:37:18.334491"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:37:18.336531"], ["updated_at", "2015-09-04 21:37:18.336531"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-04 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-04 00:00:00.000000"], ["updated_at", "2015-09-04 21:37:18.382840"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 21:37:18.390511"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-27 00:00:00.000000"], ["updated_at", "2015-09-04 21:37:18.393908"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-09-04"], ["created_at", "2015-09-04 21:37:18.402328"], ["updated_at", "2015-09-04 21:37:18.402328"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-09-04 21:37:18.406543"], ["updated_at", "2015-09-04 21:37:18.406543"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-04"], ["completed_at", "2015-09-02 00:00:00.000000"], ["created_at", "2015-09-04 21:37:18.411047"], ["updated_at", "2015-09-04 21:37:18.411047"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-09-04 21:37:18.415762"], ["updated_at", "2015-09-04 21:37:18.415762"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-05"], ["created_at", "2015-09-04 21:37:18.421037"], ["updated_at", "2015-09-04 21:37:18.421037"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-04 21:37:18.426581') AND ("social_networking_goals"."due_on" >= '2015-09-03 21:37:18.426632')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-04 21:37:18.429301') AND ("social_networking_goals"."due_on" >= '2015-09-03 21:37:18.429320') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-04 21:37:18.431705') AND ("social_networking_goals"."due_on" >= '2015-09-03 21:37:18.431732')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.6ms) Sent mail to obama@ex.co (9.8ms) Date: Fri, 04 Sep 2015 16:37:18 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ea0f0ea5825_592f3fda79c6020880581@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: subject Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

body

SocialNetworking::Mailer#notify: processed outbound mail in 243.5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.0ms) Sent mail to obama@ex.co (2.3ms) Date: Fri, 04 Sep 2015 16:37:18 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ea0f0ea742a_592f3fda79c60208806de@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: subject Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

body

SocialNetworking::Mailer#notify: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (1.0ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-04 00:00:00.000000"], ["updated_at", "2015-09-04 21:37:18.695196"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-04 23:59:59.999999')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-28 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 21:37:18.709017"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-28 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-04 21:37:18.883916"], ["updated_at", "2015-09-04 21:37:18.883916"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-04 21:37:18.886896"], ["updated_at", "2015-09-04 21:37:18.886896"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:37:19.208670"], ["updated_at", "2015-09-04 21:37:19.208670"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-04 21:37:19.213352"], ["updated_at", "2015-09-04 21:37:19.213352"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-04 21:37:19.216801"], ["updated_at", "2015-09-04 21:37:19.216801"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-04 23:59:59.999999' AND created_at >= '2015-09-04 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-04 00:00:00.000000"], ["updated_at", "2015-09-04 21:37:19.223677"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-04 23:59:59.999999' AND created_at >= '2015-09-04 00:00:00.000000')  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 21:37:19.230197"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 21:37:19.236828"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-27 00:00:00.000000"], ["updated_at", "2015-09-04 21:37:19.239885"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-28 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-04 00:00:00.000000"], ["updated_at", "2015-09-04 21:37:19.251685"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 21:37:19.260755"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-27 00:00:00.000000"], ["updated_at", "2015-09-04 21:37:19.264475"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-28 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (3.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.4ms) COMMIT  (1.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-28 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 21:42:56.453335"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-27 00:00:00.000000"], ["updated_at", "2015-09-04 21:42:56.460096"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-28 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-04 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-04 00:00:00.000000"], ["updated_at", "2015-09-04 21:42:56.488267"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-04 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-09-04 21:42:56.496433"], ["updated_at", "2015-09-04 21:42:56.496433"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-09-04"], ["created_at", "2015-09-04 21:42:56.500631"], ["updated_at", "2015-09-04 21:42:56.500631"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.6ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-04 21:42:56', '2015-09-04 21:42:56', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-04', '2015-09-04 21:42:56', '2015-09-04 21:42:56', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-04 21:42:56.000000', '2015-09-04', '2015-09-04 21:42:56', '2015-09-04 21:42:56', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-04', '2015-09-04 21:42:56', '2015-09-04 21:42:56', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-04 21:42:56', '2015-09-04 21:42:56', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-04 21:42:56.000000', '2015-09-04', '2015-09-04 21:42:56', '2015-09-04 21:42:56', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-03', '2015-09-04 21:42:56', '2015-09-04 21:42:56', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-02', '2015-09-04 21:42:56', '2015-09-04 21:42:56', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-04 21:42:56.000000', '2015-09-04', '2015-09-04 21:42:56', '2015-09-04 21:42:56', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-04', '2015-09-04 21:42:56', '2015-09-04 21:42:56', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-04 21:42:56.000000', '2015-09-04', '2015-09-04 21:42:56', '2015-09-04 21:42:56', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-04', '2015-09-04 21:42:56', '2015-09-04 21:42:56', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-04 21:42:56.000000', '2015-09-04', '2015-09-04 21:42:56', '2015-09-04 21:42:56', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-04 21:42:56', '2015-09-04 21:42:56', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.8ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.7ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 21:42:56.000000', '2015-09-04 21:42:56', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 21:42:56.000000', '2015-09-04 21:42:56', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 21:42:56.000000', '2015-09-04 21:42:56', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 21:42:56.000000', '2015-09-04 21:42:56', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-04 21:42:56', '2015-09-04 21:42:56', 576803333, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-04 21:42:56', '2015-09-04 21:42:56', 369066228, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-04 21:42:56', '2015-09-04 21:42:56', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-04 21:42:56', '2015-09-04 21:42:56', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-04 21:42:56', '2015-09-04 21:42:56', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-04 21:42:56', '2015-09-04 21:42:56', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-04 21:42:56', '2015-09-04 21:42:56', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-04 21:42:56', '2015-09-04 21:42:56', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.4ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-04 21:42:56', '2015-09-04 21:42:56', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-04 21:42:56', '2015-09-04 21:42:56', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-04 21:42:56.580113') AND ("social_networking_goals"."due_on" >= '2015-09-03 21:42:56.580150') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-04 21:42:56.584160') AND ("social_networking_goals"."due_on" >= '2015-09-03 21:42:56.584180')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-04 21:42:56.612666') AND ("social_networking_goals"."due_on" >= '2015-09-03 21:42:56.612695')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-05"], ["created_at", "2015-09-04 21:42:56.617772"], ["updated_at", "2015-09-04 21:42:56.617772"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-04"], ["completed_at", "2015-09-02 00:00:00.000000"], ["created_at", "2015-09-04 21:42:56.622697"], ["updated_at", "2015-09-04 21:42:56.622697"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-09-04 21:42:56.629390"], ["updated_at", "2015-09-04 21:42:56.629390"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.7ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (2.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.4ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.8ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 21:42:57.204835"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-04 00:00:00.000000"], ["updated_at", "2015-09-04 21:42:57.223860"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-04 21:42:57.353496"], ["updated_at", "2015-09-04 21:42:57.353496"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-04 21:42:57.358696"], ["updated_at", "2015-09-04 21:42:57.358696"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:42:57.375728"], ["updated_at", "2015-09-04 21:42:57.375728"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-04 21:42:57.380067"], ["updated_at", "2015-09-04 21:42:57.380067"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-04 21:42:57.382455"], ["updated_at", "2015-09-04 21:42:57.382455"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-28 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 21:42:57.442316"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-27 00:00:00.000000"], ["updated_at", "2015-09-04 21:42:57.446018"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-04 00:00:00.000000"], ["updated_at", "2015-09-04 21:42:57.453039"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-04 16:42:58 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.5ms) Completed 200 OK in 89ms (Views: 54.7ms | ActiveRecord: 5.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-04 16:42:58 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-04 16:42:58 -0500 SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-09-04 16:42:58 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Sep 04 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-09-04 21:42:58.493690"], ["updated_at", "2015-09-04 21:42:58.496862"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-04 16:42:58 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 19ms (Views: 1.8ms | ActiveRecord: 2.6ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-09-04 16:42:58 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-02", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-02"], ["updated_at", "2015-09-04 21:42:58.729330"], ["id", 53334230]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 2.8ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-04 16:42:58 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 17ms (Views: 1.9ms | ActiveRecord: 2.2ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-09-04 16:42:58 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-18", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-18"], ["created_at", "2015-09-04 21:42:58.982141"], ["updated_at", "2015-09-04 21:42:58.982141"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:42:58.987897"], ["updated_at", "2015-09-04 21:42:58.987897"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-04 16:42:59 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 16ms (Views: 2.3ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-09-04 16:42:59 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Sep 04 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-09-04 21:42:59.282301"], ["updated_at", "2015-09-04 21:42:59.285544"], ["id", 809335042]]  (1.4ms) COMMIT  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:42:59.291826"], ["updated_at", "2015-09-04 21:42:59.291826"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 4.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-04 16:42:59 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 2.0ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (2.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-04 21:42:59', '2015-09-04 21:42:59', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-04', '2015-09-04 21:42:59', '2015-09-04 21:42:59', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-04 21:42:59.000000', '2015-09-04', '2015-09-04 21:42:59', '2015-09-04 21:42:59', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-04', '2015-09-04 21:42:59', '2015-09-04 21:42:59', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-04 21:42:59', '2015-09-04 21:42:59', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-04 21:42:59.000000', '2015-09-04', '2015-09-04 21:42:59', '2015-09-04 21:42:59', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-03', '2015-09-04 21:42:59', '2015-09-04 21:42:59', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-02', '2015-09-04 21:42:59', '2015-09-04 21:42:59', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-04 21:42:59.000000', '2015-09-04', '2015-09-04 21:42:59', '2015-09-04 21:42:59', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-04', '2015-09-04 21:42:59', '2015-09-04 21:42:59', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-04 21:42:59.000000', '2015-09-04', '2015-09-04 21:42:59', '2015-09-04 21:42:59', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-04', '2015-09-04 21:42:59', '2015-09-04 21:42:59', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-04 21:42:59.000000', '2015-09-04', '2015-09-04 21:42:59', '2015-09-04 21:42:59', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-04 21:42:59', '2015-09-04 21:42:59', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 21:42:59.000000', '2015-09-04 21:42:59', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 21:42:59.000000', '2015-09-04 21:42:59', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 21:42:59.000000', '2015-09-04 21:42:59', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 21:42:59.000000', '2015-09-04 21:42:59', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-04 21:42:59', '2015-09-04 21:42:59', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-04 21:42:59', '2015-09-04 21:42:59', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-04 21:42:59', '2015-09-04 21:42:59', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-04 21:42:59', '2015-09-04 21:42:59', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-04 21:42:59', '2015-09-04 21:42:59', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-04 21:42:59', '2015-09-04 21:42:59', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-04 21:42:59', '2015-09-04 21:42:59', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-04 21:42:59', '2015-09-04 21:42:59', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-04 21:42:59', '2015-09-04 21:42:59', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-04 21:42:59', '2015-09-04 21:42:59', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-04 21:42:59.897190"], ["updated_at", "2015-09-04 21:42:59.897190"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:42:59.900263"], ["updated_at", "2015-09-04 21:42:59.900263"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-04 21:42:59.907346"], ["updated_at", "2015-09-04 21:42:59.907346"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:42:59.909852"], ["updated_at", "2015-09-04 21:42:59.909852"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-04 21:42:59.915302"], ["updated_at", "2015-09-04 21:42:59.915302"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:42:59.917465"], ["updated_at", "2015-09-04 21:42:59.917465"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-04 21:42:59.928028"], ["updated_at", "2015-09-04 21:42:59.928028"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:42:59.930455"], ["updated_at", "2015-09-04 21:42:59.930455"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.5ms) Sent mail to obama@ex.co (6.9ms) Date: Fri, 04 Sep 2015 16:43:00 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ea106429f73_5b493fec9906020016735@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: subject Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

body

SocialNetworking::Mailer#notify: processed outbound mail in 219.6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.1ms) Sent mail to obama@ex.co (3.5ms) Date: Fri, 04 Sep 2015 16:43:00 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ea10642bc5e_5b493fec99060200168e0@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: subject Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

body

SocialNetworking::Mailer#notify: processed outbound mail in 4.8ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (2.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-04 23:59:59.999999' AND created_at >= '2015-09-04 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-04 00:00:00.000000"], ["updated_at", "2015-09-04 21:43:00.647577"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-04 23:59:59.999999' AND created_at >= '2015-09-04 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 21:43:00.654692"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-27 00:00:00.000000"], ["updated_at", "2015-09-04 21:43:00.657842"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 21:43:00.665296"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 21:43:00.722510"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-27 00:00:00.000000"], ["updated_at", "2015-09-04 21:43:00.726394"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-04 00:00:00.000000"], ["updated_at", "2015-09-04 21:43:00.733729"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-04 23:59:59.999999')  (0.1ms) ROLLBACK  (2.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-04 21:48:44', '2015-09-04 21:48:44', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-04', '2015-09-04 21:48:44', '2015-09-04 21:48:44', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-04 21:48:44.000000', '2015-09-04', '2015-09-04 21:48:44', '2015-09-04 21:48:44', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-04', '2015-09-04 21:48:44', '2015-09-04 21:48:44', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-04 21:48:44', '2015-09-04 21:48:44', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-04 21:48:44.000000', '2015-09-04', '2015-09-04 21:48:44', '2015-09-04 21:48:44', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-03', '2015-09-04 21:48:44', '2015-09-04 21:48:44', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-02', '2015-09-04 21:48:44', '2015-09-04 21:48:44', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-04 21:48:44.000000', '2015-09-04', '2015-09-04 21:48:44', '2015-09-04 21:48:44', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-04', '2015-09-04 21:48:44', '2015-09-04 21:48:44', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-04 21:48:44.000000', '2015-09-04', '2015-09-04 21:48:44', '2015-09-04 21:48:44', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-04', '2015-09-04 21:48:44', '2015-09-04 21:48:44', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-04 21:48:44.000000', '2015-09-04', '2015-09-04 21:48:44', '2015-09-04 21:48:44', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-04 21:48:44', '2015-09-04 21:48:44', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 21:48:44.000000', '2015-09-04 21:48:44', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 21:48:44.000000', '2015-09-04 21:48:44', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-03 21:48:44.000000', '2015-09-04 21:48:44', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-04 21:48:44.000000', '2015-09-04 21:48:44', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-04 21:48:44', '2015-09-04 21:48:44', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-04 21:48:44', '2015-09-04 21:48:44', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-04 21:48:44', '2015-09-04 21:48:44', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-04 21:48:44', '2015-09-04 21:48:44', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-04 21:48:44', '2015-09-04 21:48:44', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-04 21:48:44', '2015-09-04 21:48:44', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-04 21:48:44', '2015-09-04 21:48:44', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-04 21:48:44', '2015-09-04 21:48:44', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-04 21:48:44', '2015-09-04 21:48:44', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-04 21:48:44', '2015-09-04 21:48:44', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.6ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-04 21:48:44.648568"], ["updated_at", "2015-09-04 21:48:44.648568"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:48:44.663029"], ["updated_at", "2015-09-04 21:48:44.663029"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-04 21:48:44.672181"], ["updated_at", "2015-09-04 21:48:44.672181"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:48:44.675868"], ["updated_at", "2015-09-04 21:48:44.675868"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-04 21:48:44.705492"], ["updated_at", "2015-09-04 21:48:44.705492"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:48:44.708065"], ["updated_at", "2015-09-04 21:48:44.708065"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-04 21:48:44.713482"], ["updated_at", "2015-09-04 21:48:44.713482"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:48:44.739970"], ["updated_at", "2015-09-04 21:48:44.739970"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 9ms (Views: 7.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (4.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.6ms) Sent mail to obama@ex.co (6.6ms) Date: Fri, 04 Sep 2015 16:48:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ea11bd2f236_5f983feaccc60204994a4@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: subject Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

body

SocialNetworking::Mailer#notify: processed outbound mail in 208.2ms  (0.3ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.1ms) Sent mail to obama@ex.co (4.0ms) Date: Fri, 04 Sep 2015 16:48:45 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ea11bd317b2_5f983feaccc60204995ea@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: subject Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

body

SocialNetworking::Mailer#notify: processed outbound mail in 6.4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.6ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:48:45.330863"], ["updated_at", "2015-09-04 21:48:45.330863"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-04 21:48:45.337154"], ["updated_at", "2015-09-04 21:48:45.337154"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-04 21:48:45.340592"], ["updated_at", "2015-09-04 21:48:45.340592"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (4.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-04 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-04 00:00:00.000000"], ["updated_at", "2015-09-04 21:48:45.850444"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 21:48:45.860444"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-27 00:00:00.000000"], ["updated_at", "2015-09-04 21:48:45.863875"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-08-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-04 21:48:45.867672') AND ("social_networking_goals"."due_on" >= '2015-09-03 21:48:45.867699')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-04 21:48:45.870181') AND ("social_networking_goals"."due_on" >= '2015-09-03 21:48:45.870199') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-04 21:48:45.872685') AND ("social_networking_goals"."due_on" >= '2015-09-03 21:48:45.872704')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-09-04 21:48:45.878454"], ["updated_at", "2015-09-04 21:48:45.878454"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-04"], ["completed_at", "2015-09-02 00:00:00.000000"], ["created_at", "2015-09-04 21:48:45.882727"], ["updated_at", "2015-09-04 21:48:45.882727"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-05"], ["created_at", "2015-09-04 21:48:45.886789"], ["updated_at", "2015-09-04 21:48:45.886789"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-09-04"], ["created_at", "2015-09-04 21:48:45.891128"], ["updated_at", "2015-09-04 21:48:45.891128"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-09-04 21:48:45.894956"], ["updated_at", "2015-09-04 21:48:45.894956"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-04 21:48:45.934622"], ["updated_at", "2015-09-04 21:48:45.934622"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-04 21:48:45.937431"], ["updated_at", "2015-09-04 21:48:45.937431"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-04 00:00:00.000000"], ["updated_at", "2015-09-04 21:48:46.304524"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 21:48:46.313085"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-08-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-04 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-04 00:00:00.000000"], ["updated_at", "2015-09-04 21:48:46.344663"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 21:48:46.354907"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-27 00:00:00.000000"], ["updated_at", "2015-09-04 21:48:46.358849"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-08-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-04 16:48:46 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.2ms) Completed 200 OK in 72ms (Views: 47.7ms | ActiveRecord: 5.6ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-04 16:48:47 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-04 16:48:47 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-09-04 16:48:47 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-02", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-02"], ["updated_at", "2015-09-04 21:48:47.353724"], ["id", 53334230]]  (0.7ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-04 16:48:47 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 15ms (Views: 2.1ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-04 16:48:47 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 21ms (Views: 2.2ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-09-04 16:48:47 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Sep 04 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-09-04 21:48:47.668137"], ["updated_at", "2015-09-04 21:48:47.670721"], ["id", 809335042]]  (0.5ms) COMMIT  (0.5ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:48:47.675279"], ["updated_at", "2015-09-04 21:48:47.675279"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.6ms | ActiveRecord: 3.3ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-04 16:48:47 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 15ms (Views: 2.4ms | ActiveRecord: 1.4ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-09-04 16:48:47 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-18", "goal"=>{"description"=>"all of the things"}} Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-18"], ["created_at", "2015-09-04 21:48:47.878467"], ["updated_at", "2015-09-04 21:48:47.878467"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-09-04 21:48:47.882595"], ["updated_at", "2015-09-04 21:48:47.882595"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.5ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-04 16:48:47 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 23ms (Views: 2.3ms | ActiveRecord: 2.4ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-09-04 16:48:48 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Sep 04 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-09-04 21:48:48.213299"], ["updated_at", "2015-09-04 21:48:48.216243"], ["id", 614371357]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (1.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-04', '2015-09-04 21:48:48', '2015-09-04 21:48:48', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-04 21:48:48.000000', '2015-09-04', '2015-09-04 21:48:48', '2015-09-04 21:48:48', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-04', '2015-09-04 21:48:48', '2015-09-04 21:48:48', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-04 21:48:48', '2015-09-04 21:48:48', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-04 21:48:48.000000', '2015-09-04', '2015-09-04 21:48:48', '2015-09-04 21:48:48', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-03', '2015-09-04 21:48:48', '2015-09-04 21:48:48', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-02', '2015-09-04 21:48:48', '2015-09-04 21:48:48', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-04 21:48:48.000000', '2015-09-04', '2015-09-04 21:48:48', '2015-09-04 21:48:48', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-04', '2015-09-04 21:48:48', '2015-09-04 21:48:48', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-04 21:48:48.000000', '2015-09-04', '2015-09-04 21:48:48', '2015-09-04 21:48:48', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-04', '2015-09-04 21:48:48', '2015-09-04 21:48:48', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-04 21:48:48.000000', '2015-09-04', '2015-09-04 21:48:48', '2015-09-04 21:48:48', 16804933, 816972181)  (0.3ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-04 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-04 00:00:00.000000"], ["updated_at", "2015-09-04 21:48:48.282078"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-04 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-04 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-28 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 21:48:48.291225"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-27 00:00:00.000000"], ["updated_at", "2015-09-04 21:48:48.294964"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-08-28 00:00:00.000000')  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-28 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 21:48:48.303023"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-27 00:00:00.000000"], ["updated_at", "2015-09-04 21:48:48.306017"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-08-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-04 21:48:48.310943"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-04 23:59:59.999999' AND created_at >= '2015-09-04 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-04 00:00:00.000000"], ["updated_at", "2015-09-04 21:48:48.316185"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-04 23:59:59.999999' AND created_at >= '2015-09-04 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (12.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 34ms (Views: 0.7ms | ActiveRecord: 14.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 11ms (Views: 0.4ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 18ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 13ms (Views: 0.5ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 13ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 13ms (Views: 0.5ms | ActiveRecord: 1.7ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 14ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 13ms (Views: 0.5ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 14ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 25ms (Views: 0.6ms | ActiveRecord: 1.8ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 14ms (Views: 0.5ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 17ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 14ms (Views: 0.5ms | ActiveRecord: 1.9ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 13ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 26ms (Views: 0.6ms | ActiveRecord: 1.8ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 14ms (Views: 0.5ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 15ms (Views: 0.6ms | ActiveRecord: 1.8ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 14ms (Views: 0.4ms | ActiveRecord: 2.1ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 14ms (Views: 0.5ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 12ms (Views: 0.5ms | ActiveRecord: 1.7ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 1ms  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 1ms  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 16ms (Views: 0.8ms | ActiveRecord: 2.3ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 14ms (Views: 0.5ms | ActiveRecord: 1.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 13ms (Views: 0.6ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 15ms (Views: 0.5ms | ActiveRecord: 1.8ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 14ms (Views: 0.6ms | ActiveRecord: 2.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 14ms (Views: 0.5ms | ActiveRecord: 1.8ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 400 Bad Request in 40ms (Views: 0.7ms | ActiveRecord: 1.1ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 14ms (Views: 0.7ms | ActiveRecord: 1.7ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 15ms (Views: 0.7ms | ActiveRecord: 2.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 22ms (Views: 0.3ms | ActiveRecord: 1.3ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 400 Bad Request in 2ms (Views: 0.2ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 400 Bad Request in 20ms (Views: 0.4ms | ActiveRecord: 0.8ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 13ms (Views: 0.3ms | ActiveRecord: 2.6ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 400 Bad Request in 19ms (Views: 0.4ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 13ms (Views: 0.3ms | ActiveRecord: 2.3ms)  (0.2ms) ROLLBACK  (0.5ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 200 OK in 7ms (Views: 0.4ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 400 Bad Request in 14ms (Views: 0.3ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 400 Bad Request in 12ms (Views: 0.3ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 8ms (Views: 0.4ms | ActiveRecord: 1.6ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 400 Bad Request in 18ms (Views: 0.3ms | ActiveRecord: 0.8ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::OnTheMindStatement Load (1.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 12ms (Views: 0.2ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 4ms (Views: 0.2ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 3ms (Views: 0.3ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 15ms (Views: 0.3ms | ActiveRecord: 4.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 2ms  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 14ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 36ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 16ms (Views: 0.3ms | ActiveRecord: 5.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 18ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 6ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 14ms (Views: 0.3ms | ActiveRecord: 4.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 15ms (Views: 0.3ms | ActiveRecord: 5.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 14ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 16ms (Views: 0.3ms | ActiveRecord: 5.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 18ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 15ms (Views: 0.3ms | ActiveRecord: 5.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 32ms (Views: 0.3ms | ActiveRecord: 6.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 31ms (Views: 1.0ms | ActiveRecord: 5.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 18ms (Views: 0.3ms | ActiveRecord: 6.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 22ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 18ms (Views: 0.7ms | ActiveRecord: 5.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 15ms (Views: 0.3ms | ActiveRecord: 5.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 24ms (Views: 0.5ms | ActiveRecord: 4.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 13ms (Views: 0.4ms | ActiveRecord: 3.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 11ms (Views: 0.3ms | ActiveRecord: 4.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 29ms (Views: 0.2ms | ActiveRecord: 5.8ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 12ms (Views: 0.2ms | ActiveRecord: 4.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 20ms (Views: 0.2ms | ActiveRecord: 4.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 13ms (Views: 0.2ms | ActiveRecord: 4.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 22ms (Views: 0.2ms | ActiveRecord: 4.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 25ms (Views: 0.4ms | ActiveRecord: 4.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 27ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 27ms (Views: 0.3ms | ActiveRecord: 4.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 24ms (Views: 0.2ms | ActiveRecord: 4.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 24ms (Views: 0.3ms | ActiveRecord: 4.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 24ms (Views: 0.3ms | ActiveRecord: 4.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 27ms (Views: 0.3ms | ActiveRecord: 4.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 24ms (Views: 0.2ms | ActiveRecord: 5.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 25ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 23ms (Views: 0.2ms | ActiveRecord: 4.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 22ms  (0.4ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 29ms (Views: 0.2ms | ActiveRecord: 5.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 26ms (Views: 0.2ms | ActiveRecord: 4.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 23ms (Views: 0.2ms | ActiveRecord: 4.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 26ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 25ms (Views: 0.2ms | ActiveRecord: 4.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 27ms (Views: 0.2ms | ActiveRecord: 4.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 29ms (Views: 0.2ms | ActiveRecord: 4.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 23ms (Views: 0.2ms | ActiveRecord: 4.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 31ms (Views: 0.3ms | ActiveRecord: 5.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 14ms (Views: 0.3ms | ActiveRecord: 5.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 15ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 13ms (Views: 0.2ms | ActiveRecord: 5.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 21ms (Views: 0.2ms | ActiveRecord: 4.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 31ms (Views: 0.3ms | ActiveRecord: 5.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 400 Bad Request in 15ms (Views: 0.3ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::OnTheMindStatement Load (0.7ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 13ms (Views: 0.2ms | ActiveRecord: 2.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 2ms (Views: 0.1ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 2ms (Views: 0.2ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 25ms (Views: 0.2ms | ActiveRecord: 4.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 27ms (Views: 0.2ms | ActiveRecord: 4.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 21ms (Views: 0.3ms | ActiveRecord: 4.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 14ms (Views: 0.3ms | ActiveRecord: 5.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 21ms (Views: 0.2ms | ActiveRecord: 2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 400 Bad Request in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 20ms (Views: 0.2ms | ActiveRecord: 2.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 20ms (Views: 0.2ms | ActiveRecord: 2.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 21ms (Views: 0.5ms | ActiveRecord: 2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 400 Bad Request in 12ms (Views: 0.2ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 500 Internal Server Error in 6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 200 OK in 18ms (Views: 0.4ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 200 OK in 20ms (Views: 0.8ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 24ms (Views: 0.2ms | ActiveRecord: 4.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 200 OK in 18ms (Views: 0.5ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 400 Bad Request in 15ms (Views: 0.4ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 18ms (Views: 0.2ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 2ms (Views: 0.1ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 400 Bad Request in 2ms (Views: 0.1ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 400 Bad Request in 11ms (Views: 0.2ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 8ms (Views: 0.4ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 2ms (Views: 0.2ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 21ms (Views: 0.2ms | ActiveRecord: 2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Participant Load (1.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 24ms (Views: 0.4ms | ActiveRecord: 3.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 500 Internal Server Error in 22ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Participant Load (0.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 200 OK in 32ms (Views: 0.3ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 200 OK in 27ms (Views: 0.4ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 200 OK in 26ms (Views: 0.3ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 24ms (Views: 0.2ms | ActiveRecord: 3.8ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Participant Load (0.9ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 200 OK in 31ms (Views: 0.3ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 200 OK in 32ms (Views: 0.4ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 200 OK in 26ms (Views: 0.4ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 14ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 13ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 15ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 17ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 17ms (Views: 0.2ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML SocialNetworking::OnTheMindStatement Load (0.5ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 17ms (Views: 0.2ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 13ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 12ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 12ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 19ms (Views: 0.2ms | ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 15ms (Views: 0.3ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 18ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 18ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 18ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 15ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 16ms (Views: 0.2ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 15ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 15ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 19ms (Views: 0.2ms | ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 12ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML SocialNetworking::OnTheMindStatement Load (0.5ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 18ms (Views: 0.2ms | ActiveRecord: 2.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML SocialNetworking::OnTheMindStatement Load (0.5ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 20ms (Views: 0.3ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 20ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", nil]] Completed 404 Not Found in 26ms (Views: 0.5ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 27ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 31ms (Views: 0.3ms | ActiveRecord: 5.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", nil]] Completed 404 Not Found in 13ms (Views: 0.2ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 19ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 8ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 25ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", nil]] Completed 404 Not Found in 14ms (Views: 0.2ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 18ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 6ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 12ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 17ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 14ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 19ms  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 15ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 11ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 12ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", nil]] Completed 404 Not Found in 16ms (Views: 0.4ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 7ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 13ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", nil]] Completed 404 Not Found in 13ms (Views: 0.2ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 21ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", nil]] Completed 404 Not Found in 12ms (Views: 0.3ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 11ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 11ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", nil]] Completed 404 Not Found in 14ms (Views: 0.3ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 18ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", nil]] Completed 404 Not Found in 15ms (Views: 0.2ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 14ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", nil]] Completed 404 Not Found in 14ms (Views: 0.2ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 13ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", nil]] Completed 404 Not Found in 13ms (Views: 0.4ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 18ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", nil]] Completed 404 Not Found in 14ms (Views: 0.3ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 13ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", nil]] Completed 404 Not Found in 14ms (Views: 0.3ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 22ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", nil]] Completed 404 Not Found in 13ms (Views: 0.3ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 19ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", nil]] Completed 404 Not Found in 12ms (Views: 0.3ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", nil]] Completed 404 Not Found in 15ms (Views: 0.2ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 10ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 17ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", nil]] Completed 404 Not Found in 13ms (Views: 0.3ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 19ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 18ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 16ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 15ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Parameters: {"text"=>"I like cheeses", "itemId"=>"5", "itemType"=>"SocialNetworking::OnTheMindStatement"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 17ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 16ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 19ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 20ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 18ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.4ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 20ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 19ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 21ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 20ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 19ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 20ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 23ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 8ms (Views: 0.3ms | ActiveRecord: 1.5ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 8ms (Views: 0.3ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 8ms (Views: 0.3ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 8ms (Views: 0.3ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 10ms (Views: 0.4ms | ActiveRecord: 2.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 8ms (Views: 0.3ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 9ms (Views: 0.3ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 8ms (Views: 0.3ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 10ms (Views: 0.3ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", nil]] Completed 404 Not Found in 13ms  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", nil]] Completed 404 Not Found in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 9ms (Views: 0.3ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 18ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", nil]] Completed 404 Not Found in 13ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 34ms (Views: 0.3ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 5ms (Views: 0.2ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 6ms (Views: 0.2ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 5ms (Views: 0.2ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 17ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 20ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 7ms (Views: 0.2ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 7ms (Views: 0.2ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 8ms (Views: 0.2ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 7ms (Views: 0.2ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 16ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 9ms (Views: 0.3ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 9ms (Views: 0.3ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 17ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 7ms (Views: 0.2ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 10ms (Views: 0.3ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 16ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 8ms (Views: 0.3ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 500 Internal Server Error in 3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 7ms (Views: 0.2ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 16ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 18ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 18ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 18ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 7ms (Views: 0.2ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 8ms (Views: 0.3ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 7ms (Views: 0.3ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 9ms (Views: 0.3ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 21ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 17ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 20ms (Views: 0.4ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 22ms (Views: 0.4ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 17ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 8ms (Views: 0.3ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 12ms (Views: 0.4ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 23ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 17ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 50ms (Views: 0.2ms | ActiveRecord: 2.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 5ms (Views: 0.2ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 5ms (Views: 0.2ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 5ms (Views: 0.2ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Parameters: {"itemId"=>"5", "itemType"=>"SocialNetworking::Comment"} Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 19ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 13ms (Views: 0.2ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 16ms (Views: 0.3ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 16ms (Views: 0.2ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 11ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 15ms (Views: 0.4ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 16ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 6ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 18ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 21ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 20ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 11ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 25ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 7ms (Views: 0.2ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 17ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 18ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 16ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 11ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 17ms (Views: 16.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (8.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.2ms) ROLLBACK  (2.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-08', '2015-09-08 20:23:47', '2015-09-08 20:23:47', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-08 20:23:47.000000', '2015-09-08', '2015-09-08 20:23:47', '2015-09-08 20:23:47', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-08', '2015-09-08 20:23:47', '2015-09-08 20:23:47', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-08 20:23:47', '2015-09-08 20:23:47', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-08 20:23:47.000000', '2015-09-08', '2015-09-08 20:23:47', '2015-09-08 20:23:47', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-07', '2015-09-08 20:23:47', '2015-09-08 20:23:47', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-06', '2015-09-08 20:23:47', '2015-09-08 20:23:47', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-08 20:23:47.000000', '2015-09-08', '2015-09-08 20:23:47', '2015-09-08 20:23:47', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-08', '2015-09-08 20:23:47', '2015-09-08 20:23:47', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-08 20:23:47.000000', '2015-09-08', '2015-09-08 20:23:47', '2015-09-08 20:23:47', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-08', '2015-09-08 20:23:47', '2015-09-08 20:23:47', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-08 20:23:47.000000', '2015-09-08', '2015-09-08 20:23:47', '2015-09-08 20:23:47', 16804933, 816972181)  (5.6ms) COMMIT  (6.9ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-08 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-08 20:23:48.010063"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-08 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-01 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-08 20:23:48.017888"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-09-08 20:23:48.021483"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-01 00:00:00.000000')  (0.1ms) ROLLBACK  (9.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-08 20:23:48', '2015-09-08 20:23:48', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-08 20:23:48', '2015-09-08 20:23:48', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.8ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-07 20:23:48.000000', '2015-09-08 20:23:48', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-08 20:23:48.000000', '2015-09-08 20:23:48', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-07 20:23:48.000000', '2015-09-08 20:23:48', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-08 20:23:48.000000', '2015-09-08 20:23:48', 316146702, 816972181, 700141617) Fixture Delete (0.5ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-08 20:23:48', '2015-09-08 20:23:48', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-08 20:23:48', '2015-09-08 20:23:48', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-08 20:23:48', '2015-09-08 20:23:48', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-08 20:23:48', '2015-09-08 20:23:48', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-08 20:23:48', '2015-09-08 20:23:48', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-08 20:23:48', '2015-09-08 20:23:48', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-08 20:23:48', '2015-09-08 20:23:48', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-08 20:23:48', '2015-09-08 20:23:48', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-08 20:23:48', '2015-09-08 20:23:48', 183235640, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-08 20:23:48', '2015-09-08 20:23:48', 809335042, 'SocialNetworking::Goal', 809335042)  (8.8ms) COMMIT  (6.9ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-08 20:23:48.194435"], ["updated_at", "2015-09-08 20:23:48.194435"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-08 20:23:48.197146"], ["updated_at", "2015-09-08 20:23:48.197146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-08 20:23:48.202970"], ["updated_at", "2015-09-08 20:23:48.202970"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-08 20:23:48.205089"], ["updated_at", "2015-09-08 20:23:48.205089"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-08 20:23:48.222671"], ["updated_at", "2015-09-08 20:23:48.222671"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-08 20:23:48.225245"], ["updated_at", "2015-09-08 20:23:48.225245"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-08 20:23:48.231017"], ["updated_at", "2015-09-08 20:23:48.231017"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-08 20:23:48.233193"], ["updated_at", "2015-09-08 20:23:48.233193"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Nudge Load (0.7ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-08 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-08 20:23:48.529270"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-08 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-01 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-08 20:23:48.537948"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-01 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.6ms) Sent mail to obama@ex.co (8.5ms) Date: Tue, 08 Sep 2015 15:23:48 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ef43d4d3bd3_114c33fe6544601fc5092@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: subject Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

body

SocialNetworking::Mailer#notify: processed outbound mail in 234.7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.1ms) Sent mail to obama@ex.co (2.3ms) Date: Tue, 08 Sep 2015 15:23:48 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ef43d4d5911_114c33fe6544601fc51da@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: subject Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

body

SocialNetworking::Mailer#notify: processed outbound mail in 3.5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-08 15:23:49 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.9ms) Completed 200 OK in 99ms (Views: 75.3ms | ActiveRecord: 5.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-08 15:23:49 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-08 15:23:49 -0500 SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-09-08 15:23:50 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-06", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-06"], ["updated_at", "2015-09-08 20:23:50.375198"], ["id", 53334230]]  (6.0ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 9.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-08 15:23:50 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.0ms) Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-08 15:23:50 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-09-08 15:23:50 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Sep 08 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-09-08 20:23:50.678512"], ["updated_at", "2015-09-08 20:23:50.682054"], ["id", 809335042]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-09-08 20:23:50.686397"], ["updated_at", "2015-09-08 20:23:50.686397"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 3.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-08 15:23:50 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 16ms (Views: 2.0ms | ActiveRecord: 2.0ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-09-08 15:23:50 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-22", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-22"], ["created_at", "2015-09-08 20:23:50.881640"], ["updated_at", "2015-09-08 20:23:50.881640"]]  (0.4ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-09-08 20:23:50.887357"], ["updated_at", "2015-09-08 20:23:50.887357"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.4ms | ActiveRecord: 2.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-08 15:23:50 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 2.0ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-09-08 15:23:51 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Sep 08 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-09-08 20:23:51.120699"], ["updated_at", "2015-09-08 20:23:51.123722"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.4ms)  (0.1ms) ROLLBACK  (1.4ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-08', '2015-09-08 20:23:51', '2015-09-08 20:23:51', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-08 20:23:51.000000', '2015-09-08', '2015-09-08 20:23:51', '2015-09-08 20:23:51', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-08', '2015-09-08 20:23:51', '2015-09-08 20:23:51', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-08 20:23:51', '2015-09-08 20:23:51', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-08 20:23:51.000000', '2015-09-08', '2015-09-08 20:23:51', '2015-09-08 20:23:51', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-07', '2015-09-08 20:23:51', '2015-09-08 20:23:51', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-06', '2015-09-08 20:23:51', '2015-09-08 20:23:51', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-08 20:23:51.000000', '2015-09-08', '2015-09-08 20:23:51', '2015-09-08 20:23:51', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-08', '2015-09-08 20:23:51', '2015-09-08 20:23:51', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-08 20:23:51.000000', '2015-09-08', '2015-09-08 20:23:51', '2015-09-08 20:23:51', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-08', '2015-09-08 20:23:51', '2015-09-08 20:23:51', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-08 20:23:51.000000', '2015-09-08', '2015-09-08 20:23:51', '2015-09-08 20:23:51', 16804933, 816972181)  (0.3ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-01 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-08 20:23:51.182700"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-09-08 20:23:51.186267"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-01 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-08 20:23:51.192138"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-08 23:59:59.999999' AND created_at >= '2015-09-08 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-08 20:23:51.198264"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-08 23:59:59.999999' AND created_at >= '2015-09-08 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-09-08 20:23:51.429082"], ["updated_at", "2015-09-08 20:23:51.429082"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-08 20:23:51.435065"], ["updated_at", "2015-09-08 20:23:51.435065"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-08 20:23:51.437727"], ["updated_at", "2015-09-08 20:23:51.437727"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-08 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.6ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-08 20:23:51.491502"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-08 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-01 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-08 20:23:51.499570"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-09-08 20:23:51.503483"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-01 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-08 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-08 20:23:51.515565"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-08 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-01 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-08 20:23:51.526421"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-09-08 20:23:51.529606"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-01 00:00:00.000000')  (0.1ms) ROLLBACK  (1.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-08 20:23:51', '2015-09-08 20:23:51', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-08 20:23:51', '2015-09-08 20:23:51', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-07 20:23:51.000000', '2015-09-08 20:23:51', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-08 20:23:51.000000', '2015-09-08 20:23:51', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-07 20:23:51.000000', '2015-09-08 20:23:51', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-08 20:23:51.000000', '2015-09-08 20:23:51', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-08 20:23:51', '2015-09-08 20:23:51', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-08 20:23:51', '2015-09-08 20:23:51', 369066228, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-08 20:23:51', '2015-09-08 20:23:51', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-08 20:23:51', '2015-09-08 20:23:51', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-08 20:23:51', '2015-09-08 20:23:51', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-08 20:23:51', '2015-09-08 20:23:51', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-08 20:23:51', '2015-09-08 20:23:51', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-08 20:23:51', '2015-09-08 20:23:51', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-08 20:23:51', '2015-09-08 20:23:51', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-08 20:23:51', '2015-09-08 20:23:51', 809335042, 'SocialNetworking::Goal', 809335042)  (0.3ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-08 20:23:51.575526') AND ("social_networking_goals"."due_on" >= '2015-09-07 20:23:51.575567')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-08 20:23:51.578428') AND ("social_networking_goals"."due_on" >= '2015-09-07 20:23:51.578449') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-08 20:23:51.580791') AND ("social_networking_goals"."due_on" >= '2015-09-07 20:23:51.580809')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-09-08 20:23:51.587008"], ["updated_at", "2015-09-08 20:23:51.587008"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-08"], ["completed_at", "2015-09-06 00:00:00.000000"], ["created_at", "2015-09-08 20:23:51.591491"], ["updated_at", "2015-09-08 20:23:51.591491"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-09"], ["created_at", "2015-09-08 20:23:51.595775"], ["updated_at", "2015-09-08 20:23:51.595775"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-09-08"], ["created_at", "2015-09-08 20:23:51.600363"], ["updated_at", "2015-09-08 20:23:51.600363"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-09-08 20:23:51.604387"], ["updated_at", "2015-09-08 20:23:51.604387"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-08 20:23:52.023294"], ["updated_at", "2015-09-08 20:23:52.023294"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-08 20:23:52.027026"], ["updated_at", "2015-09-08 20:23:52.027026"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (2.6ms) Sent mail to obama@ex.co (8.3ms) Date: Tue, 08 Sep 2015 15:38:04 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ef472c6bb67_11c6e3fc72146020838549@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: subject Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

body

SocialNetworking::Mailer#notify: processed outbound mail in 241.0ms Sent mail to obama@ex.co (2.2ms) Date: Tue, 08 Sep 2015 15:38:04 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ef472c6bb67_11c6e3fc72146020838549@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: subject Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

body

 (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (1.6ms) Sent mail to obama@ex.co (7.1ms) Date: Tue, 08 Sep 2015 15:38:16 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ef4738caa7f_11cd53fe3690601f835054@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: subject Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

body

SocialNetworking::Mailer#notify: processed outbound mail in 240.9ms Sent mail to obama@ex.co (2.4ms) Date: Tue, 08 Sep 2015 15:38:16 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ef4738caa7f_11cd53fe3690601f835054@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: subject Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

body

 (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (1.4ms) SocialNetworking::Mailer#notify: processed outbound mail in 232.8ms Sent mail to obama@ex.co (6.8ms) Date: Tue, 08 Sep 2015 15:39:09 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ef476d52d13_11d633fe9ad060208655e6@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: subject Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

body

 (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (1.6ms) Sent mail to obama@ex.co (7.7ms) Date: Tue, 08 Sep 2015 15:39:31 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ef4783ea9a0_11d6e3ff5c5c6020082861@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: subject Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

body

SocialNetworking::Mailer#notify: processed outbound mail in 242.4ms Sent mail to obama@ex.co (2.6ms) Date: Tue, 08 Sep 2015 15:39:31 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ef4783ea9a0_11d6e3ff5c5c6020082861@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: subject Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

body

 (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (2.1ms) SocialNetworking::Mailer#notify: processed outbound mail in 248.3ms Sent mail to obama@ex.co (8.4ms) Date: Tue, 08 Sep 2015 15:41:26 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ef47f614cf6_11ee13fde090602085843b@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: subject Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

body

 (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 19ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (2.3ms) Sent mail to obama@ex.co (10.1ms) Date: Tue, 08 Sep 2015 16:17:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ef5057c82e0_130843fd7218602082493@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: subject Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

body

SocialNetworking::Mailer#notify: processed outbound mail in 312.3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.1ms) Sent mail to obama@ex.co (3.2ms) Date: Tue, 08 Sep 2015 16:17:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ef5057ca9da_130843fd72186020825c6@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: subject Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

body

SocialNetworking::Mailer#notify: processed outbound mail in 4.6ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (1.6ms) SocialNetworking::Mailer#notify: processed outbound mail in 259.9ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.0ms) SocialNetworking::Mailer#notify: processed outbound mail in 1.2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (2.0ms) Sent mail to obama@ex.co (8.4ms) Date: Tue, 08 Sep 2015 16:21:49 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ef516dbf4dc_132653fdf14c60204427b@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

SocialNetworking::Mailer#notify: processed outbound mail in 295.3ms Sent mail to obama@ex.co (4.1ms) Date: Tue, 08 Sep 2015 16:21:49 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ef516dbf4dc_132653fdf14c60204427b@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (1.6ms) SocialNetworking::Mailer#notify: processed outbound mail in 250.8ms Sent mail to obama@ex.co (7.2ms) Date: Tue, 08 Sep 2015 16:30:39 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ef537f53d0f_136543fd400860204469bc@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (1.7ms) SocialNetworking::Mailer#notify: processed outbound mail in 248.7ms Sent mail to obama@ex.co (8.0ms) Date: Tue, 08 Sep 2015 16:31:25 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ef53ad82cda_136cb3fc59946020010846@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 31ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (4.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (1.1ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-08', '2015-09-08 21:34:27', '2015-09-08 21:34:27', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-08 21:34:27.000000', '2015-09-08', '2015-09-08 21:34:27', '2015-09-08 21:34:27', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-08', '2015-09-08 21:34:27', '2015-09-08 21:34:27', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-08 21:34:27', '2015-09-08 21:34:27', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-08 21:34:27.000000', '2015-09-08', '2015-09-08 21:34:27', '2015-09-08 21:34:27', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-07', '2015-09-08 21:34:27', '2015-09-08 21:34:27', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-06', '2015-09-08 21:34:27', '2015-09-08 21:34:27', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-08 21:34:27.000000', '2015-09-08', '2015-09-08 21:34:27', '2015-09-08 21:34:27', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-08', '2015-09-08 21:34:27', '2015-09-08 21:34:27', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-08 21:34:27.000000', '2015-09-08', '2015-09-08 21:34:27', '2015-09-08 21:34:27', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-08', '2015-09-08 21:34:27', '2015-09-08 21:34:27', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-08 21:34:27.000000', '2015-09-08', '2015-09-08 21:34:27', '2015-09-08 21:34:27', 16804933, 816972181)  (6.3ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-01 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-08 21:34:27.509666"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-09-08 21:34:27.513731"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-01 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-08 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-08 21:34:27.521727"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-08 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (1.5ms) SocialNetworking::Mailer#notify: processed outbound mail in 219.8ms Sent mail to obama@ex.co (6.8ms) Date: Tue, 08 Sep 2015 16:34:27 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ef5463b9788_138c43fe9a1c60208326a2@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.2ms) ROLLBACK  (6.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-08 21:34:27', '2015-09-08 21:34:27', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-08 21:34:27', '2015-09-08 21:34:27', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-07 21:34:27.000000', '2015-09-08 21:34:27', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-08 21:34:27.000000', '2015-09-08 21:34:27', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-07 21:34:27.000000', '2015-09-08 21:34:27', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-08 21:34:27.000000', '2015-09-08 21:34:27', 316146702, 816972181, 700141617) Fixture Delete (0.9ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-08 21:34:27', '2015-09-08 21:34:27', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-08 21:34:27', '2015-09-08 21:34:27', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-08 21:34:27', '2015-09-08 21:34:27', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-08 21:34:27', '2015-09-08 21:34:27', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-08 21:34:27', '2015-09-08 21:34:27', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-08 21:34:27', '2015-09-08 21:34:27', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-08 21:34:27', '2015-09-08 21:34:27', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-08 21:34:27', '2015-09-08 21:34:27', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-08 21:34:27', '2015-09-08 21:34:27', 183235640, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-08 21:34:27', '2015-09-08 21:34:27', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-08 21:34:27.919554"], ["updated_at", "2015-09-08 21:34:27.919554"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-08 21:34:27.927686"], ["updated_at", "2015-09-08 21:34:27.927686"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-08 21:34:27.934556"], ["updated_at", "2015-09-08 21:34:27.934556"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-08 21:34:27.936980"], ["updated_at", "2015-09-08 21:34:27.936980"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-08 21:34:27.943925"], ["updated_at", "2015-09-08 21:34:27.943925"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-08 21:34:27.946157"], ["updated_at", "2015-09-08 21:34:27.946157"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-08 21:34:27.965735"], ["updated_at", "2015-09-08 21:34:27.965735"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-08 21:34:27.968742"], ["updated_at", "2015-09-08 21:34:27.968742"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-09-08 21:34:28.202540"], ["updated_at", "2015-09-08 21:34:28.202540"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-08 21:34:28.208640"], ["updated_at", "2015-09-08 21:34:28.208640"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-08 21:34:28.212601"], ["updated_at", "2015-09-08 21:34:28.212601"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-01 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-08 21:34:28.278286"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-09-08 21:34:28.281316"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-01 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-08 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-08 21:34:28.287168"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-08 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-08 21:34:28.294877') AND ("social_networking_goals"."due_on" >= '2015-09-07 21:34:28.294912') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-08 21:34:28.298322') AND ("social_networking_goals"."due_on" >= '2015-09-07 21:34:28.298340')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-08 21:34:28.300017') AND ("social_networking_goals"."due_on" >= '2015-09-07 21:34:28.300033')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-09"], ["created_at", "2015-09-08 21:34:28.306051"], ["updated_at", "2015-09-08 21:34:28.306051"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-09-08 21:34:28.310294"], ["updated_at", "2015-09-08 21:34:28.310294"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-08"], ["completed_at", "2015-09-06 00:00:00.000000"], ["created_at", "2015-09-08 21:34:28.314701"], ["updated_at", "2015-09-08 21:34:28.314701"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-09-08 21:34:28.318815"], ["updated_at", "2015-09-08 21:34:28.318815"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-09-08"], ["created_at", "2015-09-08 21:34:28.322640"], ["updated_at", "2015-09-08 21:34:28.322640"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-01 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-08 21:34:28.480060"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-01 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-08 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-08 21:34:28.493810"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-08 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-08 16:34:30 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.4ms) Completed 200 OK in 79ms (Views: 56.2ms | ActiveRecord: 5.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-08 16:34:30 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-08 16:34:30 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-09-08 16:34:30 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Sep 08 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-09-08 21:34:30.466036"], ["updated_at", "2015-09-08 21:34:30.469205"], ["id", 614371357]]  (6.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 18ms (Views: 0.3ms | ActiveRecord: 8.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-08 16:34:30 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 17ms (Views: 2.5ms | ActiveRecord: 2.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-08 16:34:30 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 15ms (Views: 2.1ms | ActiveRecord: 1.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-09-08 16:34:30 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-22", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.9ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-22"], ["created_at", "2015-09-08 21:34:30.804238"], ["updated_at", "2015-09-08 21:34:30.804238"]]  (6.1ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-09-08 21:34:30.815016"], ["updated_at", "2015-09-08 21:34:30.815016"]]  (6.0ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 24ms (Views: 0.2ms | ActiveRecord: 14.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-08 16:34:30 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 17ms (Views: 2.0ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-09-08 16:34:30 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Sep 08 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-09-08 21:34:31.001130"], ["updated_at", "2015-09-08 21:34:31.003877"], ["id", 809335042]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-09-08 21:34:31.009681"], ["updated_at", "2015-09-08 21:34:31.009681"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 17ms (Views: 0.4ms | ActiveRecord: 4.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-08 16:34:31 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.8ms) Completed 200 OK in 18ms (Views: 2.6ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-09-08 16:34:31 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-06", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-06"], ["updated_at", "2015-09-08 21:34:31.341480"], ["id", 53334230]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.1ms)  (0.1ms) ROLLBACK  (1.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-08 21:34:31', '2015-09-08 21:34:31', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-08', '2015-09-08 21:34:31', '2015-09-08 21:34:31', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-08 21:34:31.000000', '2015-09-08', '2015-09-08 21:34:31', '2015-09-08 21:34:31', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-08', '2015-09-08 21:34:31', '2015-09-08 21:34:31', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-08 21:34:31', '2015-09-08 21:34:31', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-08 21:34:31.000000', '2015-09-08', '2015-09-08 21:34:31', '2015-09-08 21:34:31', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-07', '2015-09-08 21:34:31', '2015-09-08 21:34:31', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-06', '2015-09-08 21:34:31', '2015-09-08 21:34:31', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-08 21:34:31.000000', '2015-09-08', '2015-09-08 21:34:31', '2015-09-08 21:34:31', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-08', '2015-09-08 21:34:31', '2015-09-08 21:34:31', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-08 21:34:31.000000', '2015-09-08', '2015-09-08 21:34:31', '2015-09-08 21:34:31', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-08', '2015-09-08 21:34:31', '2015-09-08 21:34:31', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-08 21:34:31.000000', '2015-09-08', '2015-09-08 21:34:31', '2015-09-08 21:34:31', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-08 21:34:31', '2015-09-08 21:34:31', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-07 21:34:31.000000', '2015-09-08 21:34:31', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-08 21:34:31.000000', '2015-09-08 21:34:31', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-07 21:34:31.000000', '2015-09-08 21:34:31', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-08 21:34:31.000000', '2015-09-08 21:34:31', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-08 21:34:31', '2015-09-08 21:34:31', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-08 21:34:31', '2015-09-08 21:34:31', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-08 21:34:31', '2015-09-08 21:34:31', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-08 21:34:31', '2015-09-08 21:34:31', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-08 21:34:31', '2015-09-08 21:34:31', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-08 21:34:31', '2015-09-08 21:34:31', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-08 21:34:31', '2015-09-08 21:34:31', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-08 21:34:31', '2015-09-08 21:34:31', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-08 21:34:31', '2015-09-08 21:34:31', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-08 21:34:31', '2015-09-08 21:34:31', 809335042, 'SocialNetworking::Goal', 809335042)  (0.3ms) COMMIT  (0.9ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-01 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-08 21:34:31.490520"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-09-08 21:34:31.494463"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-01 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-08 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-08 21:34:31.501888"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-08 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (3.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-01 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-08 21:34:31.937089"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-09-08 21:34:31.940025"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-01 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-08 21:34:31.945192"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-08 23:59:59.999999' AND created_at >= '2015-09-08 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-08 21:34:31.951158"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-08 23:59:59.999999' AND created_at >= '2015-09-08 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-08 21:34:31.970070"], ["updated_at", "2015-09-08 21:34:31.970070"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-08 21:34:31.972948"], ["updated_at", "2015-09-08 21:34:31.972948"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (2.4ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-08', '2015-09-08 21:42:52', '2015-09-08 21:42:52', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-08 21:42:52.000000', '2015-09-08', '2015-09-08 21:42:52', '2015-09-08 21:42:52', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-08', '2015-09-08 21:42:52', '2015-09-08 21:42:52', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-08 21:42:52', '2015-09-08 21:42:52', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-08 21:42:52.000000', '2015-09-08', '2015-09-08 21:42:52', '2015-09-08 21:42:52', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-07', '2015-09-08 21:42:52', '2015-09-08 21:42:52', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-06', '2015-09-08 21:42:52', '2015-09-08 21:42:52', 938656909, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-08 21:42:52.000000', '2015-09-08', '2015-09-08 21:42:52', '2015-09-08 21:42:52', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-08', '2015-09-08 21:42:52', '2015-09-08 21:42:52', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-08 21:42:52.000000', '2015-09-08', '2015-09-08 21:42:52', '2015-09-08 21:42:52', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-08', '2015-09-08 21:42:52', '2015-09-08 21:42:52', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-08 21:42:52.000000', '2015-09-08', '2015-09-08 21:42:52', '2015-09-08 21:42:52', 16804933, 816972181)  (4.8ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-08 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.7ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-08 21:42:52.457788"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-08 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-01 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-08 21:42:52.468836"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-01 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.4ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.6ms) SocialNetworking::Mailer#notify: processed outbound mail in 239.3ms Sent mail to obama@ex.co (8.4ms) Date: Tue, 08 Sep 2015 16:42:53 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ef565d43c28_13ebd3feb55c4e200695c8@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-08 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-08 21:42:53.561423"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-08 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-01 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-08 21:42:53.568702"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-09-08 21:42:53.571860"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-01 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.5ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-08 21:42:53.714295"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-08 23:59:59.999999' AND created_at >= '2015-09-08 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-08 21:42:53.720232"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-08 23:59:59.999999' AND created_at >= '2015-09-08 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-01 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-08 21:42:53.726204"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-09-08 21:42:53.729782"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-01 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (17.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-08 21:42:53', '2015-09-08 21:42:53', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-08 21:42:53', '2015-09-08 21:42:53', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-07 21:42:53.000000', '2015-09-08 21:42:53', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-08 21:42:53.000000', '2015-09-08 21:42:53', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-07 21:42:53.000000', '2015-09-08 21:42:53', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-08 21:42:53.000000', '2015-09-08 21:42:53', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-08 21:42:53', '2015-09-08 21:42:53', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-08 21:42:53', '2015-09-08 21:42:53', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-08 21:42:53', '2015-09-08 21:42:53', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-08 21:42:53', '2015-09-08 21:42:53', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-08 21:42:53', '2015-09-08 21:42:53', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-08 21:42:53', '2015-09-08 21:42:53', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-08 21:42:53', '2015-09-08 21:42:53', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-08 21:42:53', '2015-09-08 21:42:53', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-08 21:42:53', '2015-09-08 21:42:53', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.4ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-08 21:42:53', '2015-09-08 21:42:53', 809335042, 'SocialNetworking::Goal', 809335042)  (5.6ms) COMMIT  (23.9ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-08 21:42:53.986291"], ["updated_at", "2015-09-08 21:42:53.986291"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-08 21:42:53.989620"], ["updated_at", "2015-09-08 21:42:53.989620"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-08 16:42:54 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.8ms) Completed 200 OK in 110ms (Views: 76.2ms | ActiveRecord: 6.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-08 16:42:54 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-08 16:42:54 -0500 SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-09-08 16:42:55 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Sep 08 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-09-08 21:42:55.098232"], ["updated_at", "2015-09-08 21:42:55.101809"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.6ms | ActiveRecord: 5.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-08 16:42:55 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-09-08 16:42:55 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-06", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-06"], ["updated_at", "2015-09-08 21:42:55.311214"], ["id", 53334230]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-08 16:42:55 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 14ms (Views: 1.8ms | ActiveRecord: 1.6ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-09-08 16:42:55 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-22", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-22"], ["created_at", "2015-09-08 21:42:55.550753"], ["updated_at", "2015-09-08 21:42:55.550753"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-09-08 21:42:55.556846"], ["updated_at", "2015-09-08 21:42:55.556846"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-08 16:42:55 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 17ms (Views: 2.3ms | ActiveRecord: 2.4ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-09-08 16:42:55 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Sep 08 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-09-08 21:42:55.741913"], ["updated_at", "2015-09-08 21:42:55.745356"], ["id", 809335042]]  (6.9ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-09-08 21:42:55.757131"], ["updated_at", "2015-09-08 21:42:55.757131"]]  (5.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 27ms (Views: 0.3ms | ActiveRecord: 14.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-08 16:42:55 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 17ms (Views: 1.9ms | ActiveRecord: 2.5ms)  (0.1ms) ROLLBACK  (2.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-08 21:42:56', '2015-09-08 21:42:56', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-08', '2015-09-08 21:42:56', '2015-09-08 21:42:56', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-08 21:42:56.000000', '2015-09-08', '2015-09-08 21:42:56', '2015-09-08 21:42:56', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-08', '2015-09-08 21:42:56', '2015-09-08 21:42:56', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-08 21:42:56', '2015-09-08 21:42:56', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-08 21:42:56.000000', '2015-09-08', '2015-09-08 21:42:56', '2015-09-08 21:42:56', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-07', '2015-09-08 21:42:56', '2015-09-08 21:42:56', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-06', '2015-09-08 21:42:56', '2015-09-08 21:42:56', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-08 21:42:56.000000', '2015-09-08', '2015-09-08 21:42:56', '2015-09-08 21:42:56', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-08', '2015-09-08 21:42:56', '2015-09-08 21:42:56', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-08 21:42:56.000000', '2015-09-08', '2015-09-08 21:42:56', '2015-09-08 21:42:56', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-08', '2015-09-08 21:42:56', '2015-09-08 21:42:56', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-08 21:42:56.000000', '2015-09-08', '2015-09-08 21:42:56', '2015-09-08 21:42:56', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-08 21:42:56', '2015-09-08 21:42:56', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-07 21:42:56.000000', '2015-09-08 21:42:56', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-08 21:42:56.000000', '2015-09-08 21:42:56', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-07 21:42:56.000000', '2015-09-08 21:42:56', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-08 21:42:56.000000', '2015-09-08 21:42:56', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-08 21:42:56', '2015-09-08 21:42:56', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-08 21:42:56', '2015-09-08 21:42:56', 369066228, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-08 21:42:56', '2015-09-08 21:42:56', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-08 21:42:56', '2015-09-08 21:42:56', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-08 21:42:56', '2015-09-08 21:42:56', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-08 21:42:56', '2015-09-08 21:42:56', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-08 21:42:56', '2015-09-08 21:42:56', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-08 21:42:56', '2015-09-08 21:42:56', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-08 21:42:56', '2015-09-08 21:42:56', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-08 21:42:56', '2015-09-08 21:42:56', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-08 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-08 21:42:56.176488"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-08 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-01 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-08 21:42:56.184833"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-09-08 21:42:56.188601"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-01 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-01 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-08 21:42:56.215899"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-09-08 21:42:56.220208"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-01 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-08 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-08 21:42:56.231927"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-08 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-09"], ["created_at", "2015-09-08 21:42:56.242100"], ["updated_at", "2015-09-08 21:42:56.242100"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-08"], ["completed_at", "2015-09-06 00:00:00.000000"], ["created_at", "2015-09-08 21:42:56.247642"], ["updated_at", "2015-09-08 21:42:56.247642"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-09-08 21:42:56.253521"], ["updated_at", "2015-09-08 21:42:56.253521"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-09-08"], ["created_at", "2015-09-08 21:42:56.260651"], ["updated_at", "2015-09-08 21:42:56.260651"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-09-08 21:42:56.265270"], ["updated_at", "2015-09-08 21:42:56.265270"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-08 21:42:56.269015') AND ("social_networking_goals"."due_on" >= '2015-09-07 21:42:56.269057')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-08 21:42:56.271717') AND ("social_networking_goals"."due_on" >= '2015-09-07 21:42:56.271737') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-08 21:42:56.274119') AND ("social_networking_goals"."due_on" >= '2015-09-07 21:42:56.274136')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-08 21:42:56.302298"], ["updated_at", "2015-09-08 21:42:56.302298"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-08 21:42:56.304949"], ["updated_at", "2015-09-08 21:42:56.304949"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-08 21:42:56.311305"], ["updated_at", "2015-09-08 21:42:56.311305"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-08 21:42:56.314141"], ["updated_at", "2015-09-08 21:42:56.314141"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-08 21:42:56.327604"], ["updated_at", "2015-09-08 21:42:56.327604"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-08 21:42:56.330052"], ["updated_at", "2015-09-08 21:42:56.330052"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-08 21:42:56.335285"], ["updated_at", "2015-09-08 21:42:56.335285"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-08 21:42:56.337470"], ["updated_at", "2015-09-08 21:42:56.337470"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-09-08 21:42:56.422298"], ["updated_at", "2015-09-08 21:42:56.422298"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-08 21:42:56.427073"], ["updated_at", "2015-09-08 21:42:56.427073"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-08 21:42:56.429926"], ["updated_at", "2015-09-08 21:42:56.429926"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (2.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-08', '2015-09-08 21:43:11', '2015-09-08 21:43:11', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-08 21:43:11.000000', '2015-09-08', '2015-09-08 21:43:11', '2015-09-08 21:43:11', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-08', '2015-09-08 21:43:11', '2015-09-08 21:43:11', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-08 21:43:11', '2015-09-08 21:43:11', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-08 21:43:11.000000', '2015-09-08', '2015-09-08 21:43:11', '2015-09-08 21:43:11', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-07', '2015-09-08 21:43:11', '2015-09-08 21:43:11', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-06', '2015-09-08 21:43:11', '2015-09-08 21:43:11', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-08 21:43:11.000000', '2015-09-08', '2015-09-08 21:43:11', '2015-09-08 21:43:11', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-08', '2015-09-08 21:43:11', '2015-09-08 21:43:11', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-08 21:43:11.000000', '2015-09-08', '2015-09-08 21:43:11', '2015-09-08 21:43:11', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-08', '2015-09-08 21:43:11', '2015-09-08 21:43:11', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-08 21:43:11.000000', '2015-09-08', '2015-09-08 21:43:11', '2015-09-08 21:43:11', 16804933, 816972181)  (0.3ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-09-08 21:43:11.446817"], ["updated_at", "2015-09-08 21:43:11.446817"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-08 21:43:11.467968"], ["updated_at", "2015-09-08 21:43:11.467968"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-08 21:43:11.471915"], ["updated_at", "2015-09-08 21:43:11.471915"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (7.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 33ms (Views: 32.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (1.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-08 21:43:11', '2015-09-08 21:43:11', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-08 21:43:11', '2015-09-08 21:43:11', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-07 21:43:11.000000', '2015-09-08 21:43:11', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-08 21:43:11.000000', '2015-09-08 21:43:11', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-07 21:43:11.000000', '2015-09-08 21:43:11', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-08 21:43:11.000000', '2015-09-08 21:43:11', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-08 21:43:11', '2015-09-08 21:43:11', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-08 21:43:11', '2015-09-08 21:43:11', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-08 21:43:11', '2015-09-08 21:43:11', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-08 21:43:11', '2015-09-08 21:43:11', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-08 21:43:11', '2015-09-08 21:43:11', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-08 21:43:11', '2015-09-08 21:43:11', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-08 21:43:11', '2015-09-08 21:43:11', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-08 21:43:11', '2015-09-08 21:43:11', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-08 21:43:11', '2015-09-08 21:43:11', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-08 21:43:11', '2015-09-08 21:43:11', 809335042, 'SocialNetworking::Goal', 809335042)  (0.3ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.8ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-01 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-08 21:43:12.024717"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-09-08 21:43:12.028151"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-01 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-08 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-08 21:43:12.035417"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-08 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-08 21:43:12.169974"], ["updated_at", "2015-09-08 21:43:12.169974"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-08 21:43:12.174329"], ["updated_at", "2015-09-08 21:43:12.174329"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-01 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-08 21:43:12.193740"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-09-08 21:43:12.196447"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-01 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-08 21:43:12.202597"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-08 23:59:59.999999' AND created_at >= '2015-09-08 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-08 21:43:12.209184"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-08 23:59:59.999999' AND created_at >= '2015-09-08 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-08 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-08 21:43:12.901113"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-08 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-01 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-08 21:43:12.907360"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-09-08 21:43:12.910169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-01 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-08 21:43:12.916450') AND ("social_networking_goals"."due_on" >= '2015-09-07 21:43:12.916483') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-08 21:43:12.919850') AND ("social_networking_goals"."due_on" >= '2015-09-07 21:43:12.919895')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-08 21:43:12.921991') AND ("social_networking_goals"."due_on" >= '2015-09-07 21:43:12.922014')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-09-08 21:43:12.928200"], ["updated_at", "2015-09-08 21:43:12.928200"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-09"], ["created_at", "2015-09-08 21:43:12.932305"], ["updated_at", "2015-09-08 21:43:12.932305"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-08"], ["completed_at", "2015-09-06 00:00:00.000000"], ["created_at", "2015-09-08 21:43:12.936583"], ["updated_at", "2015-09-08 21:43:12.936583"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-09-08 21:43:12.941081"], ["updated_at", "2015-09-08 21:43:12.941081"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-09-08"], ["created_at", "2015-09-08 21:43:12.945127"], ["updated_at", "2015-09-08 21:43:12.945127"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-01 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-08 21:43:13.018567"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-08-31 00:00:00.000000"], ["updated_at", "2015-09-08 21:43:13.023162"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-01 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-08 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-08 21:43:13.151240"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-08 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.6ms) SocialNetworking::Mailer#notify: processed outbound mail in 228.1ms Sent mail to obama@ex.co (7.5ms) Date: Tue, 08 Sep 2015 16:43:13 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55ef56716d65e_13f223fd3f4c601f84764d@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-01 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-08 21:43:13.460861"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-01 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-08 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-08 21:43:13.475293"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-08 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-08 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-08 16:43:14 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.2ms) Completed 200 OK in 124ms (Views: 86.0ms | ActiveRecord: 7.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-08 16:43:14 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-08 16:43:14 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-09-08 16:43:14 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Sep 08 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-09-08 21:43:14.609471"], ["updated_at", "2015-09-08 21:43:14.612231"], ["id", 614371357]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-08 16:43:14 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 16ms (Views: 1.9ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-08 16:43:14 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.4ms) Completed 200 OK in 16ms (Views: 3.5ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-09-08 16:43:14 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Sep 08 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-09-08 21:43:14.895095"], ["updated_at", "2015-09-08 21:43:14.897776"], ["id", 809335042]]  (2.6ms) COMMIT  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-09-08 21:43:14.904911"], ["updated_at", "2015-09-08 21:43:14.904911"]]  (1.6ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 19ms (Views: 0.3ms | ActiveRecord: 6.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-08 16:43:14 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 2.0ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-09-08 16:43:15 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-06", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-06"], ["updated_at", "2015-09-08 21:43:15.099990"], ["id", 53334230]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-08 16:43:15 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 14ms (Views: 1.9ms | ActiveRecord: 1.6ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-09-08 16:43:15 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-22", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-22"], ["created_at", "2015-09-08 21:43:15.373866"], ["updated_at", "2015-09-08 21:43:15.373866"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-09-08 21:43:15.378151"], ["updated_at", "2015-09-08 21:43:15.378151"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 2.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (1.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-08 21:43:15', '2015-09-08 21:43:15', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-08', '2015-09-08 21:43:15', '2015-09-08 21:43:15', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-08 21:43:15.000000', '2015-09-08', '2015-09-08 21:43:15', '2015-09-08 21:43:15', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-08', '2015-09-08 21:43:15', '2015-09-08 21:43:15', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-08 21:43:15', '2015-09-08 21:43:15', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-08 21:43:15.000000', '2015-09-08', '2015-09-08 21:43:15', '2015-09-08 21:43:15', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-07', '2015-09-08 21:43:15', '2015-09-08 21:43:15', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-06', '2015-09-08 21:43:15', '2015-09-08 21:43:15', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-08 21:43:15.000000', '2015-09-08', '2015-09-08 21:43:15', '2015-09-08 21:43:15', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-08', '2015-09-08 21:43:15', '2015-09-08 21:43:15', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-08 21:43:15.000000', '2015-09-08', '2015-09-08 21:43:15', '2015-09-08 21:43:15', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-08', '2015-09-08 21:43:15', '2015-09-08 21:43:15', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-08 21:43:15.000000', '2015-09-08', '2015-09-08 21:43:15', '2015-09-08 21:43:15', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-08 21:43:15', '2015-09-08 21:43:15', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-07 21:43:15.000000', '2015-09-08 21:43:15', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-08 21:43:15.000000', '2015-09-08 21:43:15', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-07 21:43:15.000000', '2015-09-08 21:43:15', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-08 21:43:15.000000', '2015-09-08 21:43:15', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-08 21:43:15', '2015-09-08 21:43:15', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-08 21:43:15', '2015-09-08 21:43:15', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-08 21:43:15', '2015-09-08 21:43:15', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-08 21:43:15', '2015-09-08 21:43:15', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-08 21:43:15', '2015-09-08 21:43:15', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-08 21:43:15', '2015-09-08 21:43:15', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-08 21:43:15', '2015-09-08 21:43:15', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-08 21:43:15', '2015-09-08 21:43:15', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-08 21:43:15', '2015-09-08 21:43:15', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-08 21:43:15', '2015-09-08 21:43:15', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (0.9ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-08 21:43:15.600383"], ["updated_at", "2015-09-08 21:43:15.600383"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-08 21:43:15.602973"], ["updated_at", "2015-09-08 21:43:15.602973"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-08 21:43:15.609462"], ["updated_at", "2015-09-08 21:43:15.609462"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-08 21:43:15.612013"], ["updated_at", "2015-09-08 21:43:15.612013"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-08 21:43:15.617553"], ["updated_at", "2015-09-08 21:43:15.617553"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-08 21:43:15.619802"], ["updated_at", "2015-09-08 21:43:15.619802"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-08 21:43:15.629758"], ["updated_at", "2015-09-08 21:43:15.629758"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-08 21:43:15.632059"], ["updated_at", "2015-09-08 21:43:15.632059"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 135ms (Views: 134.6ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (2.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (6.0ms) COMMIT  (5.9ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-02 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-09 13:07:44.914303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-01 00:00:00.000000"], ["updated_at", "2015-09-09 13:07:44.918393"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-02 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-09 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-09 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-09 00:00:00.000000"], ["updated_at", "2015-09-09 13:07:44.926640"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-09 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-09 23:59:59.999999')  (0.1ms) ROLLBACK  (9.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-09 13:07:44', '2015-09-09 13:07:44', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-09', '2015-09-09 13:07:44', '2015-09-09 13:07:44', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-09 13:07:44.000000', '2015-09-09', '2015-09-09 13:07:44', '2015-09-09 13:07:44', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-09', '2015-09-09 13:07:44', '2015-09-09 13:07:44', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-09 13:07:44', '2015-09-09 13:07:44', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-09 13:07:44.000000', '2015-09-09', '2015-09-09 13:07:44', '2015-09-09 13:07:44', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-08', '2015-09-09 13:07:44', '2015-09-09 13:07:44', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-07', '2015-09-09 13:07:44', '2015-09-09 13:07:44', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-09 13:07:44.000000', '2015-09-09', '2015-09-09 13:07:44', '2015-09-09 13:07:44', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-09', '2015-09-09 13:07:44', '2015-09-09 13:07:44', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-09 13:07:44.000000', '2015-09-09', '2015-09-09 13:07:44', '2015-09-09 13:07:44', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-09', '2015-09-09 13:07:44', '2015-09-09 13:07:44', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-09 13:07:44.000000', '2015-09-09', '2015-09-09 13:07:44', '2015-09-09 13:07:44', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.5ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-09 13:07:44', '2015-09-09 13:07:44', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.5ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-08 13:07:44.000000', '2015-09-09 13:07:44', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-09 13:07:44.000000', '2015-09-09 13:07:44', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-08 13:07:44.000000', '2015-09-09 13:07:44', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-09 13:07:44.000000', '2015-09-09 13:07:44', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-09 13:07:44', '2015-09-09 13:07:44', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-09 13:07:44', '2015-09-09 13:07:44', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-09 13:07:44', '2015-09-09 13:07:44', 465319974, 333620620) Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-09 13:07:44', '2015-09-09 13:07:44', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-09 13:07:44', '2015-09-09 13:07:44', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-09 13:07:44', '2015-09-09 13:07:44', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-09 13:07:44', '2015-09-09 13:07:44', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-09 13:07:44', '2015-09-09 13:07:44', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-09 13:07:44', '2015-09-09 13:07:44', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-09 13:07:44', '2015-09-09 13:07:44', 809335042, 'SocialNetworking::Goal', 809335042)  (0.3ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-09 13:07:45.017162') AND ("social_networking_goals"."due_on" >= '2015-09-08 13:07:45.017199') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-09 13:07:45.021108') AND ("social_networking_goals"."due_on" >= '2015-09-08 13:07:45.021128')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-09 13:07:45.023072') AND ("social_networking_goals"."due_on" >= '2015-09-08 13:07:45.023090')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-09-09 13:07:45.026961"], ["updated_at", "2015-09-09 13:07:45.026961"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-09-09"], ["created_at", "2015-09-09 13:07:45.031223"], ["updated_at", "2015-09-09 13:07:45.031223"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-09"], ["completed_at", "2015-09-07 00:00:00.000000"], ["created_at", "2015-09-09 13:07:45.038327"], ["updated_at", "2015-09-09 13:07:45.038327"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-10"], ["created_at", "2015-09-09 13:07:45.042638"], ["updated_at", "2015-09-09 13:07:45.042638"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-09-09 13:07:45.070159"], ["updated_at", "2015-09-09 13:07:45.070159"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (2.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-02 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-09 13:07:45.244060"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-01 00:00:00.000000"], ["updated_at", "2015-09-09 13:07:45.247231"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-02 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-09 23:59:59.999999' AND created_at >= '2015-09-09 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-09 00:00:00.000000"], ["updated_at", "2015-09-09 13:07:45.253201"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-09 23:59:59.999999' AND created_at >= '2015-09-09 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-09 13:07:45.259400"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (1.0ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 176ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 32ms (Views: 30.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-09 13:07:46.374263"], ["updated_at", "2015-09-09 13:07:46.374263"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-09 13:07:46.377017"], ["updated_at", "2015-09-09 13:07:46.377017"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-09 13:07:46.383133"], ["updated_at", "2015-09-09 13:07:46.383133"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-09 13:07:46.385290"], ["updated_at", "2015-09-09 13:07:46.385290"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-09 13:07:46.390907"], ["updated_at", "2015-09-09 13:07:46.390907"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-09 13:07:46.393022"], ["updated_at", "2015-09-09 13:07:46.393022"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-09 13:07:46.409164"], ["updated_at", "2015-09-09 13:07:46.409164"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-09 13:07:46.411414"], ["updated_at", "2015-09-09 13:07:46.411414"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-09-09 13:07:46.587952"], ["updated_at", "2015-09-09 13:07:46.587952"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-09 13:07:46.592636"], ["updated_at", "2015-09-09 13:07:46.592636"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-09 13:07:46.595534"], ["updated_at", "2015-09-09 13:07:46.595534"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-09 08:07:48 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.9ms) Completed 200 OK in 92ms (Views: 70.0ms | ActiveRecord: 4.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-09 08:07:48 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-09 08:07:48 -0500 Started POST "/social_networking/goals" for 127.0.0.1 at 2015-09-09 08:07:48 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-23", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.9ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-23"], ["created_at", "2015-09-09 13:07:48.978623"], ["updated_at", "2015-09-09 13:07:48.978623"]]  (5.9ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298884], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-09-09 13:07:48.989221"], ["updated_at", "2015-09-09 13:07:48.989221"]]  (4.8ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298884], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 23ms (Views: 0.3ms | ActiveRecord: 12.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-09 08:07:49 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298884], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 19ms (Views: 2.4ms | ActiveRecord: 2.3ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-09-09 08:07:49 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Sep 09 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-09-09 13:07:49.171090"], ["updated_at", "2015-09-09 13:07:49.173675"], ["id", 614371357]]  (6.1ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 7.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-09 08:07:49 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298884], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 16ms (Views: 2.1ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-09 08:07:49 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298884], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 16ms (Views: 2.2ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-09-09 08:07:49 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-07", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-07"], ["updated_at", "2015-09-09 13:07:49.490451"], ["id", 53334230]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 2.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-09 08:07:49 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298884], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 2.0ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-09-09 08:07:49 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Sep 09 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-09-09 13:07:49.815332"], ["updated_at", "2015-09-09 13:07:49.818065"], ["id", 809335042]]  (1.3ms) COMMIT  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-09-09 13:07:49.823018"], ["updated_at", "2015-09-09 13:07:49.823018"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.4ms | ActiveRecord: 3.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.6ms) SocialNetworking::Mailer#notify: processed outbound mail in 238.2ms Sent mail to obama@ex.co (8.6ms) Date: Wed, 09 Sep 2015 08:07:50 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55f02f2617fbb_1590d3ff99e0601f81084f@JohnDeere.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (7.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-09', '2015-09-09 13:07:50', '2015-09-09 13:07:50', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-09 13:07:50.000000', '2015-09-09', '2015-09-09 13:07:50', '2015-09-09 13:07:50', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-09', '2015-09-09 13:07:50', '2015-09-09 13:07:50', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-09 13:07:50', '2015-09-09 13:07:50', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-09 13:07:50.000000', '2015-09-09', '2015-09-09 13:07:50', '2015-09-09 13:07:50', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-08', '2015-09-09 13:07:50', '2015-09-09 13:07:50', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-07', '2015-09-09 13:07:50', '2015-09-09 13:07:50', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-09 13:07:50.000000', '2015-09-09', '2015-09-09 13:07:50', '2015-09-09 13:07:50', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-09', '2015-09-09 13:07:50', '2015-09-09 13:07:50', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-09 13:07:50.000000', '2015-09-09', '2015-09-09 13:07:50', '2015-09-09 13:07:50', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-09', '2015-09-09 13:07:50', '2015-09-09 13:07:50', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-09 13:07:50.000000', '2015-09-09', '2015-09-09 13:07:50', '2015-09-09 13:07:50', 16804933, 816972181)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-02 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-09 13:07:50.138779"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-01 00:00:00.000000"], ["updated_at", "2015-09-09 13:07:50.142697"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-02 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-09 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-09 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-09 00:00:00.000000"], ["updated_at", "2015-09-09 13:07:50.150353"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-09 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-09 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-02 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-09 13:07:50.177776"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-02 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-09 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-09 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-09 00:00:00.000000"], ["updated_at", "2015-09-09 13:07:50.191158"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-09 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-09 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-09 13:07:50.220659"], ["updated_at", "2015-09-09 13:07:50.220659"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-09 13:07:50.223624"], ["updated_at", "2015-09-09 13:07:50.223624"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (1.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-09 13:07:50', '2015-09-09 13:07:50', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-09 13:07:50', '2015-09-09 13:07:50', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-08 13:07:50.000000', '2015-09-09 13:07:50', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-09 13:07:50.000000', '2015-09-09 13:07:50', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-08 13:07:50.000000', '2015-09-09 13:07:50', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-09 13:07:50.000000', '2015-09-09 13:07:50', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-09 13:07:50', '2015-09-09 13:07:50', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-09 13:07:50', '2015-09-09 13:07:50', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-09 13:07:50', '2015-09-09 13:07:50', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-09 13:07:50', '2015-09-09 13:07:50', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-09 13:07:50', '2015-09-09 13:07:50', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-09 13:07:50', '2015-09-09 13:07:50', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-09 13:07:50', '2015-09-09 13:07:50', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-09 13:07:50', '2015-09-09 13:07:50', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-09 13:07:50', '2015-09-09 13:07:50', 183235640, 816972181) Fixture Delete (0.1ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-09 13:07:50', '2015-09-09 13:07:50', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-02 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-09 13:07:50.278412"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-01 00:00:00.000000"], ["updated_at", "2015-09-09 13:07:50.282112"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-02 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-09 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-09 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-09 00:00:00.000000"], ["updated_at", "2015-09-09 13:07:50.289285"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-09 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-09 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (2.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.6ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.6ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-09 13:28:31', '2015-09-09 13:28:31', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-09', '2015-09-09 13:28:31', '2015-09-09 13:28:31', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-09 13:28:31.000000', '2015-09-09', '2015-09-09 13:28:31', '2015-09-09 13:28:31', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-09', '2015-09-09 13:28:31', '2015-09-09 13:28:31', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-09 13:28:31', '2015-09-09 13:28:31', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-09 13:28:31.000000', '2015-09-09', '2015-09-09 13:28:31', '2015-09-09 13:28:31', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-08', '2015-09-09 13:28:31', '2015-09-09 13:28:31', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-07', '2015-09-09 13:28:31', '2015-09-09 13:28:31', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-09 13:28:31.000000', '2015-09-09', '2015-09-09 13:28:31', '2015-09-09 13:28:31', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-09', '2015-09-09 13:28:31', '2015-09-09 13:28:31', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-09 13:28:31.000000', '2015-09-09', '2015-09-09 13:28:31', '2015-09-09 13:28:31', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-09', '2015-09-09 13:28:31', '2015-09-09 13:28:31', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-09 13:28:31.000000', '2015-09-09', '2015-09-09 13:28:31', '2015-09-09 13:28:31', 16804933, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-09 13:28:31', '2015-09-09 13:28:31', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-08 13:28:31.000000', '2015-09-09 13:28:31', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-09 13:28:31.000000', '2015-09-09 13:28:31', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-08 13:28:31.000000', '2015-09-09 13:28:31', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-09 13:28:31.000000', '2015-09-09 13:28:31', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-09 13:28:31', '2015-09-09 13:28:31', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-09 13:28:31', '2015-09-09 13:28:31', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-09 13:28:31', '2015-09-09 13:28:31', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-09 13:28:31', '2015-09-09 13:28:31', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-09 13:28:31', '2015-09-09 13:28:31', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-09 13:28:31', '2015-09-09 13:28:31', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-09 13:28:31', '2015-09-09 13:28:31', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-09 13:28:31', '2015-09-09 13:28:31', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-09 13:28:31', '2015-09-09 13:28:31', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-09 13:28:31', '2015-09-09 13:28:31', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (21.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (12.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.2ms) BEGIN  (15.7ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (5.7ms) COMMIT Migrating to AddParticipantFields (2)  (6.1ms) BEGIN  (0.6ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.8ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (6.3ms) COMMIT Migrating to CreateArms (3)  (0.2ms) BEGIN  (15.1ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (6.3ms) COMMIT Migrating to AddNullFalseToArms (5)  (5.9ms) BEGIN  (0.4ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.3ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (6.2ms) COMMIT Migrating to AddHasWozToArm (6)  (0.2ms) BEGIN  (18.2ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (7.2ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.2ms) BEGIN  (0.4ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (5.6ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.2ms) BEGIN  (8.5ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (2.6ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (1.2ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (6.1ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (5.7ms) BEGIN  (15.9ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.3ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (5.6ms) BEGIN  (23.7ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.8ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (6.5ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (11.6ms) BEGIN  (11.3ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (1.5ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (5.6ms) BEGIN  (15.0ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (11.5ms) BEGIN  (14.5ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (2.2ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (5.4ms) BEGIN  (8.4ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.4ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (5.1ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (5.9ms) BEGIN  (15.9ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (0.8ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (6.1ms) BEGIN  (15.3ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.4ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (0.6ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (6.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (1.6ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (5.9ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.3ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (6.2ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.2ms) BEGIN  (6.6ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (5.9ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.2ms) BEGIN  (0.5ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (16.2ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (5.8ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.3ms) BEGIN  (16.9ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (5.6ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.3ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (6.0ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.2ms) BEGIN  (7.0ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (6.0ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.2ms) BEGIN  (7.6ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (6.1ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.2ms) BEGIN  (0.5ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.4ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (5.4ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.2ms) BEGIN SQL (0.6ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2015-09-11 20:07:23.078347"], ["updated_at", "2015-09-11 20:07:23.078347"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2015-09-11 20:07:23.081416"], ["updated_at", "2015-09-11 20:07:23.081416"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2015-09-11 20:07:23.083422"], ["updated_at", "2015-09-11 20:07:23.083422"]] SQL (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2015-09-11 20:07:23.085345"], ["updated_at", "2015-09-11 20:07:23.085345"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2015-09-11 20:07:23.087435"], ["updated_at", "2015-09-11 20:07:23.087435"]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (0.5ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.2ms) BEGIN  (1.0ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (6.1ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.2ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (6.0ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.2ms) BEGIN SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (5.7ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (6.7ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (6.3ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.2ms) BEGIN SocialNetworking::SharedItem Load (0.8ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (6.1ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.1ms) BEGIN  (8.7ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (5.9ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (5.9ms) BEGIN  (0.5ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (6.0ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.2ms) BEGIN SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (6.0ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.2ms) BEGIN  (0.5ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (6.0ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.2ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (5.5ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.2ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (5.7ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.2ms) BEGIN  (0.6ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (6.1ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.2ms) BEGIN  (7.3ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (6.2ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.2ms) BEGIN  (7.2ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (5.7ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.2ms) BEGIN  (6.7ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (6.8ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (5.0ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.2ms) BEGIN  (6.9ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (6.9ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (5.9ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.6ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.5ms) BEGIN  (6.3ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (5.8ms) COMMIT ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (3.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (3.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (3.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (3.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 29ms (Views: 19.7ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (12.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.7ms) SocialNetworking::Mailer#notify: processed outbound mail in 322.7ms Sent mail to obama@ex.co (11.9ms) Date: Fri, 11 Sep 2015 15:07:36 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55f3348888c06_e95a3fc49d4601f8466a@vpn-165-124-162-26.vpn.northwestern.edu.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.3ms) ROLLBACK  (8.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "participants" Fixture Insert (0.5ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-11 20:07:36', '2015-09-11 20:07:36', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-11', '2015-09-11 20:07:36', '2015-09-11 20:07:36', 809335042, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-11 20:07:36.000000', '2015-09-11', '2015-09-11 20:07:36', '2015-09-11 20:07:36', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-11', '2015-09-11 20:07:36', '2015-09-11 20:07:36', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-11 20:07:36', '2015-09-11 20:07:36', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-11 20:07:36.000000', '2015-09-11', '2015-09-11 20:07:36', '2015-09-11 20:07:36', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-10', '2015-09-11 20:07:36', '2015-09-11 20:07:36', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-09', '2015-09-11 20:07:36', '2015-09-11 20:07:36', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-11 20:07:36.000000', '2015-09-11', '2015-09-11 20:07:36', '2015-09-11 20:07:36', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-11', '2015-09-11 20:07:36', '2015-09-11 20:07:36', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-11 20:07:36.000000', '2015-09-11', '2015-09-11 20:07:36', '2015-09-11 20:07:36', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-11', '2015-09-11 20:07:36', '2015-09-11 20:07:36', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-11 20:07:36.000000', '2015-09-11', '2015-09-11 20:07:36', '2015-09-11 20:07:36', 16804933, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.5ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-11 20:07:36', '2015-09-11 20:07:36', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.6ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-10 20:07:36.000000', '2015-09-11 20:07:36', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-11 20:07:36.000000', '2015-09-11 20:07:36', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-10 20:07:36.000000', '2015-09-11 20:07:36', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-11 20:07:36.000000', '2015-09-11 20:07:36', 316146702, 816972181, 700141617) Fixture Delete (0.6ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-11 20:07:36', '2015-09-11 20:07:36', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-11 20:07:36', '2015-09-11 20:07:36', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.5ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-11 20:07:36', '2015-09-11 20:07:36', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-11 20:07:36', '2015-09-11 20:07:36', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-11 20:07:36', '2015-09-11 20:07:36', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-11 20:07:36', '2015-09-11 20:07:36', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-11 20:07:36', '2015-09-11 20:07:36', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-11 20:07:36', '2015-09-11 20:07:36', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.5ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-11 20:07:36', '2015-09-11 20:07:36', 183235640, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.5ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-11 20:07:36', '2015-09-11 20:07:36', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (2.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-11 20:07:36.777431"], ["updated_at", "2015-09-11 20:07:36.777431"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-11 20:07:36.782365"], ["updated_at", "2015-09-11 20:07:36.782365"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (11.7ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-11 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-11 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-11 00:00:00.000000"], ["updated_at", "2015-09-11 20:07:37.061783"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-11 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-11 23:59:59.999999')  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-04 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-10 00:00:00.000000"], ["updated_at", "2015-09-11 20:07:37.074633"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-11 20:07:37.093088"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-04 00:00:00.000000')  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-11 23:59:59.999999' AND created_at >= '2015-09-11 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-11 00:00:00.000000"], ["updated_at", "2015-09-11 20:07:37.176144"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-11 23:59:59.999999' AND created_at >= '2015-09-11 00:00:00.000000')  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-10 00:00:00.000000"], ["updated_at", "2015-09-11 20:07:37.184703"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-04 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-10 00:00:00.000000"], ["updated_at", "2015-09-11 20:07:37.192746"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-11 20:07:37.196955"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-04 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 9ms (Views: 7.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.6ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.7ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-11 20:07:37.301611"], ["updated_at", "2015-09-11 20:07:37.301611"]] SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-11 20:07:37.307146"], ["updated_at", "2015-09-11 20:07:37.307146"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.3ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-11 20:07:37.320470"], ["updated_at", "2015-09-11 20:07:37.320470"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-11 20:07:37.324070"], ["updated_at", "2015-09-11 20:07:37.324070"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-11 20:07:37.348850"], ["updated_at", "2015-09-11 20:07:37.348850"]] SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-11 20:07:37.353495"], ["updated_at", "2015-09-11 20:07:37.353495"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-11 20:07:37.363034"], ["updated_at", "2015-09-11 20:07:37.363034"]] SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-11 20:07:37.367252"], ["updated_at", "2015-09-11 20:07:37.367252"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.9ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (2.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (10.5ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-09-11 20:07:37.584674"], ["updated_at", "2015-09-11 20:07:37.584674"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-11 20:07:37.592219"], ["updated_at", "2015-09-11 20:07:37.592219"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-11 20:07:37.596238"], ["updated_at", "2015-09-11 20:07:37.596238"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-11 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-11 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (1.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-11 00:00:00.000000"], ["updated_at", "2015-09-11 20:07:37.636227"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-11 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-11 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-04 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-10 00:00:00.000000"], ["updated_at", "2015-09-11 20:07:37.651489"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-04 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-11 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-11 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.7ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-11 00:00:00.000000"], ["updated_at", "2015-09-11 20:07:38.134911"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-11 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-11 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-04 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-10 00:00:00.000000"], ["updated_at", "2015-09-11 20:07:38.147183"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-11 20:07:38.152615"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-04 00:00:00.000000')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (2.4ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (2.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::ProfileAnswer Load (0.5ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-11 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-11 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-11 00:00:00.000000"], ["updated_at", "2015-09-11 20:07:38.417672"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-11 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-11 23:59:59.999999')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-04 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-10 00:00:00.000000"], ["updated_at", "2015-09-11 20:07:38.429131"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-03 00:00:00.000000"], ["updated_at", "2015-09-11 20:07:38.434661"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-04 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-09-11"], ["created_at", "2015-09-11 20:07:38.450359"], ["updated_at", "2015-09-11 20:07:38.450359"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-09-11 20:07:38.457648"], ["updated_at", "2015-09-11 20:07:38.457648"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-11"], ["completed_at", "2015-09-09 00:00:00.000000"], ["created_at", "2015-09-11 20:07:38.465051"], ["updated_at", "2015-09-11 20:07:38.465051"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-09-11 20:07:38.472771"], ["updated_at", "2015-09-11 20:07:38.472771"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-12"], ["created_at", "2015-09-11 20:07:38.480216"], ["updated_at", "2015-09-11 20:07:38.480216"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-11 20:07:38.490266') AND ("social_networking_goals"."due_on" >= '2015-09-10 20:07:38.490315')  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-11 20:07:38.496172') AND ("social_networking_goals"."due_on" >= '2015-09-10 20:07:38.496214') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-11 20:07:38.500585') AND ("social_networking_goals"."due_on" >= '2015-09-10 20:07:38.500619')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.8ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (15.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-11 15:07:40 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.7ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.3ms) Completed 200 OK in 143ms (Views: 105.3ms | ActiveRecord: 7.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-11 15:07:40 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-11 15:07:40 -0500 Started POST "/social_networking/goals" for 127.0.0.1 at 2015-09-11 15:07:41 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-25", "goal"=>{"description"=>"all of the things"}} Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.9ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-25"], ["created_at", "2015-09-11 20:07:41.223507"], ["updated_at", "2015-09-11 20:07:41.223507"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-09-11 20:07:41.229606"], ["updated_at", "2015-09-11 20:07:41.229606"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.5ms | ActiveRecord: 3.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-11 15:07:41 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.9ms) Completed 200 OK in 23ms (Views: 2.9ms | ActiveRecord: 2.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-09-11 15:07:41 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Sep 11 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-09-11 20:07:41.569968"], ["updated_at", "2015-09-11 20:07:41.573959"], ["id", 809335042]]  (6.1ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-09-11 20:07:41.587279"], ["updated_at", "2015-09-11 20:07:41.587279"]]  (6.0ms) COMMIT SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 33ms (Views: 0.4ms | ActiveRecord: 15.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-11 15:07:41 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.0ms) Completed 200 OK in 23ms (Views: 2.9ms | ActiveRecord: 2.5ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-09-11 15:07:41 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-09", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-09"], ["updated_at", "2015-09-11 20:07:41.939191"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.4ms | ActiveRecord: 3.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-11 15:07:42 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.3ms) Completed 200 OK in 22ms (Views: 3.3ms | ActiveRecord: 2.3ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-09-11 15:07:42 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Sep 11 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-09-11 20:07:42.257897"], ["updated_at", "2015-09-11 20:07:42.261372"], ["id", 614371357]]  (1.6ms) COMMIT SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.4ms | ActiveRecord: 4.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-11 15:07:42 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.8ms) Completed 200 OK in 21ms (Views: 2.6ms | ActiveRecord: 2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.2ms) Completed 202 Accepted in 12ms (Views: 11.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (2.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (6.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.6ms) DELETE FROM "social_networking_comments" Fixture Insert (0.6ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-14 16:54:04', '2015-09-14 16:54:04', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-14', '2015-09-14 16:54:04', '2015-09-14 16:54:04', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-14 16:54:04.000000', '2015-09-14', '2015-09-14 16:54:04', '2015-09-14 16:54:04', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-14', '2015-09-14 16:54:04', '2015-09-14 16:54:04', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-14 16:54:04', '2015-09-14 16:54:04', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-14 16:54:04.000000', '2015-09-14', '2015-09-14 16:54:04', '2015-09-14 16:54:04', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-13', '2015-09-14 16:54:04', '2015-09-14 16:54:04', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-12', '2015-09-14 16:54:04', '2015-09-14 16:54:04', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-14 16:54:04.000000', '2015-09-14', '2015-09-14 16:54:04', '2015-09-14 16:54:04', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-14', '2015-09-14 16:54:04', '2015-09-14 16:54:04', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-14 16:54:04.000000', '2015-09-14', '2015-09-14 16:54:04', '2015-09-14 16:54:04', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-14', '2015-09-14 16:54:04', '2015-09-14 16:54:04', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-14 16:54:04.000000', '2015-09-14', '2015-09-14 16:54:04', '2015-09-14 16:54:04', 16804933, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-14 16:54:04', '2015-09-14 16:54:04', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-13 16:54:04.000000', '2015-09-14 16:54:04', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 16:54:04.000000', '2015-09-14 16:54:04', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-13 16:54:04.000000', '2015-09-14 16:54:04', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 16:54:04.000000', '2015-09-14 16:54:04', 316146702, 816972181, 700141617) Fixture Delete (0.6ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-14 16:54:04', '2015-09-14 16:54:04', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-14 16:54:04', '2015-09-14 16:54:04', 369066228, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-14 16:54:04', '2015-09-14 16:54:04', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-14 16:54:04', '2015-09-14 16:54:04', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-14 16:54:04', '2015-09-14 16:54:04', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-14 16:54:04', '2015-09-14 16:54:04', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-14 16:54:04', '2015-09-14 16:54:04', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-14 16:54:04', '2015-09-14 16:54:04', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-14 16:54:04', '2015-09-14 16:54:04', 183235640, 816972181) Fixture Delete (1.0ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.4ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-14 16:54:04', '2015-09-14 16:54:04', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 19ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 9ms (Views: 8.7ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (3.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.1ms) BEGIN  (15.7ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (6.4ms) COMMIT Migrating to AddParticipantFields (2)  (5.9ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.3ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (11.6ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (13.9ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (34.3ms) COMMIT Migrating to AddNullFalseToArms (5)  (11.5ms) BEGIN  (0.4ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.3ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (6.0ms) COMMIT Migrating to AddHasWozToArm (6)  (0.1ms) BEGIN  (15.2ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (32.7ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (11.3ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.2ms) BEGIN  (7.6ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.6ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (0.7ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (6.2ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (11.5ms) BEGIN  (13.0ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.1ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (11.0ms) BEGIN  (13.9ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.2ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (5.5ms) BEGIN  (18.4ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (1.0ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (6.0ms) BEGIN  (18.7ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (5.8ms) BEGIN  (20.1ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.1ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (6.3ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (5.7ms) BEGIN  (12.5ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.2ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (5.0ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (5.8ms) BEGIN  (18.3ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (5.8ms) BEGIN  (20.3ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.1ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (0.6ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (5.7ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (1.0ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (5.6ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (6.2ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.1ms) BEGIN  (6.5ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (10.8ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (14.2ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (6.1ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.1ms) BEGIN  (20.0ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (5.9ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.2ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (5.8ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.1ms) BEGIN  (7.1ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (11.8ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.3ms) BEGIN  (8.0ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (6.0ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (5.5ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2015-09-14 16:54:13.513976"], ["updated_at", "2015-09-14 16:54:13.513976"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2015-09-14 16:54:13.515744"], ["updated_at", "2015-09-14 16:54:13.515744"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2015-09-14 16:54:13.516940"], ["updated_at", "2015-09-14 16:54:13.516940"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2015-09-14 16:54:13.518017"], ["updated_at", "2015-09-14 16:54:13.518017"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2015-09-14 16:54:13.519226"], ["updated_at", "2015-09-14 16:54:13.519226"]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (5.7ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.1ms) BEGIN  (0.5ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (5.7ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (5.9ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.1ms) BEGIN SocialNetworking::Profile Load (0.6ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (5.9ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (6.5ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (6.0ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (6.1ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.1ms) BEGIN  (7.9ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (5.9ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (5.9ms) BEGIN  (0.7ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (6.0ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.2ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (5.6ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (5.5ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (6.0ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (6.0ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.1ms) BEGIN  (0.5ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (5.7ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.1ms) BEGIN  (6.8ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (6.0ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.1ms) BEGIN  (6.5ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (6.1ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.1ms) BEGIN  (6.8ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (6.5ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (5.8ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.2ms) BEGIN  (6.3ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (6.0ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (6.0ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.4ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.2ms) BEGIN  (6.6ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (5.7ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (3.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-14', '2015-09-14 16:54:22', '2015-09-14 16:54:22', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-14 16:54:22.000000', '2015-09-14', '2015-09-14 16:54:22', '2015-09-14 16:54:22', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-14', '2015-09-14 16:54:22', '2015-09-14 16:54:22', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-14 16:54:22', '2015-09-14 16:54:22', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-14 16:54:22.000000', '2015-09-14', '2015-09-14 16:54:22', '2015-09-14 16:54:22', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-13', '2015-09-14 16:54:22', '2015-09-14 16:54:22', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-12', '2015-09-14 16:54:22', '2015-09-14 16:54:22', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-14 16:54:22.000000', '2015-09-14', '2015-09-14 16:54:22', '2015-09-14 16:54:22', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-14', '2015-09-14 16:54:22', '2015-09-14 16:54:22', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-14 16:54:22.000000', '2015-09-14', '2015-09-14 16:54:22', '2015-09-14 16:54:22', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-14', '2015-09-14 16:54:22', '2015-09-14 16:54:22', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-14 16:54:22.000000', '2015-09-14', '2015-09-14 16:54:22', '2015-09-14 16:54:22', 16804933, 816972181)  (0.3ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-14 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-14 16:54:22.864116"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-07 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 16:54:22.872035"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-06 00:00:00.000000"], ["updated_at", "2015-09-14 16:54:22.875318"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-14 16:54:22', '2015-09-14 16:54:22', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-14 16:54:22', '2015-09-14 16:54:22', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-13 16:54:22.000000', '2015-09-14 16:54:22', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 16:54:22.000000', '2015-09-14 16:54:22', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-13 16:54:22.000000', '2015-09-14 16:54:22', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 16:54:22.000000', '2015-09-14 16:54:22', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-14 16:54:22', '2015-09-14 16:54:22', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-14 16:54:22', '2015-09-14 16:54:22', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-14 16:54:22', '2015-09-14 16:54:22', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-14 16:54:22', '2015-09-14 16:54:22', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-14 16:54:22', '2015-09-14 16:54:22', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-14 16:54:22', '2015-09-14 16:54:22', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-14 16:54:22', '2015-09-14 16:54:22', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-14 16:54:22', '2015-09-14 16:54:22', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-14 16:54:22', '2015-09-14 16:54:22', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-14 16:54:22', '2015-09-14 16:54:22', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-14 16:54:22.951627"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 16:54:22.959850"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.2ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-06 00:00:00.000000"], ["updated_at", "2015-09-14 16:54:22.962984"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.5ms) SocialNetworking::Mailer#notify: processed outbound mail in 218.9ms Sent mail to obama@ex.co (8.4ms) Date: Mon, 14 Sep 2015 11:54:23 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55f6fbbf304ba_166bc3ff70cc6020841877@vpn-165-124-162-36.vpn.northwestern.edu.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (2.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-14 16:54:23.510802"], ["updated_at", "2015-09-14 16:54:23.510802"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-14 16:54:23.513968"], ["updated_at", "2015-09-14 16:54:23.513968"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-14 16:54:23.524123"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 16:54:23.537161"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-06 00:00:00.000000"], ["updated_at", "2015-09-14 16:54:23.539991"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-09-14 16:54:23.544913"], ["updated_at", "2015-09-14 16:54:23.544913"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-14"], ["completed_at", "2015-09-12 00:00:00.000000"], ["created_at", "2015-09-14 16:54:23.549081"], ["updated_at", "2015-09-14 16:54:23.549081"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-15"], ["created_at", "2015-09-14 16:54:23.555077"], ["updated_at", "2015-09-14 16:54:23.555077"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-09-14"], ["created_at", "2015-09-14 16:54:23.559015"], ["updated_at", "2015-09-14 16:54:23.559015"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-09-14 16:54:23.562861"], ["updated_at", "2015-09-14 16:54:23.562861"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-14 16:54:23.565608') AND ("social_networking_goals"."due_on" >= '2015-09-13 16:54:23.565641')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-14 16:54:23.568219') AND ("social_networking_goals"."due_on" >= '2015-09-13 16:54:23.568238') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-14 16:54:23.571018') AND ("social_networking_goals"."due_on" >= '2015-09-13 16:54:23.571039')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 16:54:23.574740"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-14 23:59:59.999999' AND created_at >= '2015-09-14 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-14 16:54:23.579590"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-14 23:59:59.999999' AND created_at >= '2015-09-14 00:00:00.000000')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 16:54:23.587317"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-06 00:00:00.000000"], ["updated_at", "2015-09-14 16:54:23.592097"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-09-14 16:54:23.633738"], ["updated_at", "2015-09-14 16:54:23.633738"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-14 16:54:23.638407"], ["updated_at", "2015-09-14 16:54:23.638407"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-14 16:54:23.640969"], ["updated_at", "2015-09-14 16:54:23.640969"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-14 16:54:23.691790"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 16:54:23.700174"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-07 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-14 11:54:24 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.6ms) Completed 200 OK in 105ms (Views: 76.8ms | ActiveRecord: 4.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-14 11:54:25 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-14 11:54:25 -0500 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-09-14 11:54:25 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-12", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (1.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-12"], ["updated_at", "2015-09-14 16:54:25.424582"], ["id", 53334230]]  (5.8ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 19ms (Views: 0.3ms | ActiveRecord: 8.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-14 11:54:25 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 17ms (Views: 1.8ms | ActiveRecord: 2.3ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-09-14 11:54:25 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-28", "goal"=>{"description"=>"all of the things"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-28"], ["created_at", "2015-09-14 16:54:25.679654"], ["updated_at", "2015-09-14 16:54:25.679654"]]  (1.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-09-14 16:54:25.684432"], ["updated_at", "2015-09-14 16:54:25.684432"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.4ms | ActiveRecord: 3.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-14 11:54:25 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 16ms (Views: 1.9ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-09-14 11:54:25 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Sep 14 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-09-14 16:54:25.872230"], ["updated_at", "2015-09-14 16:54:25.874701"], ["id", 809335042]]  (1.3ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-09-14 16:54:25.879807"], ["updated_at", "2015-09-14 16:54:25.879807"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 3.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-14 11:54:25 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-14 11:54:26 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 18ms (Views: 2.4ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-09-14 11:54:26 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Sep 14 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-09-14 16:54:26.173748"], ["updated_at", "2015-09-14 16:54:26.176281"], ["id", 614371357]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (1.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-14 16:54:26', '2015-09-14 16:54:26', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-14', '2015-09-14 16:54:26', '2015-09-14 16:54:26', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-14 16:54:26.000000', '2015-09-14', '2015-09-14 16:54:26', '2015-09-14 16:54:26', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-14', '2015-09-14 16:54:26', '2015-09-14 16:54:26', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-14 16:54:26', '2015-09-14 16:54:26', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-14 16:54:26.000000', '2015-09-14', '2015-09-14 16:54:26', '2015-09-14 16:54:26', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-13', '2015-09-14 16:54:26', '2015-09-14 16:54:26', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-12', '2015-09-14 16:54:26', '2015-09-14 16:54:26', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-14 16:54:26.000000', '2015-09-14', '2015-09-14 16:54:26', '2015-09-14 16:54:26', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-14', '2015-09-14 16:54:26', '2015-09-14 16:54:26', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-14 16:54:26.000000', '2015-09-14', '2015-09-14 16:54:26', '2015-09-14 16:54:26', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-14', '2015-09-14 16:54:26', '2015-09-14 16:54:26', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-14 16:54:26.000000', '2015-09-14', '2015-09-14 16:54:26', '2015-09-14 16:54:26', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-14 16:54:26', '2015-09-14 16:54:26', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-13 16:54:26.000000', '2015-09-14 16:54:26', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 16:54:26.000000', '2015-09-14 16:54:26', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-13 16:54:26.000000', '2015-09-14 16:54:26', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 16:54:26.000000', '2015-09-14 16:54:26', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-14 16:54:26', '2015-09-14 16:54:26', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-14 16:54:26', '2015-09-14 16:54:26', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-14 16:54:26', '2015-09-14 16:54:26', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-14 16:54:26', '2015-09-14 16:54:26', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-14 16:54:26', '2015-09-14 16:54:26', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-14 16:54:26', '2015-09-14 16:54:26', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-14 16:54:26', '2015-09-14 16:54:26', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-14 16:54:26', '2015-09-14 16:54:26', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-14 16:54:26', '2015-09-14 16:54:26', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-14 16:54:26', '2015-09-14 16:54:26', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (2.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.5ms) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-14 16:54:26.511896"], ["updated_at", "2015-09-14 16:54:26.511896"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-14 16:54:26.514574"], ["updated_at", "2015-09-14 16:54:26.514574"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-14 16:54:26.522604"], ["updated_at", "2015-09-14 16:54:26.522604"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-14 16:54:26.525017"], ["updated_at", "2015-09-14 16:54:26.525017"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-14 16:54:26.536022"], ["updated_at", "2015-09-14 16:54:26.536022"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-14 16:54:26.538182"], ["updated_at", "2015-09-14 16:54:26.538182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-14 16:54:26.543761"], ["updated_at", "2015-09-14 16:54:26.543761"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-14 16:54:26.545855"], ["updated_at", "2015-09-14 16:54:26.545855"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 10ms (Views: 9.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (1.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-14 16:55:15', '2015-09-14 16:55:15', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-14', '2015-09-14 16:55:15', '2015-09-14 16:55:15', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-14 16:55:15.000000', '2015-09-14', '2015-09-14 16:55:15', '2015-09-14 16:55:15', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-14', '2015-09-14 16:55:15', '2015-09-14 16:55:15', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-14 16:55:15', '2015-09-14 16:55:15', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-14 16:55:15.000000', '2015-09-14', '2015-09-14 16:55:15', '2015-09-14 16:55:15', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-13', '2015-09-14 16:55:15', '2015-09-14 16:55:15', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-12', '2015-09-14 16:55:15', '2015-09-14 16:55:15', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-14 16:55:15.000000', '2015-09-14', '2015-09-14 16:55:15', '2015-09-14 16:55:15', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-14', '2015-09-14 16:55:15', '2015-09-14 16:55:15', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-14 16:55:15.000000', '2015-09-14', '2015-09-14 16:55:15', '2015-09-14 16:55:15', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-14', '2015-09-14 16:55:15', '2015-09-14 16:55:15', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-14 16:55:15.000000', '2015-09-14', '2015-09-14 16:55:15', '2015-09-14 16:55:15', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-14 16:55:15', '2015-09-14 16:55:15', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-13 16:55:15.000000', '2015-09-14 16:55:15', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 16:55:15.000000', '2015-09-14 16:55:15', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-13 16:55:15.000000', '2015-09-14 16:55:15', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 16:55:15.000000', '2015-09-14 16:55:15', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-14 16:55:15', '2015-09-14 16:55:15', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-14 16:55:15', '2015-09-14 16:55:15', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-14 16:55:15', '2015-09-14 16:55:15', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-14 16:55:15', '2015-09-14 16:55:15', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-14 16:55:15', '2015-09-14 16:55:15', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-14 16:55:15', '2015-09-14 16:55:15', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-14 16:55:15', '2015-09-14 16:55:15', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-14 16:55:15', '2015-09-14 16:55:15', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-14 16:55:15', '2015-09-14 16:55:15', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-14 16:55:15', '2015-09-14 16:55:15', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 6ms (Views: 0.2ms | ActiveRecord: 1.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (2.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.4ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-07 00:00:00.000000') Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 16:55:26.885386"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-06 00:00:00.000000"], ["updated_at", "2015-09-14 16:55:26.891672"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-07 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-14 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-14 16:55:26.931067"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-15"], ["created_at", "2015-09-14 16:55:26.942611"], ["updated_at", "2015-09-14 16:55:26.942611"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-09-14 16:55:26.946300"], ["updated_at", "2015-09-14 16:55:26.946300"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-14"], ["completed_at", "2015-09-12 00:00:00.000000"], ["created_at", "2015-09-14 16:55:26.953691"], ["updated_at", "2015-09-14 16:55:26.953691"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-14 16:55:26', '2015-09-14 16:55:26', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-14', '2015-09-14 16:55:26', '2015-09-14 16:55:26', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-14 16:55:26.000000', '2015-09-14', '2015-09-14 16:55:26', '2015-09-14 16:55:26', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-14', '2015-09-14 16:55:26', '2015-09-14 16:55:26', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-14 16:55:26', '2015-09-14 16:55:26', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-14 16:55:26.000000', '2015-09-14', '2015-09-14 16:55:26', '2015-09-14 16:55:26', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-13', '2015-09-14 16:55:26', '2015-09-14 16:55:26', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-12', '2015-09-14 16:55:26', '2015-09-14 16:55:26', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-14 16:55:26.000000', '2015-09-14', '2015-09-14 16:55:26', '2015-09-14 16:55:26', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-14', '2015-09-14 16:55:26', '2015-09-14 16:55:26', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-14 16:55:26.000000', '2015-09-14', '2015-09-14 16:55:26', '2015-09-14 16:55:26', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-14', '2015-09-14 16:55:26', '2015-09-14 16:55:26', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-14 16:55:26.000000', '2015-09-14', '2015-09-14 16:55:26', '2015-09-14 16:55:26', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-14 16:55:26', '2015-09-14 16:55:26', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-13 16:55:26.000000', '2015-09-14 16:55:26', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 16:55:26.000000', '2015-09-14 16:55:26', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-13 16:55:26.000000', '2015-09-14 16:55:26', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 16:55:26.000000', '2015-09-14 16:55:26', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-14 16:55:26', '2015-09-14 16:55:26', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-14 16:55:26', '2015-09-14 16:55:26', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-14 16:55:26', '2015-09-14 16:55:26', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-14 16:55:26', '2015-09-14 16:55:26', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-14 16:55:26', '2015-09-14 16:55:26', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-14 16:55:26', '2015-09-14 16:55:26', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-14 16:55:26', '2015-09-14 16:55:26', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-14 16:55:26', '2015-09-14 16:55:26', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-14 16:55:26', '2015-09-14 16:55:26', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-14 16:55:26', '2015-09-14 16:55:26', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-14 16:55:27.018386') AND ("social_networking_goals"."due_on" >= '2015-09-13 16:55:27.018430') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-14 16:55:27.023458') AND ("social_networking_goals"."due_on" >= '2015-09-13 16:55:27.023477')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-14 16:55:27.025357') AND ("social_networking_goals"."due_on" >= '2015-09-13 16:55:27.025377')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-09-14 16:55:27.028928"], ["updated_at", "2015-09-14 16:55:27.028928"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-09-14"], ["created_at", "2015-09-14 16:55:27.032733"], ["updated_at", "2015-09-14 16:55:27.032733"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (4.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 16:55:27.295044"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 16:55:27.302900"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-06 00:00:00.000000"], ["updated_at", "2015-09-14 16:55:27.305496"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-07 00:00:00.000000')  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-14 23:59:59.999999' AND created_at >= '2015-09-14 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-14 16:55:27.311946"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-14 23:59:59.999999' AND created_at >= '2015-09-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.5ms) SocialNetworking::Mailer#notify: processed outbound mail in 213.4ms Sent mail to obama@ex.co (8.4ms) Date: Mon, 14 Sep 2015 11:55:27 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55f6fbffd1c3b_167463ffb588601f839860@vpn-165-124-162-36.vpn.northwestern.edu.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-14 11:55:28 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.8ms) Completed 200 OK in 100ms (Views: 66.9ms | ActiveRecord: 6.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-14 11:55:28 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-14 11:55:28 -0500 SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-09-14 11:55:28 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Sep 14 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-09-14 16:55:28.845984"], ["updated_at", "2015-09-14 16:55:28.865922"], ["id", 809335042]]  (0.5ms) COMMIT  (0.3ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-09-14 16:55:28.873743"], ["updated_at", "2015-09-14 16:55:28.873743"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 35ms (Views: 0.3ms | ActiveRecord: 6.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-14 11:55:28 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 21ms (Views: 1.7ms | ActiveRecord: 2.9ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-09-14 11:55:29 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-28", "goal"=>{"description"=>"all of the things"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-28"], ["created_at", "2015-09-14 16:55:29.182910"], ["updated_at", "2015-09-14 16:55:29.182910"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-09-14 16:55:29.186436"], ["updated_at", "2015-09-14 16:55:29.186436"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 2.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-14 11:55:29 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 15ms (Views: 1.7ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-09-14 11:55:29 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Sep 14 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-09-14 16:55:29.377146"], ["updated_at", "2015-09-14 16:55:29.379962"], ["id", 614371357]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.5ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-14 11:55:29 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 14ms (Views: 1.8ms | ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-14 11:55:29 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 15ms (Views: 1.6ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-09-14 11:55:29 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-12", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-12"], ["updated_at", "2015-09-14 16:55:29.748016"], ["id", 53334230]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (1.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-14', '2015-09-14 16:55:29', '2015-09-14 16:55:29', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-14 16:55:29.000000', '2015-09-14', '2015-09-14 16:55:29', '2015-09-14 16:55:29', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-14', '2015-09-14 16:55:29', '2015-09-14 16:55:29', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-14 16:55:29', '2015-09-14 16:55:29', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-14 16:55:29.000000', '2015-09-14', '2015-09-14 16:55:29', '2015-09-14 16:55:29', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-13', '2015-09-14 16:55:29', '2015-09-14 16:55:29', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-12', '2015-09-14 16:55:29', '2015-09-14 16:55:29', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-14 16:55:29.000000', '2015-09-14', '2015-09-14 16:55:29', '2015-09-14 16:55:29', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-14', '2015-09-14 16:55:29', '2015-09-14 16:55:29', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-14 16:55:29.000000', '2015-09-14', '2015-09-14 16:55:29', '2015-09-14 16:55:29', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-14', '2015-09-14 16:55:29', '2015-09-14 16:55:29', 318784238, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-14 16:55:29.000000', '2015-09-14', '2015-09-14 16:55:29', '2015-09-14 16:55:29', 16804933, 816972181)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-07 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 16:55:29.840410"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-06 00:00:00.000000"], ["updated_at", "2015-09-14 16:55:29.843906"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-14 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-14 16:55:29.850704"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.8ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 16:55:30.006951"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-14 16:55:30.020853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.1ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.5ms) Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-14 16:55:30', '2015-09-14 16:55:30', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-14 16:55:30', '2015-09-14 16:55:30', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-13 16:55:30.000000', '2015-09-14 16:55:30', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 16:55:30.000000', '2015-09-14 16:55:30', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-13 16:55:30.000000', '2015-09-14 16:55:30', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 16:55:30.000000', '2015-09-14 16:55:30', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-14 16:55:30', '2015-09-14 16:55:30', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-14 16:55:30', '2015-09-14 16:55:30', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-14 16:55:30', '2015-09-14 16:55:30', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-14 16:55:30', '2015-09-14 16:55:30', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-14 16:55:30', '2015-09-14 16:55:30', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-14 16:55:30', '2015-09-14 16:55:30', 781294868) Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-14 16:55:30', '2015-09-14 16:55:30', 932760744) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-14 16:55:30', '2015-09-14 16:55:30', 10484799) Fixture Delete (0.5ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-14 16:55:30', '2015-09-14 16:55:30', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-14 16:55:30', '2015-09-14 16:55:30', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.5ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-09-14 16:55:30.414282"], ["updated_at", "2015-09-14 16:55:30.414282"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-14 16:55:30.421388"], ["updated_at", "2015-09-14 16:55:30.421388"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-14 16:55:30.426579"], ["updated_at", "2015-09-14 16:55:30.426579"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-07 00:00:00.000000') Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 16:55:30.483971"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-06 00:00:00.000000"], ["updated_at", "2015-09-14 16:55:30.489206"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-14 16:55:30.497331"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-14 16:55:30.610744"], ["updated_at", "2015-09-14 16:55:30.610744"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-14 16:55:30.613499"], ["updated_at", "2015-09-14 16:55:30.613499"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-14 16:55:30.619584"], ["updated_at", "2015-09-14 16:55:30.619584"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-14 16:55:30.621969"], ["updated_at", "2015-09-14 16:55:30.621969"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-14 16:55:30.627250"], ["updated_at", "2015-09-14 16:55:30.627250"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-14 16:55:30.629246"], ["updated_at", "2015-09-14 16:55:30.629246"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-14 16:55:30.638620"], ["updated_at", "2015-09-14 16:55:30.638620"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-14 16:55:30.640931"], ["updated_at", "2015-09-14 16:55:30.640931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-14 16:55:30.675018"], ["updated_at", "2015-09-14 16:55:30.675018"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-14 16:55:30.678041"], ["updated_at", "2015-09-14 16:55:30.678041"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 21ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 20ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML SocialNetworking::SharedItem Load (1.0ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 24ms (Views: 0.3ms | ActiveRecord: 2.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 18ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 20ms (Views: 0.2ms | ActiveRecord: 1.8ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML SocialNetworking::SharedItem Load (0.6ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 19ms (Views: 0.5ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 17ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 20ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] Completed 404 Not Found in 21ms (Views: 0.3ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 18ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 18ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 2ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 19ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 19ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 15ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 17ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 16ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", nil]] Completed 404 Not Found in 14ms (Views: 0.2ms | ActiveRecord: 0.6ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 16ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 21ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 19ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 LIMIT 1 [["id", nil]] Completed 404 Not Found in 14ms (Views: 0.3ms | ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 17ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 22ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 1ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML SocialNetworking::OnTheMindStatement Load (0.6ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 5]] Completed 404 Not Found in 18ms (Views: 0.2ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 17ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 16ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.7ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" IS NULL AND "social_networking_likes"."item_type" IS NULL AND "social_networking_likes"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 44ms (Views: 0.5ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 12ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 15ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" IS NULL AND "social_networking_likes"."item_type" IS NULL AND "social_networking_likes"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 35ms (Views: 0.2ms | ActiveRecord: 1.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 16ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" IS NULL AND "social_networking_likes"."item_type" IS NULL AND "social_networking_likes"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 42ms (Views: 0.2ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" IS NULL AND "social_networking_likes"."item_type" IS NULL AND "social_networking_likes"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 37ms (Views: 0.3ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" IS NULL AND "social_networking_likes"."item_type" IS NULL AND "social_networking_likes"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 41ms (Views: 0.3ms | ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" IS NULL AND "social_networking_likes"."item_type" IS NULL AND "social_networking_likes"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 35ms (Views: 0.2ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML  (0.2ms) SAVEPOINT active_record_1 Participant Load (1.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" IS NULL AND "social_networking_likes"."item_type" IS NULL AND "social_networking_likes"."participant_id" = 1) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 38ms (Views: 0.4ms | ActiveRecord: 2.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.7ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" IS NULL AND "social_networking_likes"."item_type" IS NULL AND "social_networking_likes"."participant_id" = 1) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 35ms (Views: 0.2ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 16ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 19ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 12ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (7.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-14 18:40:10', '2015-09-14 18:40:10', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-14', '2015-09-14 18:40:10', '2015-09-14 18:40:10', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-14 18:40:10.000000', '2015-09-14', '2015-09-14 18:40:10', '2015-09-14 18:40:10', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-14', '2015-09-14 18:40:10', '2015-09-14 18:40:10', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-14 18:40:10', '2015-09-14 18:40:10', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-14 18:40:10.000000', '2015-09-14', '2015-09-14 18:40:10', '2015-09-14 18:40:10', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-13', '2015-09-14 18:40:10', '2015-09-14 18:40:10', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-12', '2015-09-14 18:40:10', '2015-09-14 18:40:10', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-14 18:40:10.000000', '2015-09-14', '2015-09-14 18:40:10', '2015-09-14 18:40:10', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-14', '2015-09-14 18:40:10', '2015-09-14 18:40:10', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-14 18:40:10.000000', '2015-09-14', '2015-09-14 18:40:10', '2015-09-14 18:40:10', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-14', '2015-09-14 18:40:10', '2015-09-14 18:40:10', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-14 18:40:10.000000', '2015-09-14', '2015-09-14 18:40:10', '2015-09-14 18:40:10', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-14 18:40:10', '2015-09-14 18:40:10', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-13 18:40:10.000000', '2015-09-14 18:40:10', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 18:40:10.000000', '2015-09-14 18:40:10', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-13 18:40:10.000000', '2015-09-14 18:40:10', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 18:40:10.000000', '2015-09-14 18:40:10', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-14 18:40:10', '2015-09-14 18:40:10', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-14 18:40:10', '2015-09-14 18:40:10', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-14 18:40:10', '2015-09-14 18:40:10', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-14 18:40:10', '2015-09-14 18:40:10', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-14 18:40:10', '2015-09-14 18:40:10', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-14 18:40:10', '2015-09-14 18:40:10', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-14 18:40:10', '2015-09-14 18:40:10', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-14 18:40:10', '2015-09-14 18:40:10', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-14 18:40:10', '2015-09-14 18:40:10', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-14 18:40:10', '2015-09-14 18:40:10', 809335042, 'SocialNetworking::Goal', 809335042)  (0.3ms) COMMIT  (1.6ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-07 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.6ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 18:40:10.310953"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-06 00:00:00.000000"], ["updated_at", "2015-09-14 18:40:10.315493"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-14 18:40:10.324033"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-14 18:40:10.337861"], ["updated_at", "2015-09-14 18:40:10.337861"]] SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-14 18:40:10.340613"], ["updated_at", "2015-09-14 18:40:10.340613"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-14 18:40:10.350110"], ["updated_at", "2015-09-14 18:40:10.350110"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-14 18:40:10.353050"], ["updated_at", "2015-09-14 18:40:10.353050"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-14 18:40:10.358747"], ["updated_at", "2015-09-14 18:40:10.358747"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-14 18:40:10.361025"], ["updated_at", "2015-09-14 18:40:10.361025"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-14 18:40:10.378220"], ["updated_at", "2015-09-14 18:40:10.378220"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-14 18:40:10.380488"], ["updated_at", "2015-09-14 18:40:10.380488"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (2.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 12ms (Views: 11.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-07 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 18:40:11.041048"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-06 00:00:00.000000"], ["updated_at", "2015-09-14 18:40:11.044666"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-14 18:40:11.051513"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-14 18:40:11.057838') AND ("social_networking_goals"."due_on" >= '2015-09-13 18:40:11.057867') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-14 18:40:11.061301') AND ("social_networking_goals"."due_on" >= '2015-09-13 18:40:11.061320')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-14 18:40:11.063010') AND ("social_networking_goals"."due_on" >= '2015-09-13 18:40:11.063028')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-15"], ["created_at", "2015-09-14 18:40:11.068927"], ["updated_at", "2015-09-14 18:40:11.068927"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-09-14 18:40:11.073100"], ["updated_at", "2015-09-14 18:40:11.073100"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-14"], ["completed_at", "2015-09-12 00:00:00.000000"], ["created_at", "2015-09-14 18:40:11.077059"], ["updated_at", "2015-09-14 18:40:11.077059"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-09-14 18:40:11.081637"], ["updated_at", "2015-09-14 18:40:11.081637"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-09-14"], ["created_at", "2015-09-14 18:40:11.086238"], ["updated_at", "2015-09-14 18:40:11.086238"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-09-14 18:40:11.097104"], ["updated_at", "2015-09-14 18:40:11.097104"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-14 18:40:11.103468"], ["updated_at", "2015-09-14 18:40:11.103468"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-14 18:40:11.106804"], ["updated_at", "2015-09-14 18:40:11.106804"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 18:40:11.318164"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-14 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-14 18:40:11.334721"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-14 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.6ms) SocialNetworking::Mailer#notify: processed outbound mail in 225.9ms Sent mail to obama@ex.co (8.7ms) Date: Mon, 14 Sep 2015 13:40:11 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55f7148bb898b_13613fd79dc6020016291@vpn-165-124-162-36.vpn.northwestern.edu.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 18:40:11.767193"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-06 00:00:00.000000"], ["updated_at", "2015-09-14 18:40:11.770832"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-14 18:40:11.777571"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-14 13:40:12 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.7ms) Completed 200 OK in 111ms (Views: 88.3ms | ActiveRecord: 4.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-14 13:40:13 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-14 13:40:13 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-09-14 13:40:13 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Sep 14 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-09-14 18:40:13.428789"], ["updated_at", "2015-09-14 18:40:13.431914"], ["id", 614371357]]  (5.7ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 7.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-14 13:40:13 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 14ms (Views: 1.8ms | ActiveRecord: 1.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-14 13:40:13 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 1.6ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-09-14 13:40:13 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-28", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-28"], ["created_at", "2015-09-14 18:40:13.762087"], ["updated_at", "2015-09-14 18:40:13.762087"]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-09-14 18:40:13.766479"], ["updated_at", "2015-09-14 18:40:13.766479"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 2.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-14 13:40:13 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-09-14 13:40:13 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Sep 14 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-09-14 18:40:13.952382"], ["updated_at", "2015-09-14 18:40:13.954898"], ["id", 809335042]]  (1.3ms) COMMIT  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-09-14 18:40:13.959751"], ["updated_at", "2015-09-14 18:40:13.959751"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.4ms | ActiveRecord: 3.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-14 13:40:13 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 1.9ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-09-14 13:40:14 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-12", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-12"], ["updated_at", "2015-09-14 18:40:14.189058"], ["id", 53334230]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (7.4ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-14', '2015-09-14 18:40:14', '2015-09-14 18:40:14', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-14 18:40:14.000000', '2015-09-14', '2015-09-14 18:40:14', '2015-09-14 18:40:14', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-14', '2015-09-14 18:40:14', '2015-09-14 18:40:14', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-14 18:40:14', '2015-09-14 18:40:14', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-14 18:40:14.000000', '2015-09-14', '2015-09-14 18:40:14', '2015-09-14 18:40:14', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-13', '2015-09-14 18:40:14', '2015-09-14 18:40:14', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-12', '2015-09-14 18:40:14', '2015-09-14 18:40:14', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-14 18:40:14.000000', '2015-09-14', '2015-09-14 18:40:14', '2015-09-14 18:40:14', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-14', '2015-09-14 18:40:14', '2015-09-14 18:40:14', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-14 18:40:14.000000', '2015-09-14', '2015-09-14 18:40:14', '2015-09-14 18:40:14', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-14', '2015-09-14 18:40:14', '2015-09-14 18:40:14', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-14 18:40:14.000000', '2015-09-14', '2015-09-14 18:40:14', '2015-09-14 18:40:14', 16804933, 816972181)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-07 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 18:40:14.310570"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-06 00:00:00.000000"], ["updated_at", "2015-09-14 18:40:14.313546"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 18:40:14.318686"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-14 23:59:59.999999' AND created_at >= '2015-09-14 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-14 18:40:14.324258"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-14 23:59:59.999999' AND created_at >= '2015-09-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (1.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-14 18:40:14', '2015-09-14 18:40:14', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-14 18:40:14', '2015-09-14 18:40:14', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-13 18:40:14.000000', '2015-09-14 18:40:14', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 18:40:14.000000', '2015-09-14 18:40:14', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-13 18:40:14.000000', '2015-09-14 18:40:14', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 18:40:14.000000', '2015-09-14 18:40:14', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-14 18:40:14', '2015-09-14 18:40:14', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-14 18:40:14', '2015-09-14 18:40:14', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-14 18:40:14', '2015-09-14 18:40:14', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-14 18:40:14', '2015-09-14 18:40:14', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-14 18:40:14', '2015-09-14 18:40:14', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-14 18:40:14', '2015-09-14 18:40:14', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-14 18:40:14', '2015-09-14 18:40:14', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-14 18:40:14', '2015-09-14 18:40:14', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-14 18:40:14', '2015-09-14 18:40:14', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-14 18:40:14', '2015-09-14 18:40:14', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-14 18:40:14.504052"], ["updated_at", "2015-09-14 18:40:14.504052"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-14 18:40:14.507044"], ["updated_at", "2015-09-14 18:40:14.507044"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 17ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 7ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 27ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 20ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 23ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 17ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 500 Internal Server Error in 17ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (7.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-14 18:45:14', '2015-09-14 18:45:14', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-14', '2015-09-14 18:45:14', '2015-09-14 18:45:14', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-14 18:45:14.000000', '2015-09-14', '2015-09-14 18:45:14', '2015-09-14 18:45:14', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-14', '2015-09-14 18:45:14', '2015-09-14 18:45:14', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-14 18:45:14', '2015-09-14 18:45:14', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-14 18:45:14.000000', '2015-09-14', '2015-09-14 18:45:14', '2015-09-14 18:45:14', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-13', '2015-09-14 18:45:14', '2015-09-14 18:45:14', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-12', '2015-09-14 18:45:14', '2015-09-14 18:45:14', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-14 18:45:14.000000', '2015-09-14', '2015-09-14 18:45:14', '2015-09-14 18:45:14', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-14', '2015-09-14 18:45:14', '2015-09-14 18:45:14', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-14 18:45:14.000000', '2015-09-14', '2015-09-14 18:45:14', '2015-09-14 18:45:14', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-14', '2015-09-14 18:45:14', '2015-09-14 18:45:14', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-14 18:45:14.000000', '2015-09-14', '2015-09-14 18:45:14', '2015-09-14 18:45:14', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-14 18:45:14', '2015-09-14 18:45:14', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-13 18:45:14.000000', '2015-09-14 18:45:14', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 18:45:14.000000', '2015-09-14 18:45:14', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-13 18:45:14.000000', '2015-09-14 18:45:14', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 18:45:14.000000', '2015-09-14 18:45:14', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-14 18:45:14', '2015-09-14 18:45:14', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-14 18:45:14', '2015-09-14 18:45:14', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-14 18:45:14', '2015-09-14 18:45:14', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-14 18:45:14', '2015-09-14 18:45:14', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-14 18:45:14', '2015-09-14 18:45:14', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-14 18:45:14', '2015-09-14 18:45:14', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-14 18:45:14', '2015-09-14 18:45:14', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-14 18:45:14', '2015-09-14 18:45:14', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-14 18:45:14', '2015-09-14 18:45:14', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-14 18:45:14', '2015-09-14 18:45:14', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-14 13:45:15 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.1ms) Completed 200 OK in 141ms (Views: 82.6ms | ActiveRecord: 5.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-14 13:45:15 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-14 13:45:15 -0500 Started POST "/social_networking/goals" for 127.0.0.1 at 2015-09-14 13:45:15 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-28", "goal"=>{"description"=>"all of the things"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-28"], ["created_at", "2015-09-14 18:45:15.847241"], ["updated_at", "2015-09-14 18:45:15.847241"]]  (6.0ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-09-14 18:45:15.862824"], ["updated_at", "2015-09-14 18:45:15.862824"]]  (11.0ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 37ms (Views: 0.3ms | ActiveRecord: 21.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-14 13:45:15 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 17ms (Views: 1.9ms | ActiveRecord: 2.4ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-09-14 13:45:16 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Sep 14 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-09-14 18:45:16.034952"], ["updated_at", "2015-09-14 18:45:16.037496"], ["id", 809335042]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-09-14 18:45:16.042147"], ["updated_at", "2015-09-14 18:45:16.042147"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 2.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-14 13:45:16 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 17ms (Views: 1.8ms | ActiveRecord: 2.4ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-09-14 13:45:16 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-12", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-12"], ["updated_at", "2015-09-14 18:45:16.240474"], ["id", 53334230]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-14 13:45:16 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 17ms (Views: 1.8ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-14 13:45:16 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 27ms (Views: 2.0ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-09-14 13:45:16 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Sep 14 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-09-14 18:45:16.682821"], ["updated_at", "2015-09-14 18:45:16.685154"], ["id", 614371357]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (1.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-14 18:45:16', '2015-09-14 18:45:16', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-14', '2015-09-14 18:45:16', '2015-09-14 18:45:16', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-14 18:45:16.000000', '2015-09-14', '2015-09-14 18:45:16', '2015-09-14 18:45:16', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-14', '2015-09-14 18:45:16', '2015-09-14 18:45:16', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-14 18:45:16', '2015-09-14 18:45:16', 53334230, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-14 18:45:16.000000', '2015-09-14', '2015-09-14 18:45:16', '2015-09-14 18:45:16', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-13', '2015-09-14 18:45:16', '2015-09-14 18:45:16', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-12', '2015-09-14 18:45:16', '2015-09-14 18:45:16', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-14 18:45:16.000000', '2015-09-14', '2015-09-14 18:45:16', '2015-09-14 18:45:16', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-14', '2015-09-14 18:45:16', '2015-09-14 18:45:16', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-14 18:45:16.000000', '2015-09-14', '2015-09-14 18:45:16', '2015-09-14 18:45:16', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-14', '2015-09-14 18:45:16', '2015-09-14 18:45:16', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-14 18:45:16.000000', '2015-09-14', '2015-09-14 18:45:16', '2015-09-14 18:45:16', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-14 18:45:16', '2015-09-14 18:45:16', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-13 18:45:16.000000', '2015-09-14 18:45:16', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 18:45:16.000000', '2015-09-14 18:45:16', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-13 18:45:16.000000', '2015-09-14 18:45:16', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 18:45:16.000000', '2015-09-14 18:45:16', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-14 18:45:16', '2015-09-14 18:45:16', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-14 18:45:16', '2015-09-14 18:45:16', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-14 18:45:16', '2015-09-14 18:45:16', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-14 18:45:16', '2015-09-14 18:45:16', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-14 18:45:16', '2015-09-14 18:45:16', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-14 18:45:16', '2015-09-14 18:45:16', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-14 18:45:16', '2015-09-14 18:45:16', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-14 18:45:16', '2015-09-14 18:45:16', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-14 18:45:16', '2015-09-14 18:45:16', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-14 18:45:16', '2015-09-14 18:45:16', 809335042, 'SocialNetworking::Goal', 809335042)  (0.3ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-14 23:59:59.999999' AND created_at >= '2015-09-14 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-14 18:45:16.808083"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-14 23:59:59.999999' AND created_at >= '2015-09-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 18:45:16.813473"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 18:45:16.818368"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-06 00:00:00.000000"], ["updated_at", "2015-09-14 18:45:16.820667"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-14 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-14 18:45:16.832650"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-07 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 18:45:16.839611"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-06 00:00:00.000000"], ["updated_at", "2015-09-14 18:45:16.842579"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-09-14"], ["created_at", "2015-09-14 18:45:16.850830"], ["updated_at", "2015-09-14 18:45:16.850830"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-09-14 18:45:16.855055"], ["updated_at", "2015-09-14 18:45:16.855055"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-14"], ["completed_at", "2015-09-12 00:00:00.000000"], ["created_at", "2015-09-14 18:45:16.859167"], ["updated_at", "2015-09-14 18:45:16.859167"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-09-14 18:45:16.863244"], ["updated_at", "2015-09-14 18:45:16.863244"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-15"], ["created_at", "2015-09-14 18:45:16.868476"], ["updated_at", "2015-09-14 18:45:16.868476"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-14 18:45:16.874252') AND ("social_networking_goals"."due_on" >= '2015-09-13 18:45:16.874292')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-14 18:45:16.879694') AND ("social_networking_goals"."due_on" >= '2015-09-13 18:45:16.879721') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-14 18:45:16.882271') AND ("social_networking_goals"."due_on" >= '2015-09-13 18:45:16.882289')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-14 18:45:17.395960"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-07 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 18:45:17.407065"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (3.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.6ms) SocialNetworking::Mailer#notify: processed outbound mail in 240.9ms Sent mail to obama@ex.co (8.6ms) Date: Mon, 14 Sep 2015 13:45:17 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55f715bdc603b_17af3ffcb606020055324@vpn-165-124-162-36.vpn.northwestern.edu.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-14 18:45:17.920700"], ["updated_at", "2015-09-14 18:45:17.920700"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-14 18:45:17.923423"], ["updated_at", "2015-09-14 18:45:17.923423"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-14 18:45:18.455723"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 18:45:18.462515"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-06 00:00:00.000000"], ["updated_at", "2015-09-14 18:45:18.466136"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-14 18:45:18.528871"], ["updated_at", "2015-09-14 18:45:18.528871"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-14 18:45:18.531416"], ["updated_at", "2015-09-14 18:45:18.531416"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-14 18:45:18.538496"], ["updated_at", "2015-09-14 18:45:18.538496"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-14 18:45:18.540963"], ["updated_at", "2015-09-14 18:45:18.540963"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-14 18:45:18.552961"], ["updated_at", "2015-09-14 18:45:18.552961"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-14 18:45:18.555931"], ["updated_at", "2015-09-14 18:45:18.555931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-14 18:45:18.562222"], ["updated_at", "2015-09-14 18:45:18.562222"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-14 18:45:18.564549"], ["updated_at", "2015-09-14 18:45:18.564549"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-09-14 18:45:18.570170"], ["updated_at", "2015-09-14 18:45:18.570170"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-14 18:45:18.575996"], ["updated_at", "2015-09-14 18:45:18.575996"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-14 18:45:18.579603"], ["updated_at", "2015-09-14 18:45:18.579603"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-14 18:45:18.588242"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 18:45:18.596044"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-06 00:00:00.000000"], ["updated_at", "2015-09-14 18:45:18.599919"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.5ms) Completed 200 OK in 24ms (Views: 15.8ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 11ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (6.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-14 22:21:45', '2015-09-14 22:21:45', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-14', '2015-09-14 22:21:45', '2015-09-14 22:21:45', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-14 22:21:45.000000', '2015-09-14', '2015-09-14 22:21:45', '2015-09-14 22:21:45', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-14', '2015-09-14 22:21:45', '2015-09-14 22:21:45', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-14 22:21:45', '2015-09-14 22:21:45', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-14 22:21:45.000000', '2015-09-14', '2015-09-14 22:21:45', '2015-09-14 22:21:45', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-13', '2015-09-14 22:21:45', '2015-09-14 22:21:45', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-12', '2015-09-14 22:21:45', '2015-09-14 22:21:45', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-14 22:21:45.000000', '2015-09-14', '2015-09-14 22:21:45', '2015-09-14 22:21:45', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-14', '2015-09-14 22:21:45', '2015-09-14 22:21:45', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-14 22:21:45.000000', '2015-09-14', '2015-09-14 22:21:45', '2015-09-14 22:21:45', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-14', '2015-09-14 22:21:45', '2015-09-14 22:21:45', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-14 22:21:45.000000', '2015-09-14', '2015-09-14 22:21:45', '2015-09-14 22:21:45', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-14 22:21:45', '2015-09-14 22:21:45', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-13 22:21:45.000000', '2015-09-14 22:21:45', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 22:21:45.000000', '2015-09-14 22:21:45', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-13 22:21:45.000000', '2015-09-14 22:21:45', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 22:21:45.000000', '2015-09-14 22:21:45', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-14 22:21:45', '2015-09-14 22:21:45', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-14 22:21:45', '2015-09-14 22:21:45', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-14 22:21:45', '2015-09-14 22:21:45', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-14 22:21:45', '2015-09-14 22:21:45', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-14 22:21:45', '2015-09-14 22:21:45', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-14 22:21:45', '2015-09-14 22:21:45', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-14 22:21:45', '2015-09-14 22:21:45', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-14 22:21:45', '2015-09-14 22:21:45', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-14 22:21:45', '2015-09-14 22:21:45', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-14 22:21:45', '2015-09-14 22:21:45', 809335042, 'SocialNetworking::Goal', 809335042)  (6.1ms) COMMIT  (5.5ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-14 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-14 22:21:45.813375"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-07 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 22:21:45.820758"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-06 00:00:00.000000"], ["updated_at", "2015-09-14 22:21:45.823803"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-09-14"], ["created_at", "2015-09-14 22:21:45.829382"], ["updated_at", "2015-09-14 22:21:45.829382"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-09-14 22:21:45.833536"], ["updated_at", "2015-09-14 22:21:45.833536"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-14 22:21:45.836299') AND ("social_networking_goals"."due_on" >= '2015-09-13 22:21:45.836331')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-14 22:21:45.841710') AND ("social_networking_goals"."due_on" >= '2015-09-13 22:21:45.841738') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-14 22:21:45.844830') AND ("social_networking_goals"."due_on" >= '2015-09-13 22:21:45.844848')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-14"], ["completed_at", "2015-09-12 00:00:00.000000"], ["created_at", "2015-09-14 22:21:45.850147"], ["updated_at", "2015-09-14 22:21:45.850147"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-09-14 22:21:45.857408"], ["updated_at", "2015-09-14 22:21:45.857408"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-15"], ["created_at", "2015-09-14 22:21:45.861347"], ["updated_at", "2015-09-14 22:21:45.861347"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-09-14 22:21:45.895790"], ["updated_at", "2015-09-14 22:21:45.895790"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-14 22:21:45.902088"], ["updated_at", "2015-09-14 22:21:45.902088"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-14 22:21:45.906114"], ["updated_at", "2015-09-14 22:21:45.906114"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-14 22:21:45.916446"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 22:21:45.923973"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-06 00:00:00.000000"], ["updated_at", "2015-09-14 22:21:45.927422"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-14 22:21:45.939463"], ["updated_at", "2015-09-14 22:21:45.939463"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-14 22:21:45.942148"], ["updated_at", "2015-09-14 22:21:45.942148"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-14 22:21:45.963061"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 22:21:45.974626"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.7ms) SocialNetworking::Mailer#notify: processed outbound mail in 216.7ms Sent mail to obama@ex.co (9.3ms) Date: Mon, 14 Sep 2015 17:21:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55f7487a45817_79123fe105c601f8953d5@vpn-165-124-162-36.vpn.northwestern.edu.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-14 22:21:47.178956"], ["updated_at", "2015-09-14 22:21:47.178956"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-14 22:21:47.181510"], ["updated_at", "2015-09-14 22:21:47.181510"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-14 22:21:47.187025"], ["updated_at", "2015-09-14 22:21:47.187025"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-14 22:21:47.189472"], ["updated_at", "2015-09-14 22:21:47.189472"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-14 22:21:47.206517"], ["updated_at", "2015-09-14 22:21:47.206517"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-14 22:21:47.208590"], ["updated_at", "2015-09-14 22:21:47.208590"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-14 22:21:47.213595"], ["updated_at", "2015-09-14 22:21:47.213595"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-14 22:21:47.215776"], ["updated_at", "2015-09-14 22:21:47.215776"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-14 23:59:59.999999' AND created_at >= '2015-09-14 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-14 22:21:47.280521"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-14 23:59:59.999999' AND created_at >= '2015-09-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-07 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 22:21:47.286586"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-06 00:00:00.000000"], ["updated_at", "2015-09-14 22:21:47.289196"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-07 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 22:21:47.295871"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-14 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-14 22:21:47.304065"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-14 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-14 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-07 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-13 00:00:00.000000"], ["updated_at", "2015-09-14 22:21:47.312300"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-06 00:00:00.000000"], ["updated_at", "2015-09-14 22:21:47.315864"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-07 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-14 17:21:48 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.5ms) Completed 200 OK in 136ms (Views: 108.9ms | ActiveRecord: 6.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-14 17:21:48 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-14 17:21:48 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-09-14 17:21:49 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-12", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-12"], ["updated_at", "2015-09-14 22:21:49.078962"], ["id", 53334230]]  (6.2ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 8.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-14 17:21:49 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 15ms (Views: 2.0ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-14 17:21:49 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 17ms (Views: 2.2ms | ActiveRecord: 2.1ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-09-14 17:21:49 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-28", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-28"], ["created_at", "2015-09-14 22:21:49.437559"], ["updated_at", "2015-09-14 22:21:49.437559"]]  (1.3ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-09-14 22:21:49.443578"], ["updated_at", "2015-09-14 22:21:49.443578"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-14 17:21:49 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.8ms) Completed 200 OK in 18ms (Views: 2.4ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-09-14 17:21:49 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Sep 14 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-09-14 22:21:49.634584"], ["updated_at", "2015-09-14 22:21:49.637669"], ["id", 809335042]]  (1.3ms) COMMIT  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-09-14 22:21:49.643189"], ["updated_at", "2015-09-14 22:21:49.643189"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.4ms | ActiveRecord: 3.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-14 17:21:49 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.8ms) Completed 200 OK in 20ms (Views: 2.9ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-09-14 17:21:49 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Sep 14 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-09-14 22:21:49.931963"], ["updated_at", "2015-09-14 22:21:49.934605"], ["id", 614371357]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 2.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 17ms (Views: 15.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (6.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-15', '2015-09-15 14:52:20', '2015-09-15 14:52:20', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-15 14:52:20.000000', '2015-09-15', '2015-09-15 14:52:20', '2015-09-15 14:52:20', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-15', '2015-09-15 14:52:20', '2015-09-15 14:52:20', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-15 14:52:20', '2015-09-15 14:52:20', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-15 14:52:20.000000', '2015-09-15', '2015-09-15 14:52:20', '2015-09-15 14:52:20', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-14', '2015-09-15 14:52:20', '2015-09-15 14:52:20', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-13', '2015-09-15 14:52:20', '2015-09-15 14:52:20', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-15 14:52:20.000000', '2015-09-15', '2015-09-15 14:52:20', '2015-09-15 14:52:20', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-15', '2015-09-15 14:52:20', '2015-09-15 14:52:20', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-15 14:52:20.000000', '2015-09-15', '2015-09-15 14:52:20', '2015-09-15 14:52:20', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-15', '2015-09-15 14:52:20', '2015-09-15 14:52:20', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-15 14:52:20.000000', '2015-09-15', '2015-09-15 14:52:20', '2015-09-15 14:52:20', 16804933, 816972181)  (6.0ms) COMMIT  (6.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-08 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-15 14:52:20.690733"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-15 14:52:20.694288"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-08 00:00:00.000000')  (0.3ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-15 14:52:20.702480"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-15 23:59:59.999999' AND created_at >= '2015-09-15 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-15 00:00:00.000000"], ["updated_at", "2015-09-15 14:52:20.710547"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-15 23:59:59.999999' AND created_at >= '2015-09-15 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (8.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-15 14:52:20', '2015-09-15 14:52:20', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.6ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-15 14:52:20', '2015-09-15 14:52:20', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 14:52:20.000000', '2015-09-15 14:52:20', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-15 14:52:20.000000', '2015-09-15 14:52:20', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 14:52:20.000000', '2015-09-15 14:52:20', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-15 14:52:20.000000', '2015-09-15 14:52:20', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-15 14:52:20', '2015-09-15 14:52:20', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-15 14:52:20', '2015-09-15 14:52:20', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-15 14:52:20', '2015-09-15 14:52:20', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-15 14:52:20', '2015-09-15 14:52:20', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-15 14:52:20', '2015-09-15 14:52:20', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-15 14:52:20', '2015-09-15 14:52:20', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-15 14:52:20', '2015-09-15 14:52:20', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-15 14:52:20', '2015-09-15 14:52:20', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-15 14:52:20', '2015-09-15 14:52:20', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-15 14:52:20', '2015-09-15 14:52:20', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-15 09:52:22 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.0ms) Completed 200 OK in 173ms (Views: 140.1ms | ActiveRecord: 5.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-15 09:52:22 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-15 09:52:22 -0500  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-15 09:52:23 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 18ms (Views: 2.1ms | ActiveRecord: 2.2ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-09-15 09:52:23 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Sep 15 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-09-15 14:52:23.137703"], ["updated_at", "2015-09-15 14:52:23.141491"], ["id", 809335042]]  (6.0ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-09-15 14:52:23.153916"], ["updated_at", "2015-09-15 14:52:23.153916"]]  (6.1ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 30ms (Views: 0.5ms | ActiveRecord: 14.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-15 09:52:23 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 13ms (Views: 1.9ms | ActiveRecord: 1.6ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-09-15 09:52:23 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Sep 15 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-09-15 14:52:23.304030"], ["updated_at", "2015-09-15 14:52:23.307267"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 4.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-15 09:52:23 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 1.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-09-15 09:52:23 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-29", "goal"=>{"description"=>"all of the things"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-29"], ["created_at", "2015-09-15 14:52:23.522414"], ["updated_at", "2015-09-15 14:52:23.522414"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-09-15 14:52:23.526681"], ["updated_at", "2015-09-15 14:52:23.526681"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-15 09:52:23 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 17ms (Views: 2.1ms | ActiveRecord: 2.0ms) Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-15 09:52:23 -0500 SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-09-15 09:52:23 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-13", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-13"], ["updated_at", "2015-09-15 14:52:23.804744"], ["id", 53334230]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 2.8ms)  (0.2ms) ROLLBACK  (1.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.1ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-15 14:52:23', '2015-09-15 14:52:23', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-15', '2015-09-15 14:52:23', '2015-09-15 14:52:23', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-15 14:52:23.000000', '2015-09-15', '2015-09-15 14:52:23', '2015-09-15 14:52:23', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-15', '2015-09-15 14:52:23', '2015-09-15 14:52:23', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-15 14:52:23', '2015-09-15 14:52:23', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-15 14:52:23.000000', '2015-09-15', '2015-09-15 14:52:23', '2015-09-15 14:52:23', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-14', '2015-09-15 14:52:23', '2015-09-15 14:52:23', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-13', '2015-09-15 14:52:23', '2015-09-15 14:52:23', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-15 14:52:23.000000', '2015-09-15', '2015-09-15 14:52:23', '2015-09-15 14:52:23', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-15', '2015-09-15 14:52:23', '2015-09-15 14:52:23', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-15 14:52:23.000000', '2015-09-15', '2015-09-15 14:52:23', '2015-09-15 14:52:23', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-15', '2015-09-15 14:52:23', '2015-09-15 14:52:23', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-15 14:52:23.000000', '2015-09-15', '2015-09-15 14:52:23', '2015-09-15 14:52:23', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-15 14:52:23', '2015-09-15 14:52:23', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 14:52:23.000000', '2015-09-15 14:52:23', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-15 14:52:23.000000', '2015-09-15 14:52:23', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 14:52:23.000000', '2015-09-15 14:52:23', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-15 14:52:23.000000', '2015-09-15 14:52:23', 316146702, 816972181, 700141617) Fixture Delete (0.6ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-15 14:52:23', '2015-09-15 14:52:23', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-15 14:52:23', '2015-09-15 14:52:23', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-15 14:52:23', '2015-09-15 14:52:23', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-15 14:52:23', '2015-09-15 14:52:23', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-15 14:52:23', '2015-09-15 14:52:23', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-15 14:52:23', '2015-09-15 14:52:23', 781294868) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-15 14:52:23', '2015-09-15 14:52:23', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-15 14:52:23', '2015-09-15 14:52:23', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-15 14:52:23', '2015-09-15 14:52:23', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-15 14:52:23', '2015-09-15 14:52:23', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.8ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.4ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.7ms) SocialNetworking::Mailer#notify: processed outbound mail in 239.3ms Sent mail to obama@ex.co (9.7ms) Date: Tue, 15 Sep 2015 09:52:24 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55f830a86a42d_242c3fd3894601f8716ab@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-15 14:52:24.442203"], ["updated_at", "2015-09-15 14:52:24.442203"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-15 14:52:24.445662"], ["updated_at", "2015-09-15 14:52:24.445662"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-15 14:52:24.507528"], ["updated_at", "2015-09-15 14:52:24.507528"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-15 14:52:24.510379"], ["updated_at", "2015-09-15 14:52:24.510379"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-15 14:52:24.516948"], ["updated_at", "2015-09-15 14:52:24.516948"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-15 14:52:24.519683"], ["updated_at", "2015-09-15 14:52:24.519683"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-15 14:52:24.525697"], ["updated_at", "2015-09-15 14:52:24.525697"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-15 14:52:24.527914"], ["updated_at", "2015-09-15 14:52:24.527914"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-15 14:52:24.537303"], ["updated_at", "2015-09-15 14:52:24.537303"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-15 14:52:24.539474"], ["updated_at", "2015-09-15 14:52:24.539474"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-08 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-15 14:52:24.554888"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-08 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-15 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-15 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-15 00:00:00.000000"], ["updated_at", "2015-09-15 14:52:24.569813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-15 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-15 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-08 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-15 14:52:24.599632"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-15 14:52:24.603241"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-08 00:00:00.000000')  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-15 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-15 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-15 00:00:00.000000"], ["updated_at", "2015-09-15 14:52:24.611467"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-15 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-15 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-15 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-15 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-15 00:00:00.000000"], ["updated_at", "2015-09-15 14:52:24.912122"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-15 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-15 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-08 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-15 14:52:24.922108"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-15 14:52:24.924821"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-08 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-15 14:52:24.931138') AND ("social_networking_goals"."due_on" >= '2015-09-14 14:52:24.931166') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-15 14:52:24.933937') AND ("social_networking_goals"."due_on" >= '2015-09-14 14:52:24.933954')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-15 14:52:24.935633') AND ("social_networking_goals"."due_on" >= '2015-09-14 14:52:24.935650')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-09-15 14:52:24.939439"], ["updated_at", "2015-09-15 14:52:24.939439"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-16"], ["created_at", "2015-09-15 14:52:24.946595"], ["updated_at", "2015-09-15 14:52:24.946595"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-15"], ["completed_at", "2015-09-13 00:00:00.000000"], ["created_at", "2015-09-15 14:52:24.951173"], ["updated_at", "2015-09-15 14:52:24.951173"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-09-15 14:52:24.955971"], ["updated_at", "2015-09-15 14:52:24.955971"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-09-15"], ["created_at", "2015-09-15 14:52:24.960730"], ["updated_at", "2015-09-15 14:52:24.960730"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-08 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-15 14:52:24.968536"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-15 14:52:24.972090"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-08 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-15 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-15 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-15 00:00:00.000000"], ["updated_at", "2015-09-15 14:52:24.979992"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-15 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-15 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-09-15 14:52:24.985959"], ["updated_at", "2015-09-15 14:52:24.985959"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-15 14:52:24.990685"], ["updated_at", "2015-09-15 14:52:24.990685"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-15 14:52:24.993396"], ["updated_at", "2015-09-15 14:52:24.993396"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (3.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (2.2ms)  (0.3ms) ROLLBACK  (2.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-15', '2015-09-15 15:04:04', '2015-09-15 15:04:04', 809335042, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-15 15:04:03.000000', '2015-09-15', '2015-09-15 15:04:04', '2015-09-15 15:04:04', 576699391, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-15', '2015-09-15 15:04:04', '2015-09-15 15:04:04', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-15 15:04:04', '2015-09-15 15:04:04', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-15 15:04:03.000000', '2015-09-15', '2015-09-15 15:04:04', '2015-09-15 15:04:04', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-14', '2015-09-15 15:04:04', '2015-09-15 15:04:04', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-13', '2015-09-15 15:04:04', '2015-09-15 15:04:04', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-15 15:04:03.000000', '2015-09-15', '2015-09-15 15:04:04', '2015-09-15 15:04:04', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-15', '2015-09-15 15:04:04', '2015-09-15 15:04:04', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-15 15:04:03.000000', '2015-09-15', '2015-09-15 15:04:04', '2015-09-15 15:04:04', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-15', '2015-09-15 15:04:04', '2015-09-15 15:04:04', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-15 15:04:03.000000', '2015-09-15', '2015-09-15 15:04:04', '2015-09-15 15:04:04', 16804933, 816972181)  (0.3ms) COMMIT  (2.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.9ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-15 15:04:04.057565"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-15 23:59:59.999999' AND created_at >= '2015-09-15 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-15 00:00:00.000000"], ["updated_at", "2015-09-15 15:04:04.066691"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-15 23:59:59.999999' AND created_at >= '2015-09-15 00:00:00.000000')  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-08 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-15 15:04:04.075447"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-15 15:04:04.079612"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-08 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-15 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-15 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-15 00:00:00.000000"], ["updated_at", "2015-09-15 15:04:04.207406"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-15 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-15 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-08 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-15 15:04:04.214903"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-15 15:04:04.218421"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-08 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.1ms) ROLLBACK  (2.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-15 15:04:04', '2015-09-15 15:04:04', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-15 15:04:04', '2015-09-15 15:04:04', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 15:04:04.000000', '2015-09-15 15:04:04', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-15 15:04:04.000000', '2015-09-15 15:04:04', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 15:04:04.000000', '2015-09-15 15:04:04', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-15 15:04:04.000000', '2015-09-15 15:04:04', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-15 15:04:04', '2015-09-15 15:04:04', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-15 15:04:04', '2015-09-15 15:04:04', 369066228, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.5ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-15 15:04:04', '2015-09-15 15:04:04', 465319974, 333620620) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-15 15:04:04', '2015-09-15 15:04:04', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-15 15:04:04', '2015-09-15 15:04:04', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-15 15:04:04', '2015-09-15 15:04:04', 781294868) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-15 15:04:04', '2015-09-15 15:04:04', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-15 15:04:04', '2015-09-15 15:04:04', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-15 15:04:04', '2015-09-15 15:04:04', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.4ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-15 15:04:04', '2015-09-15 15:04:04', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.8ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-15 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-15 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.7ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-15 00:00:00.000000"], ["updated_at", "2015-09-15 15:04:04.834146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-15 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-15 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-08 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-15 15:04:04.842716"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-08 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-15 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-15 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-15 00:00:00.000000"], ["updated_at", "2015-09-15 15:04:04.883863"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-15 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-15 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-08 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-15 15:04:04.891283"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-15 15:04:04.894840"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-08 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-08 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-14 00:00:00.000000"], ["updated_at", "2015-09-15 15:04:05.083063"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-07 00:00:00.000000"], ["updated_at", "2015-09-15 15:04:05.086698"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-08 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-15 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-15 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-15 00:00:00.000000"], ["updated_at", "2015-09-15 15:04:05.092885"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-15 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-15 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-16"], ["created_at", "2015-09-15 15:04:05.104754"], ["updated_at", "2015-09-15 15:04:05.104754"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-09-15 15:04:05.108983"], ["updated_at", "2015-09-15 15:04:05.108983"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-15"], ["completed_at", "2015-09-13 00:00:00.000000"], ["created_at", "2015-09-15 15:04:05.113018"], ["updated_at", "2015-09-15 15:04:05.113018"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-09-15"], ["created_at", "2015-09-15 15:04:05.120394"], ["updated_at", "2015-09-15 15:04:05.120394"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-09-15 15:04:05.124764"], ["updated_at", "2015-09-15 15:04:05.124764"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-15 15:04:05.127807') AND ("social_networking_goals"."due_on" >= '2015-09-14 15:04:05.127840')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-15 15:04:05.130946') AND ("social_networking_goals"."due_on" >= '2015-09-14 15:04:05.130970') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-15 15:04:05.133795') AND ("social_networking_goals"."due_on" >= '2015-09-14 15:04:05.133815')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-09-15 15:04:05.170770"], ["updated_at", "2015-09-15 15:04:05.170770"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-15 15:04:05.177843"], ["updated_at", "2015-09-15 15:04:05.177843"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-15 15:04:05.181662"], ["updated_at", "2015-09-15 15:04:05.181662"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-15 15:04:05.191433"], ["updated_at", "2015-09-15 15:04:05.191433"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-15 15:04:05.193807"], ["updated_at", "2015-09-15 15:04:05.193807"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-15 15:04:05.199536"], ["updated_at", "2015-09-15 15:04:05.199536"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-15 15:04:05.201609"], ["updated_at", "2015-09-15 15:04:05.201609"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-15 15:04:05.223868"], ["updated_at", "2015-09-15 15:04:05.223868"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-15 15:04:05.226185"], ["updated_at", "2015-09-15 15:04:05.226185"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-15 15:04:05.231797"], ["updated_at", "2015-09-15 15:04:05.231797"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-15 15:04:05.234230"], ["updated_at", "2015-09-15 15:04:05.234230"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.7ms) SocialNetworking::Mailer#notify: processed outbound mail in 206.7ms Sent mail to obama@ex.co (6.5ms) Date: Tue, 15 Sep 2015 10:04:05 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55f83365b4303_2df63fde3d86020889012@dhcp-10-105-33-239.wireless.northwestern.private.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-15 10:04:06 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.9ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.0ms) Completed 200 OK in 126ms (Views: 98.4ms | ActiveRecord: 6.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-15 10:04:06 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-15 10:04:06 -0500 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-09-15 10:04:06 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-13", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-13"], ["updated_at", "2015-09-15 15:04:06.910131"], ["id", 53334230]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-15 10:04:06 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-09-15 10:04:07 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Sep 15 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-09-15 15:04:07.221452"], ["updated_at", "2015-09-15 15:04:07.224189"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-15 10:04:07 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.0ms) Completed 200 OK in 15ms (Views: 1.7ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-09-15 10:04:07 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Sep 15 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-09-15 15:04:07.385510"], ["updated_at", "2015-09-15 15:04:07.388327"], ["id", 809335042]]  (0.6ms) COMMIT  (0.3ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-09-15 15:04:07.392481"], ["updated_at", "2015-09-15 15:04:07.392481"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-15 10:04:07 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.0ms) Completed 200 OK in 21ms (Views: 1.6ms | ActiveRecord: 2.4ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-09-15 10:04:07 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-29", "goal"=>{"description"=>"all of the things"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-29"], ["created_at", "2015-09-15 15:04:07.706427"], ["updated_at", "2015-09-15 15:04:07.706427"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-09-15 15:04:07.711891"], ["updated_at", "2015-09-15 15:04:07.711891"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 4.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-15 10:04:07 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 17ms (Views: 1.9ms | ActiveRecord: 2.1ms)  (0.1ms) ROLLBACK  (2.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-15 15:04:08', '2015-09-15 15:04:08', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-15', '2015-09-15 15:04:08', '2015-09-15 15:04:08', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-15 15:04:08.000000', '2015-09-15', '2015-09-15 15:04:08', '2015-09-15 15:04:08', 576699391, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-15', '2015-09-15 15:04:08', '2015-09-15 15:04:08', 614371357, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-15 15:04:08', '2015-09-15 15:04:08', 53334230, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-15 15:04:08.000000', '2015-09-15', '2015-09-15 15:04:08', '2015-09-15 15:04:08', 916373174, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-14', '2015-09-15 15:04:08', '2015-09-15 15:04:08', 717544784, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-13', '2015-09-15 15:04:08', '2015-09-15 15:04:08', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-15 15:04:08.000000', '2015-09-15', '2015-09-15 15:04:08', '2015-09-15 15:04:08', 401619065, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-15', '2015-09-15 15:04:08', '2015-09-15 15:04:08', 128166899, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-15 15:04:08.000000', '2015-09-15', '2015-09-15 15:04:08', '2015-09-15 15:04:08', 1002298878, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-15', '2015-09-15 15:04:08', '2015-09-15 15:04:08', 318784238, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-15 15:04:08.000000', '2015-09-15', '2015-09-15 15:04:08', '2015-09-15 15:04:08', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-15 15:04:08', '2015-09-15 15:04:08', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 15:04:08.000000', '2015-09-15 15:04:08', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-15 15:04:08.000000', '2015-09-15 15:04:08', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-14 15:04:08.000000', '2015-09-15 15:04:08', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-15 15:04:08.000000', '2015-09-15 15:04:08', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-15 15:04:08', '2015-09-15 15:04:08', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-15 15:04:08', '2015-09-15 15:04:08', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-15 15:04:08', '2015-09-15 15:04:08', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-15 15:04:08', '2015-09-15 15:04:08', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-15 15:04:08', '2015-09-15 15:04:08', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-15 15:04:08', '2015-09-15 15:04:08', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-15 15:04:08', '2015-09-15 15:04:08', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-15 15:04:08', '2015-09-15 15:04:08', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-15 15:04:08', '2015-09-15 15:04:08', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-15 15:04:08', '2015-09-15 15:04:08', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (2.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-15 15:04:08.126571"], ["updated_at", "2015-09-15 15:04:08.126571"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-15 15:04:08.129466"], ["updated_at", "2015-09-15 15:04:08.129466"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (2.4ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-16', '2015-09-16 19:34:20', '2015-09-16 19:34:20', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-16 19:34:20.000000', '2015-09-16', '2015-09-16 19:34:20', '2015-09-16 19:34:20', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-16', '2015-09-16 19:34:20', '2015-09-16 19:34:20', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-16 19:34:20', '2015-09-16 19:34:20', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-16 19:34:20.000000', '2015-09-16', '2015-09-16 19:34:20', '2015-09-16 19:34:20', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-15', '2015-09-16 19:34:20', '2015-09-16 19:34:20', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-14', '2015-09-16 19:34:20', '2015-09-16 19:34:20', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-16 19:34:20.000000', '2015-09-16', '2015-09-16 19:34:20', '2015-09-16 19:34:20', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-16', '2015-09-16 19:34:20', '2015-09-16 19:34:20', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-16 19:34:20.000000', '2015-09-16', '2015-09-16 19:34:20', '2015-09-16 19:34:20', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-16', '2015-09-16 19:34:20', '2015-09-16 19:34:20', 318784238, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-16 19:34:20.000000', '2015-09-16', '2015-09-16 19:34:20', '2015-09-16 19:34:20', 16804933, 816972181)  (6.0ms) COMMIT  (13.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (1.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-16 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-16 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.7ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-16 00:00:00.000000"], ["updated_at", "2015-09-16 19:34:20.309048"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-16 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-16 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-09 00:00:00.000000') Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-15 00:00:00.000000"], ["updated_at", "2015-09-16 19:34:20.324359"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-09 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (1.4ms) SocialNetworking::Mailer#notify: processed outbound mail in 265.4ms Sent mail to obama@ex.co (9.1ms) Date: Wed, 16 Sep 2015 14:34:20 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <55f9c43ca14e9_9ed43ffee5c602046577@vpn-165-124-162-183.vpn.northwestern.edu.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.8ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (1.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-16 19:34:21', '2015-09-16 19:34:21', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-16 19:34:21', '2015-09-16 19:34:21', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-15 19:34:21.000000', '2015-09-16 19:34:21', 503297012, 700141617, 816972181) Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-16 19:34:21.000000', '2015-09-16 19:34:21', 366290861, 700141617, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-15 19:34:21.000000', '2015-09-16 19:34:21', 931788854, 816972181, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-16 19:34:21.000000', '2015-09-16 19:34:21', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-16 19:34:21', '2015-09-16 19:34:21', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-16 19:34:21', '2015-09-16 19:34:21', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.5ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-16 19:34:21', '2015-09-16 19:34:21', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-16 19:34:21', '2015-09-16 19:34:21', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-16 19:34:21', '2015-09-16 19:34:21', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-16 19:34:21', '2015-09-16 19:34:21', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-16 19:34:21', '2015-09-16 19:34:21', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-16 19:34:21', '2015-09-16 19:34:21', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-16 19:34:21', '2015-09-16 19:34:21', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-16 19:34:21', '2015-09-16 19:34:21', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-16 14:34:21 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.5ms) Completed 200 OK in 142ms (Views: 109.7ms | ActiveRecord: 5.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-16 14:34:22 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-16 14:34:22 -0500 Started POST "/social_networking/goals" for 127.0.0.1 at 2015-09-16 14:34:22 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-09-30", "goal"=>{"description"=>"all of the things"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-09-30"], ["created_at", "2015-09-16 19:34:22.451679"], ["updated_at", "2015-09-16 19:34:22.451679"]]  (6.1ms) COMMIT  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-09-16 19:34:22.472496"], ["updated_at", "2015-09-16 19:34:22.472496"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 32ms (Views: 0.4ms | ActiveRecord: 11.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-16 14:34:22 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 16ms (Views: 1.8ms | ActiveRecord: 2.3ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-09-16 14:34:22 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Sep 16 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-09-16 19:34:22.749701"], ["updated_at", "2015-09-16 19:34:22.752584"], ["id", 809335042]]  (0.3ms) COMMIT  (0.6ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-09-16 19:34:22.757597"], ["updated_at", "2015-09-16 19:34:22.757597"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-16 14:34:22 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 2.0ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-09-16 14:34:23 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-14", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-14"], ["updated_at", "2015-09-16 19:34:23.067743"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-16 14:34:23 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 17ms (Views: 1.8ms | ActiveRecord: 2.2ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-09-16 14:34:23 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Sep 16 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-09-16 19:34:23.371026"], ["updated_at", "2015-09-16 19:34:23.373467"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 2.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-16 14:34:23 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.0ms) Completed 200 OK in 14ms (Views: 1.6ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.4ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (1.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-16 19:34:23', '2015-09-16 19:34:23', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-16', '2015-09-16 19:34:23', '2015-09-16 19:34:23', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-16 19:34:23.000000', '2015-09-16', '2015-09-16 19:34:23', '2015-09-16 19:34:23', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-16', '2015-09-16 19:34:23', '2015-09-16 19:34:23', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-16 19:34:23', '2015-09-16 19:34:23', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-16 19:34:23.000000', '2015-09-16', '2015-09-16 19:34:23', '2015-09-16 19:34:23', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-15', '2015-09-16 19:34:23', '2015-09-16 19:34:23', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-14', '2015-09-16 19:34:23', '2015-09-16 19:34:23', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-16 19:34:23.000000', '2015-09-16', '2015-09-16 19:34:23', '2015-09-16 19:34:23', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-16', '2015-09-16 19:34:23', '2015-09-16 19:34:23', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-16 19:34:23.000000', '2015-09-16', '2015-09-16 19:34:23', '2015-09-16 19:34:23', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-16', '2015-09-16 19:34:23', '2015-09-16 19:34:23', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-16 19:34:23.000000', '2015-09-16', '2015-09-16 19:34:23', '2015-09-16 19:34:23', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-16 19:34:23', '2015-09-16 19:34:23', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-15 19:34:23.000000', '2015-09-16 19:34:23', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-16 19:34:23.000000', '2015-09-16 19:34:23', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-15 19:34:23.000000', '2015-09-16 19:34:23', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-16 19:34:23.000000', '2015-09-16 19:34:23', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-16 19:34:23', '2015-09-16 19:34:23', 576803333, 700141617) Fixture Insert (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-16 19:34:23', '2015-09-16 19:34:23', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-16 19:34:23', '2015-09-16 19:34:23', 465319974, 333620620) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-16 19:34:23', '2015-09-16 19:34:23', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-16 19:34:23', '2015-09-16 19:34:23', 10484799, 183235640) Fixture Delete (0.5ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-16 19:34:23', '2015-09-16 19:34:23', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-16 19:34:23', '2015-09-16 19:34:23', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-16 19:34:23', '2015-09-16 19:34:23', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-16 19:34:23', '2015-09-16 19:34:23', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-16 19:34:23', '2015-09-16 19:34:23', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-16 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-16 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-16 00:00:00.000000"], ["updated_at", "2015-09-16 19:34:23.908449"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-16 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-16 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-09 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-15 00:00:00.000000"], ["updated_at", "2015-09-16 19:34:23.916743"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-16 19:34:23.920881"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-09 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-09-16"], ["created_at", "2015-09-16 19:34:23.930572"], ["updated_at", "2015-09-16 19:34:23.930572"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-09-16 19:34:23.935049"], ["updated_at", "2015-09-16 19:34:23.935049"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-16"], ["completed_at", "2015-09-14 00:00:00.000000"], ["created_at", "2015-09-16 19:34:23.940718"], ["updated_at", "2015-09-16 19:34:23.940718"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-09-16 19:34:23.945281"], ["updated_at", "2015-09-16 19:34:23.945281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-17"], ["created_at", "2015-09-16 19:34:23.950195"], ["updated_at", "2015-09-16 19:34:23.950195"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-16 19:34:23.956177') AND ("social_networking_goals"."due_on" >= '2015-09-15 19:34:23.956217')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-16 19:34:23.959160') AND ("social_networking_goals"."due_on" >= '2015-09-15 19:34:23.959182') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-16 19:34:23.961570') AND ("social_networking_goals"."due_on" >= '2015-09-15 19:34:23.961596')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-16 19:34:23.977246"], ["updated_at", "2015-09-16 19:34:23.977246"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-16 19:34:23.981135"], ["updated_at", "2015-09-16 19:34:23.981135"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-16 23:59:59.999999' AND created_at >= '2015-09-16 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-16 00:00:00.000000"], ["updated_at", "2015-09-16 19:34:23.990994"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-16 23:59:59.999999' AND created_at >= '2015-09-16 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-15 00:00:00.000000"], ["updated_at", "2015-09-16 19:34:23.996930"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-09 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-15 00:00:00.000000"], ["updated_at", "2015-09-16 19:34:24.003337"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-16 19:34:24.006275"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-09 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-16 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-16 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-16 00:00:00.000000"], ["updated_at", "2015-09-16 19:34:24.084305"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-16 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-16 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-09 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.6ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-15 00:00:00.000000"], ["updated_at", "2015-09-16 19:34:24.093892"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-16 19:34:24.099225"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-09 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-16 19:34:24.285688"], ["updated_at", "2015-09-16 19:34:24.285688"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-16 19:34:24.289046"], ["updated_at", "2015-09-16 19:34:24.289046"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-16 19:34:24.295277"], ["updated_at", "2015-09-16 19:34:24.295277"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-16 19:34:24.298424"], ["updated_at", "2015-09-16 19:34:24.298424"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-16 19:34:24.310423"], ["updated_at", "2015-09-16 19:34:24.310423"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-16 19:34:24.313693"], ["updated_at", "2015-09-16 19:34:24.313693"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-16 19:34:24.320860"], ["updated_at", "2015-09-16 19:34:24.320860"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-16 19:34:24.323643"], ["updated_at", "2015-09-16 19:34:24.323643"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-09-16 19:34:24.649612"], ["updated_at", "2015-09-16 19:34:24.649612"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-16 19:34:24.654162"], ["updated_at", "2015-09-16 19:34:24.654162"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-16 19:34:24.657002"], ["updated_at", "2015-09-16 19:34:24.657002"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-16 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-16 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-16 00:00:00.000000"], ["updated_at", "2015-09-16 19:34:25.020030"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-16 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-16 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-09 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-15 00:00:00.000000"], ["updated_at", "2015-09-16 19:34:25.027695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-08 00:00:00.000000"], ["updated_at", "2015-09-16 19:34:25.031081"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-09 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.6ms) Completed 200 OK in 18ms (Views: 17.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (2.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.5ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-24', '2015-09-24 16:10:12', '2015-09-24 16:10:12', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-24 16:10:12.000000', '2015-09-24', '2015-09-24 16:10:12', '2015-09-24 16:10:12', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-24', '2015-09-24 16:10:12', '2015-09-24 16:10:12', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-24 16:10:12', '2015-09-24 16:10:12', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-24 16:10:12.000000', '2015-09-24', '2015-09-24 16:10:12', '2015-09-24 16:10:12', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-23', '2015-09-24 16:10:12', '2015-09-24 16:10:12', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-22', '2015-09-24 16:10:12', '2015-09-24 16:10:12', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-24 16:10:12.000000', '2015-09-24', '2015-09-24 16:10:12', '2015-09-24 16:10:12', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-24', '2015-09-24 16:10:12', '2015-09-24 16:10:12', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-24 16:10:12.000000', '2015-09-24', '2015-09-24 16:10:12', '2015-09-24 16:10:12', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-24', '2015-09-24 16:10:12', '2015-09-24 16:10:12', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-24 16:10:12.000000', '2015-09-24', '2015-09-24 16:10:12', '2015-09-24 16:10:12', 16804933, 816972181)  (5.0ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:10:12.260966"], ["updated_at", "2015-09-24 16:10:12.260966"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-24 16:10:12.283677"], ["updated_at", "2015-09-24 16:10:12.283677"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-24 16:10:12.287585"], ["updated_at", "2015-09-24 16:10:12.287585"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-24 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-24 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:12.300128"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-24 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (6.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-17 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:12.351790"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-16 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:12.356279"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-17 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-09-24 16:10:12.366632"], ["updated_at", "2015-09-24 16:10:12.366632"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-25"], ["created_at", "2015-09-24 16:10:12.373777"], ["updated_at", "2015-09-24 16:10:12.373777"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-24"], ["completed_at", "2015-09-22 00:00:00.000000"], ["created_at", "2015-09-24 16:10:12.377813"], ["updated_at", "2015-09-24 16:10:12.377813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-24 16:10:12', '2015-09-24 16:10:12', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-24 16:10:12', '2015-09-24 16:10:12', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-23 16:10:12.000000', '2015-09-24 16:10:12', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-24 16:10:12.000000', '2015-09-24 16:10:12', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-23 16:10:12.000000', '2015-09-24 16:10:12', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-24 16:10:12.000000', '2015-09-24 16:10:12', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-24 16:10:12', '2015-09-24 16:10:12', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-24 16:10:12', '2015-09-24 16:10:12', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-24 16:10:12', '2015-09-24 16:10:12', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-24 16:10:12', '2015-09-24 16:10:12', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-24 16:10:12', '2015-09-24 16:10:12', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-24 16:10:12', '2015-09-24 16:10:12', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-24 16:10:12', '2015-09-24 16:10:12', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-24 16:10:12', '2015-09-24 16:10:12', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-24 16:10:12', '2015-09-24 16:10:12', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-24 16:10:12', '2015-09-24 16:10:12', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-24 16:10:12.434372') AND ("social_networking_goals"."due_on" >= '2015-09-23 16:10:12.434408') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-24 16:10:12.438505') AND ("social_networking_goals"."due_on" >= '2015-09-23 16:10:12.438527')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-24 16:10:12.440752') AND ("social_networking_goals"."due_on" >= '2015-09-23 16:10:12.440776')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-09-24 16:10:12.444575"], ["updated_at", "2015-09-24 16:10:12.444575"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-09-24"], ["created_at", "2015-09-24 16:10:12.449127"], ["updated_at", "2015-09-24 16:10:12.449127"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (9.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:12.630606"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-17 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:12.636366"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-16 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:12.639127"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-17 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-24 23:59:59.999999' AND created_at >= '2015-09-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-24 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:12.645632"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-24 23:59:59.999999' AND created_at >= '2015-09-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-24 11:10:13 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.7ms) Completed 200 OK in 179ms (Views: 141.5ms | ActiveRecord: 6.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 11:10:13 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 11:10:13 -0500 SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-09-24 11:10:14 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Sep 24 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-09-24 16:10:14.187314"], ["updated_at", "2015-09-24 16:10:14.190469"], ["id", 809335042]]  (0.4ms) COMMIT  (0.6ms) BEGIN SQL (0.9ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:10:14.196117"], ["updated_at", "2015-09-24 16:10:14.196117"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 17ms (Views: 0.4ms | ActiveRecord: 4.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-24 11:10:14 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 18ms (Views: 2.2ms | ActiveRecord: 2.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-24 11:10:14 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 14ms (Views: 2.0ms | ActiveRecord: 1.6ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-09-24 11:10:14 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-22", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-22"], ["updated_at", "2015-09-24 16:10:14.518358"], ["id", 53334230]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-24 11:10:14 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 15ms (Views: 2.0ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-09-24 11:10:14 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Sep 24 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-09-24 16:10:14.719719"], ["updated_at", "2015-09-24 16:10:14.722234"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-24 11:10:14 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.8ms | ActiveRecord: 1.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-09-24 11:10:15 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-10-08", "goal"=>{"description"=>"all of the things"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-10-08"], ["created_at", "2015-09-24 16:10:15.081914"], ["updated_at", "2015-09-24 16:10:15.081914"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:10:15.086794"], ["updated_at", "2015-09-24 16:10:15.086794"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.9ms)  (0.1ms) ROLLBACK  (1.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-24 16:10:15', '2015-09-24 16:10:15', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-24', '2015-09-24 16:10:15', '2015-09-24 16:10:15', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-24 16:10:15.000000', '2015-09-24', '2015-09-24 16:10:15', '2015-09-24 16:10:15', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-24', '2015-09-24 16:10:15', '2015-09-24 16:10:15', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-24 16:10:15', '2015-09-24 16:10:15', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-24 16:10:15.000000', '2015-09-24', '2015-09-24 16:10:15', '2015-09-24 16:10:15', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-23', '2015-09-24 16:10:15', '2015-09-24 16:10:15', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-22', '2015-09-24 16:10:15', '2015-09-24 16:10:15', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-24 16:10:15.000000', '2015-09-24', '2015-09-24 16:10:15', '2015-09-24 16:10:15', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-24', '2015-09-24 16:10:15', '2015-09-24 16:10:15', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-24 16:10:15.000000', '2015-09-24', '2015-09-24 16:10:15', '2015-09-24 16:10:15', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-24', '2015-09-24 16:10:15', '2015-09-24 16:10:15', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-24 16:10:15.000000', '2015-09-24', '2015-09-24 16:10:15', '2015-09-24 16:10:15', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-24 16:10:15', '2015-09-24 16:10:15', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-23 16:10:15.000000', '2015-09-24 16:10:15', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-24 16:10:15.000000', '2015-09-24 16:10:15', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-23 16:10:15.000000', '2015-09-24 16:10:15', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-24 16:10:15.000000', '2015-09-24 16:10:15', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-24 16:10:15', '2015-09-24 16:10:15', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-24 16:10:15', '2015-09-24 16:10:15', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-24 16:10:15', '2015-09-24 16:10:15', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-24 16:10:15', '2015-09-24 16:10:15', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-24 16:10:15', '2015-09-24 16:10:15', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-24 16:10:15', '2015-09-24 16:10:15', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-24 16:10:15', '2015-09-24 16:10:15', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-24 16:10:15', '2015-09-24 16:10:15', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-24 16:10:15', '2015-09-24 16:10:15', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-24 16:10:15', '2015-09-24 16:10:15', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-24 16:10:15.213926"], ["updated_at", "2015-09-24 16:10:15.213926"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:10:15.216970"], ["updated_at", "2015-09-24 16:10:15.216970"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-24 16:10:15.226599"], ["updated_at", "2015-09-24 16:10:15.226599"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:10:15.229314"], ["updated_at", "2015-09-24 16:10:15.229314"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-24 16:10:15.237259"], ["updated_at", "2015-09-24 16:10:15.237259"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:10:15.240825"], ["updated_at", "2015-09-24 16:10:15.240825"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-24 16:10:15.253271"], ["updated_at", "2015-09-24 16:10:15.253271"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:10:15.255577"], ["updated_at", "2015-09-24 16:10:15.255577"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-17 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:15.268927"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-17 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-24 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-24 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:15.288473"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-24 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-24 16:10:15.349239"], ["updated_at", "2015-09-24 16:10:15.349239"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-24 16:10:15.354187"], ["updated_at", "2015-09-24 16:10:15.354187"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (3.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-17 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:15.993306"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-16 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:15.998964"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-17 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-24 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-24 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:16.008929"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-24 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.6ms) SocialNetworking::Mailer#notify: processed outbound mail in 216.7ms Sent mail to obama@ex.co (9.3ms) Date: Thu, 24 Sep 2015 11:10:16 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <56042068460c1_370f3ff17d060208837e5@vpn-165-124-164-146.vpn.northwestern.edu.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Like Load (0.5ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.4ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-17 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:16.623104"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-16 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:16.627859"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-17 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-24 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-24 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:16.634948"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-24 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (2.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.8ms) DELETE FROM "participants" Fixture Insert (0.5ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-24 16:10:35', '2015-09-24 16:10:35', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-24', '2015-09-24 16:10:35', '2015-09-24 16:10:35', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-24 16:10:35.000000', '2015-09-24', '2015-09-24 16:10:35', '2015-09-24 16:10:35', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-24', '2015-09-24 16:10:35', '2015-09-24 16:10:35', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-24 16:10:35', '2015-09-24 16:10:35', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-24 16:10:35.000000', '2015-09-24', '2015-09-24 16:10:35', '2015-09-24 16:10:35', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-23', '2015-09-24 16:10:35', '2015-09-24 16:10:35', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-22', '2015-09-24 16:10:35', '2015-09-24 16:10:35', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-24 16:10:35.000000', '2015-09-24', '2015-09-24 16:10:35', '2015-09-24 16:10:35', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-24', '2015-09-24 16:10:35', '2015-09-24 16:10:35', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-24 16:10:35.000000', '2015-09-24', '2015-09-24 16:10:35', '2015-09-24 16:10:35', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-24', '2015-09-24 16:10:35', '2015-09-24 16:10:35', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-24 16:10:35.000000', '2015-09-24', '2015-09-24 16:10:35', '2015-09-24 16:10:35', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-24 16:10:35', '2015-09-24 16:10:35', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.6ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-23 16:10:35.000000', '2015-09-24 16:10:35', 503297012, 700141617, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-24 16:10:35.000000', '2015-09-24 16:10:35', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-23 16:10:35.000000', '2015-09-24 16:10:35', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-24 16:10:35.000000', '2015-09-24 16:10:35', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-24 16:10:35', '2015-09-24 16:10:35', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-24 16:10:35', '2015-09-24 16:10:35', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-24 16:10:35', '2015-09-24 16:10:35', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-24 16:10:35', '2015-09-24 16:10:35', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-24 16:10:35', '2015-09-24 16:10:35', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-24 16:10:35', '2015-09-24 16:10:35', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-24 16:10:35', '2015-09-24 16:10:35', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-24 16:10:35', '2015-09-24 16:10:35', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-24 16:10:35', '2015-09-24 16:10:35', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-24 16:10:35', '2015-09-24 16:10:35', 809335042, 'SocialNetworking::Goal', 809335042)  (1.8ms) COMMIT  (4.9ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-24 11:10:36 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.9ms) Completed 200 OK in 133ms (Views: 75.2ms | ActiveRecord: 5.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 11:10:36 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 11:10:36 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-09-24 11:10:36 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Sep 24 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-09-24 16:10:36.530609"], ["updated_at", "2015-09-24 16:10:36.536275"], ["id", 809335042]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:10:36.547641"], ["updated_at", "2015-09-24 16:10:36.547641"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 24ms (Views: 0.4ms | ActiveRecord: 5.7ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-24 11:10:36 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 15ms (Views: 2.1ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-09-24 11:10:36 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Sep 24 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-09-24 16:10:36.697603"], ["updated_at", "2015-09-24 16:10:36.700601"], ["id", 614371357]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-24 11:10:36 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 1.9ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-09-24 11:10:37 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-10-08", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (1.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-10-08"], ["created_at", "2015-09-24 16:10:37.029533"], ["updated_at", "2015-09-24 16:10:37.029533"]]  (0.4ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:10:37.034655"], ["updated_at", "2015-09-24 16:10:37.034655"]]  (0.7ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-24 11:10:37 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 16ms (Views: 1.8ms | ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-24 11:10:37 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.0ms) Completed 200 OK in 15ms (Views: 1.6ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-09-24 11:10:37 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-22", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-22"], ["updated_at", "2015-09-24 16:10:37.528314"], ["id", 53334230]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (5.1ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.8ms)  (0.1ms) ROLLBACK  (1.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-24', '2015-09-24 16:10:37', '2015-09-24 16:10:37', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-24 16:10:37.000000', '2015-09-24', '2015-09-24 16:10:37', '2015-09-24 16:10:37', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-24', '2015-09-24 16:10:37', '2015-09-24 16:10:37', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-24 16:10:37', '2015-09-24 16:10:37', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-24 16:10:37.000000', '2015-09-24', '2015-09-24 16:10:37', '2015-09-24 16:10:37', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-23', '2015-09-24 16:10:37', '2015-09-24 16:10:37', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-22', '2015-09-24 16:10:37', '2015-09-24 16:10:37', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-24 16:10:37.000000', '2015-09-24', '2015-09-24 16:10:37', '2015-09-24 16:10:37', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-24', '2015-09-24 16:10:37', '2015-09-24 16:10:37', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-24 16:10:37.000000', '2015-09-24', '2015-09-24 16:10:37', '2015-09-24 16:10:37', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-24', '2015-09-24 16:10:37', '2015-09-24 16:10:37', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-24 16:10:37.000000', '2015-09-24', '2015-09-24 16:10:37', '2015-09-24 16:10:37', 16804933, 816972181)  (0.3ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:10:37.770115"], ["updated_at", "2015-09-24 16:10:37.770115"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-24 16:10:37.780392"], ["updated_at", "2015-09-24 16:10:37.780392"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-24 16:10:37.785668"], ["updated_at", "2015-09-24 16:10:37.785668"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.6ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (4.1ms)  (0.2ms) ROLLBACK  (6.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-24 16:10:37', '2015-09-24 16:10:37', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-24 16:10:37', '2015-09-24 16:10:37', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-23 16:10:37.000000', '2015-09-24 16:10:37', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-24 16:10:37.000000', '2015-09-24 16:10:37', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-23 16:10:37.000000', '2015-09-24 16:10:37', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-24 16:10:37.000000', '2015-09-24 16:10:37', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-24 16:10:37', '2015-09-24 16:10:37', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-24 16:10:37', '2015-09-24 16:10:37', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-24 16:10:37', '2015-09-24 16:10:37', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-24 16:10:37', '2015-09-24 16:10:37', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-24 16:10:37', '2015-09-24 16:10:37', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-24 16:10:37', '2015-09-24 16:10:37', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-24 16:10:37', '2015-09-24 16:10:37', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-24 16:10:37', '2015-09-24 16:10:37', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-24 16:10:37', '2015-09-24 16:10:37', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-24 16:10:37', '2015-09-24 16:10:37', 809335042, 'SocialNetworking::Goal', 809335042)  (1.0ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-17 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:38.388752"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-16 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:38.392756"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-17 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-24 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-24 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:38.402640"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-24 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-24 16:10:38.410863"], ["updated_at", "2015-09-24 16:10:38.410863"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-24 16:10:38.413977"], ["updated_at", "2015-09-24 16:10:38.413977"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (7.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-17 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:38.845368"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-17 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-24 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-24 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:38.860876"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-24 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:38.888181"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-17 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:38.894060"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-16 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:38.897595"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-17 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-24 23:59:59.999999' AND created_at >= '2015-09-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-24 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:38.904078"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-24 23:59:59.999999' AND created_at >= '2015-09-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-24 16:10:38.911565"], ["updated_at", "2015-09-24 16:10:38.911565"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:10:38.914300"], ["updated_at", "2015-09-24 16:10:38.914300"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-24 16:10:38.921133"], ["updated_at", "2015-09-24 16:10:38.921133"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:10:38.923731"], ["updated_at", "2015-09-24 16:10:38.923731"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-24 16:10:38.929676"], ["updated_at", "2015-09-24 16:10:38.929676"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:10:38.942594"], ["updated_at", "2015-09-24 16:10:38.942594"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-24 16:10:38.955506"], ["updated_at", "2015-09-24 16:10:38.955506"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:10:38.957672"], ["updated_at", "2015-09-24 16:10:38.957672"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (1.0ms) SocialNetworking::Mailer#notify: processed outbound mail in 215.8ms Sent mail to obama@ex.co (6.6ms) Date: Thu, 24 Sep 2015 11:10:39 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <5604207f32b18_37233fc656060200437f6@vpn-165-124-164-146.vpn.northwestern.edu.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-24 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-24 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:39.256987"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-24 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-17 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:39.263355"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-16 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:39.268569"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-17 00:00:00.000000')  (0.1ms) ROLLBACK  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-09-24 16:10:39.286471"], ["updated_at", "2015-09-24 16:10:39.286471"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-25"], ["created_at", "2015-09-24 16:10:39.291826"], ["updated_at", "2015-09-24 16:10:39.291826"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-24"], ["completed_at", "2015-09-22 00:00:00.000000"], ["created_at", "2015-09-24 16:10:39.299616"], ["updated_at", "2015-09-24 16:10:39.299616"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-24 16:10:39.302781') AND ("social_networking_goals"."due_on" >= '2015-09-23 16:10:39.302812') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-24 16:10:39.305813') AND ("social_networking_goals"."due_on" >= '2015-09-23 16:10:39.305832')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-24 16:10:39.307485') AND ("social_networking_goals"."due_on" >= '2015-09-23 16:10:39.307502')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-09-24 16:10:39.310695"], ["updated_at", "2015-09-24 16:10:39.310695"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-09-24"], ["created_at", "2015-09-24 16:10:39.316306"], ["updated_at", "2015-09-24 16:10:39.316306"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-17 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:39.372212"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-16 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:39.375843"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-17 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-24 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-24 00:00:00.000000"], ["updated_at", "2015-09-24 16:10:39.383420"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-24 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.8ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (2.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-24 16:13:42', '2015-09-24 16:13:42', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-24', '2015-09-24 16:13:42', '2015-09-24 16:13:42', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-24 16:13:42.000000', '2015-09-24', '2015-09-24 16:13:42', '2015-09-24 16:13:42', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-24', '2015-09-24 16:13:42', '2015-09-24 16:13:42', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-24 16:13:42', '2015-09-24 16:13:42', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-24 16:13:42.000000', '2015-09-24', '2015-09-24 16:13:42', '2015-09-24 16:13:42', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-23', '2015-09-24 16:13:42', '2015-09-24 16:13:42', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-22', '2015-09-24 16:13:42', '2015-09-24 16:13:42', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-24 16:13:42.000000', '2015-09-24', '2015-09-24 16:13:42', '2015-09-24 16:13:42', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-24', '2015-09-24 16:13:42', '2015-09-24 16:13:42', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-24 16:13:42.000000', '2015-09-24', '2015-09-24 16:13:42', '2015-09-24 16:13:42', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-24', '2015-09-24 16:13:42', '2015-09-24 16:13:42', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-24 16:13:42.000000', '2015-09-24', '2015-09-24 16:13:42', '2015-09-24 16:13:42', 16804933, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-24 16:13:42', '2015-09-24 16:13:42', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-23 16:13:42.000000', '2015-09-24 16:13:42', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-24 16:13:42.000000', '2015-09-24 16:13:42', 366290861, 700141617, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-23 16:13:42.000000', '2015-09-24 16:13:42', 931788854, 816972181, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-24 16:13:42.000000', '2015-09-24 16:13:42', 316146702, 816972181, 700141617) Fixture Delete (0.6ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-24 16:13:42', '2015-09-24 16:13:42', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-24 16:13:42', '2015-09-24 16:13:42', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-24 16:13:42', '2015-09-24 16:13:42', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-24 16:13:42', '2015-09-24 16:13:42', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-24 16:13:42', '2015-09-24 16:13:42', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-24 16:13:42', '2015-09-24 16:13:42', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-24 16:13:42', '2015-09-24 16:13:42', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-24 16:13:42', '2015-09-24 16:13:42', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-24 16:13:42', '2015-09-24 16:13:42', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-24 16:13:42', '2015-09-24 16:13:42', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.6ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-24 16:13:42.787979"], ["updated_at", "2015-09-24 16:13:42.787979"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:13:42.798397"], ["updated_at", "2015-09-24 16:13:42.798397"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-24 16:13:42.806100"], ["updated_at", "2015-09-24 16:13:42.806100"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:13:42.808441"], ["updated_at", "2015-09-24 16:13:42.808441"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-24 16:13:42.816393"], ["updated_at", "2015-09-24 16:13:42.816393"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:13:42.819803"], ["updated_at", "2015-09-24 16:13:42.819803"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-24 16:13:42.861269"], ["updated_at", "2015-09-24 16:13:42.861269"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:13:42.864100"], ["updated_at", "2015-09-24 16:13:42.864100"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:13:42.875491"], ["updated_at", "2015-09-24 16:13:42.875491"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-24 16:13:42.884556"], ["updated_at", "2015-09-24 16:13:42.884556"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-24 16:13:42.887554"], ["updated_at", "2015-09-24 16:13:42.887554"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-17 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 16:13:43.016396"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-16 00:00:00.000000"], ["updated_at", "2015-09-24 16:13:43.020109"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-17 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-24 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-24 00:00:00.000000"], ["updated_at", "2015-09-24 16:13:43.027993"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-24 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.5ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-24 11:13:44 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (20.1ms) Completed 200 OK in 147ms (Views: 123.6ms | ActiveRecord: 5.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 11:13:44 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 11:13:44 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-09-24 11:13:44 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Sep 24 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-09-24 16:13:44.643925"], ["updated_at", "2015-09-24 16:13:44.647912"], ["id", 809335042]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:13:44.653464"], ["updated_at", "2015-09-24 16:13:44.653464"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 17ms (Views: 0.4ms | ActiveRecord: 5.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-24 11:13:44 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 16ms (Views: 2.2ms | ActiveRecord: 2.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-24 11:13:44 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.4ms) Completed 200 OK in 16ms (Views: 3.5ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-09-24 11:13:44 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Sep 24 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-09-24 16:13:44.922215"], ["updated_at", "2015-09-24 16:13:44.925364"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.4ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-24 11:13:44 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 16ms (Views: 1.8ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-09-24 11:13:45 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-22", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-22"], ["updated_at", "2015-09-24 16:13:45.154611"], ["id", 53334230]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-24 11:13:45 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 15ms (Views: 2.1ms | ActiveRecord: 1.8ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-09-24 11:13:45 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-10-08", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-10-08"], ["created_at", "2015-09-24 16:13:45.432369"], ["updated_at", "2015-09-24 16:13:45.432369"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:13:45.436848"], ["updated_at", "2015-09-24 16:13:45.436848"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 2.9ms)  (0.1ms) ROLLBACK  (1.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-24 16:13:45', '2015-09-24 16:13:45', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-24', '2015-09-24 16:13:45', '2015-09-24 16:13:45', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-24 16:13:45.000000', '2015-09-24', '2015-09-24 16:13:45', '2015-09-24 16:13:45', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-24', '2015-09-24 16:13:45', '2015-09-24 16:13:45', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-24 16:13:45', '2015-09-24 16:13:45', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-24 16:13:45.000000', '2015-09-24', '2015-09-24 16:13:45', '2015-09-24 16:13:45', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-23', '2015-09-24 16:13:45', '2015-09-24 16:13:45', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-22', '2015-09-24 16:13:45', '2015-09-24 16:13:45', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-24 16:13:45.000000', '2015-09-24', '2015-09-24 16:13:45', '2015-09-24 16:13:45', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-24', '2015-09-24 16:13:45', '2015-09-24 16:13:45', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-24 16:13:45.000000', '2015-09-24', '2015-09-24 16:13:45', '2015-09-24 16:13:45', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-24', '2015-09-24 16:13:45', '2015-09-24 16:13:45', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-24 16:13:45.000000', '2015-09-24', '2015-09-24 16:13:45', '2015-09-24 16:13:45', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-24 16:13:45', '2015-09-24 16:13:45', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-23 16:13:45.000000', '2015-09-24 16:13:45', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-24 16:13:45.000000', '2015-09-24 16:13:45', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-23 16:13:45.000000', '2015-09-24 16:13:45', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-24 16:13:45.000000', '2015-09-24 16:13:45', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-24 16:13:45', '2015-09-24 16:13:45', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-24 16:13:45', '2015-09-24 16:13:45', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-24 16:13:45', '2015-09-24 16:13:45', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-24 16:13:45', '2015-09-24 16:13:45', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-24 16:13:45', '2015-09-24 16:13:45', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-24 16:13:45', '2015-09-24 16:13:45', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-24 16:13:45', '2015-09-24 16:13:45', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-24 16:13:45', '2015-09-24 16:13:45', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-24 16:13:45', '2015-09-24 16:13:45', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-24 16:13:45', '2015-09-24 16:13:45', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-17 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 16:13:45.812737"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-16 00:00:00.000000"], ["updated_at", "2015-09-24 16:13:45.817068"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-17 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-24 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-24 00:00:00.000000"], ["updated_at", "2015-09-24 16:13:45.828318"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-24 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.6ms) SocialNetworking::Mailer#notify: processed outbound mail in 206.8ms Sent mail to obama@ex.co (7.6ms) Date: Thu, 24 Sep 2015 11:13:46 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <5604213ab63c_3b463ffda20602043943d@vpn-165-124-164-146.vpn.northwestern.edu.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.8ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-17 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.7ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 16:13:46.285728"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-17 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-24 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-24 00:00:00.000000"], ["updated_at", "2015-09-24 16:13:46.304356"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-24 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-24 16:13:46.342199"], ["updated_at", "2015-09-24 16:13:46.342199"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-24 16:13:46.344984"], ["updated_at", "2015-09-24 16:13:46.344984"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-17 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 16:13:46.520190"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-16 00:00:00.000000"], ["updated_at", "2015-09-24 16:13:46.523416"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-17 00:00:00.000000')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-24 23:59:59.999999' AND created_at >= '2015-09-24 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-24 00:00:00.000000"], ["updated_at", "2015-09-24 16:13:46.533399"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-24 23:59:59.999999' AND created_at >= '2015-09-24 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 16:13:46.542264"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-17 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 16:13:46.601077"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-16 00:00:00.000000"], ["updated_at", "2015-09-24 16:13:46.605092"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-17 00:00:00.000000')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-24 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-24 00:00:00.000000"], ["updated_at", "2015-09-24 16:13:46.616572"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-24 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-24 16:13:46.620038') AND ("social_networking_goals"."due_on" >= '2015-09-23 16:13:46.620071') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-24 16:13:46.622806') AND ("social_networking_goals"."due_on" >= '2015-09-23 16:13:46.622833')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-24 16:13:46.624916') AND ("social_networking_goals"."due_on" >= '2015-09-23 16:13:46.624935')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-09-24 16:13:46.630169"], ["updated_at", "2015-09-24 16:13:46.630169"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-09-24"], ["created_at", "2015-09-24 16:13:46.637504"], ["updated_at", "2015-09-24 16:13:46.637504"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-25"], ["created_at", "2015-09-24 16:13:46.645726"], ["updated_at", "2015-09-24 16:13:46.645726"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-24"], ["completed_at", "2015-09-22 00:00:00.000000"], ["created_at", "2015-09-24 16:13:46.650887"], ["updated_at", "2015-09-24 16:13:46.650887"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-09-24 16:13:46.655735"], ["updated_at", "2015-09-24 16:13:46.655735"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (7.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.5ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (6.1ms) COMMIT  (11.9ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-24 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-24 00:00:00.000000"], ["updated_at", "2015-09-24 16:50:38.681227"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-24 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-17 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 16:50:38.722660"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-16 00:00:00.000000"], ["updated_at", "2015-09-24 16:50:38.726591"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-17 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-09-24 16:50:38.732889"], ["updated_at", "2015-09-24 16:50:38.732889"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-24"], ["completed_at", "2015-09-22 00:00:00.000000"], ["created_at", "2015-09-24 16:50:38.739743"], ["updated_at", "2015-09-24 16:50:38.739743"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-25"], ["created_at", "2015-09-24 16:50:38.750010"], ["updated_at", "2015-09-24 16:50:38.750010"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-09-24"], ["created_at", "2015-09-24 16:50:38.756380"], ["updated_at", "2015-09-24 16:50:38.756380"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-09-24 16:50:38.762065"], ["updated_at", "2015-09-24 16:50:38.762065"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (12.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-24 16:50:38', '2015-09-24 16:50:38', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-24', '2015-09-24 16:50:38', '2015-09-24 16:50:38', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-24 16:50:38.000000', '2015-09-24', '2015-09-24 16:50:38', '2015-09-24 16:50:38', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-24', '2015-09-24 16:50:38', '2015-09-24 16:50:38', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-24 16:50:38', '2015-09-24 16:50:38', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-24 16:50:38.000000', '2015-09-24', '2015-09-24 16:50:38', '2015-09-24 16:50:38', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-23', '2015-09-24 16:50:38', '2015-09-24 16:50:38', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-22', '2015-09-24 16:50:38', '2015-09-24 16:50:38', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-24 16:50:38.000000', '2015-09-24', '2015-09-24 16:50:38', '2015-09-24 16:50:38', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-24', '2015-09-24 16:50:38', '2015-09-24 16:50:38', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-24 16:50:38.000000', '2015-09-24', '2015-09-24 16:50:38', '2015-09-24 16:50:38', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-24', '2015-09-24 16:50:38', '2015-09-24 16:50:38', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-24 16:50:38.000000', '2015-09-24', '2015-09-24 16:50:38', '2015-09-24 16:50:38', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-24 16:50:38', '2015-09-24 16:50:38', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-23 16:50:38.000000', '2015-09-24 16:50:38', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-24 16:50:38.000000', '2015-09-24 16:50:38', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-23 16:50:38.000000', '2015-09-24 16:50:38', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-24 16:50:38.000000', '2015-09-24 16:50:38', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-24 16:50:38', '2015-09-24 16:50:38', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-24 16:50:38', '2015-09-24 16:50:38', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-24 16:50:38', '2015-09-24 16:50:38', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-24 16:50:38', '2015-09-24 16:50:38', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-24 16:50:38', '2015-09-24 16:50:38', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-24 16:50:38', '2015-09-24 16:50:38', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-24 16:50:38', '2015-09-24 16:50:38', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-24 16:50:38', '2015-09-24 16:50:38', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-24 16:50:38', '2015-09-24 16:50:38', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-24 16:50:38', '2015-09-24 16:50:38', 809335042, 'SocialNetworking::Goal', 809335042)  (5.9ms) COMMIT  (46.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-24 16:50:38.900335') AND ("social_networking_goals"."due_on" >= '2015-09-23 16:50:38.900372')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-24 16:50:38.929806') AND ("social_networking_goals"."due_on" >= '2015-09-23 16:50:38.929834') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-24 16:50:38.933645') AND ("social_networking_goals"."due_on" >= '2015-09-23 16:50:38.933668')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-24 11:50:39 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.9ms) Completed 200 OK in 122ms (Views: 89.2ms | ActiveRecord: 5.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 11:50:39 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 11:50:39 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-09-24 11:50:40 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-22", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-22"], ["updated_at", "2015-09-24 16:50:40.184586"], ["id", 53334230]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-24 11:50:40 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 17ms (Views: 2.6ms | ActiveRecord: 2.2ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-09-24 11:50:40 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Sep 24 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-09-24 16:50:40.485575"], ["updated_at", "2015-09-24 16:50:40.490395"], ["id", 614371357]]  (5.8ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 18ms (Views: 0.4ms | ActiveRecord: 7.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-24 11:50:40 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 15ms (Views: 2.1ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-09-24 11:50:40 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Sep 24 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-09-24 16:50:40.649671"], ["updated_at", "2015-09-24 16:50:40.652136"], ["id", 809335042]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:50:40.665727"], ["updated_at", "2015-09-24 16:50:40.665727"]]  (5.8ms) COMMIT SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 29ms (Views: 0.3ms | ActiveRecord: 11.3ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-24 11:50:40 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 1.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-09-24 11:50:40 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-10-08", "goal"=>{"description"=>"all of the things"}} Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-10-08"], ["created_at", "2015-09-24 16:50:40.982246"], ["updated_at", "2015-09-24 16:50:40.982246"]]  (1.4ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:50:40.987535"], ["updated_at", "2015-09-24 16:50:40.987535"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 4.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-24 11:50:41 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (2.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-24 16:50:41', '2015-09-24 16:50:41', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-24', '2015-09-24 16:50:41', '2015-09-24 16:50:41', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-24 16:50:41.000000', '2015-09-24', '2015-09-24 16:50:41', '2015-09-24 16:50:41', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-24', '2015-09-24 16:50:41', '2015-09-24 16:50:41', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-24 16:50:41', '2015-09-24 16:50:41', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-24 16:50:41.000000', '2015-09-24', '2015-09-24 16:50:41', '2015-09-24 16:50:41', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-23', '2015-09-24 16:50:41', '2015-09-24 16:50:41', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-22', '2015-09-24 16:50:41', '2015-09-24 16:50:41', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-24 16:50:41.000000', '2015-09-24', '2015-09-24 16:50:41', '2015-09-24 16:50:41', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-24', '2015-09-24 16:50:41', '2015-09-24 16:50:41', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-24 16:50:41.000000', '2015-09-24', '2015-09-24 16:50:41', '2015-09-24 16:50:41', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-24', '2015-09-24 16:50:41', '2015-09-24 16:50:41', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-24 16:50:41.000000', '2015-09-24', '2015-09-24 16:50:41', '2015-09-24 16:50:41', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-24 16:50:41', '2015-09-24 16:50:41', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-23 16:50:41.000000', '2015-09-24 16:50:41', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-24 16:50:41.000000', '2015-09-24 16:50:41', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-23 16:50:41.000000', '2015-09-24 16:50:41', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-24 16:50:41.000000', '2015-09-24 16:50:41', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-24 16:50:41', '2015-09-24 16:50:41', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-24 16:50:41', '2015-09-24 16:50:41', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-24 16:50:41', '2015-09-24 16:50:41', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-24 16:50:41', '2015-09-24 16:50:41', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-24 16:50:41', '2015-09-24 16:50:41', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-24 16:50:41', '2015-09-24 16:50:41', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-24 16:50:41', '2015-09-24 16:50:41', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-24 16:50:41', '2015-09-24 16:50:41', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-24 16:50:41', '2015-09-24 16:50:41', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.4ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-24 16:50:41', '2015-09-24 16:50:41', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-24 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-24 00:00:00.000000"], ["updated_at", "2015-09-24 16:50:41.797163"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-24 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-17 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 16:50:41.805443"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-16 00:00:00.000000"], ["updated_at", "2015-09-24 16:50:41.809033"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-17 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-24 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-24 00:00:00.000000"], ["updated_at", "2015-09-24 16:50:41.835966"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-24 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-17 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 16:50:41.848175"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-17 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 16:50:41.910648"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-24 23:59:59.999999' AND created_at >= '2015-09-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-24 00:00:00.000000"], ["updated_at", "2015-09-24 16:50:41.916049"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-24 23:59:59.999999' AND created_at >= '2015-09-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-17 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 16:50:41.922327"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-16 00:00:00.000000"], ["updated_at", "2015-09-24 16:50:41.925711"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-17 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-24 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.6ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-24 00:00:00.000000"], ["updated_at", "2015-09-24 16:50:42.043746"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-24 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-17 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 16:50:42.054335"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-16 00:00:00.000000"], ["updated_at", "2015-09-24 16:50:42.058649"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-17 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 12ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:50:42.121663"], ["updated_at", "2015-09-24 16:50:42.121663"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-24 16:50:42.127016"], ["updated_at", "2015-09-24 16:50:42.127016"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-24 16:50:42.129947"], ["updated_at", "2015-09-24 16:50:42.129947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-24 16:50:42.576345"], ["updated_at", "2015-09-24 16:50:42.576345"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-24 16:50:42.579548"], ["updated_at", "2015-09-24 16:50:42.579548"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.6ms) SocialNetworking::Mailer#notify: processed outbound mail in 227.6ms Sent mail to obama@ex.co (9.1ms) Date: Thu, 24 Sep 2015 11:50:42 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <560429e2c920c_4fda3ff80145220035781@vpn-165-124-164-146.vpn.northwestern.edu.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-24 16:50:42.965796"], ["updated_at", "2015-09-24 16:50:42.965796"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:50:42.968371"], ["updated_at", "2015-09-24 16:50:42.968371"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-24 16:50:42.974055"], ["updated_at", "2015-09-24 16:50:42.974055"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:50:42.977025"], ["updated_at", "2015-09-24 16:50:42.977025"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-24 16:50:42.991721"], ["updated_at", "2015-09-24 16:50:42.991721"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:50:42.994422"], ["updated_at", "2015-09-24 16:50:42.994422"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-24 16:50:42.999607"], ["updated_at", "2015-09-24 16:50:42.999607"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-24 16:50:43.001607"], ["updated_at", "2015-09-24 16:50:43.001607"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (8.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-24 18:29:09', '2015-09-24 18:29:09', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_goals" Fixture Insert (0.5ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-24', '2015-09-24 18:29:09', '2015-09-24 18:29:09', 809335042, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-24 18:29:09.000000', '2015-09-24', '2015-09-24 18:29:09', '2015-09-24 18:29:09', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-24', '2015-09-24 18:29:09', '2015-09-24 18:29:09', 614371357, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-24 18:29:09', '2015-09-24 18:29:09', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-24 18:29:09.000000', '2015-09-24', '2015-09-24 18:29:09', '2015-09-24 18:29:09', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-23', '2015-09-24 18:29:09', '2015-09-24 18:29:09', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-22', '2015-09-24 18:29:09', '2015-09-24 18:29:09', 938656909, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-24 18:29:09.000000', '2015-09-24', '2015-09-24 18:29:09', '2015-09-24 18:29:09', 401619065, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-24', '2015-09-24 18:29:09', '2015-09-24 18:29:09', 128166899, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-24 18:29:09.000000', '2015-09-24', '2015-09-24 18:29:09', '2015-09-24 18:29:09', 1002298878, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-24', '2015-09-24 18:29:09', '2015-09-24 18:29:09', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-24 18:29:09.000000', '2015-09-24', '2015-09-24 18:29:09', '2015-09-24 18:29:09', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-24 18:29:09', '2015-09-24 18:29:09', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.5ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-23 18:29:09.000000', '2015-09-24 18:29:09', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-24 18:29:09.000000', '2015-09-24 18:29:09', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-23 18:29:09.000000', '2015-09-24 18:29:09', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-24 18:29:09.000000', '2015-09-24 18:29:09', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-24 18:29:09', '2015-09-24 18:29:09', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-24 18:29:09', '2015-09-24 18:29:09', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-24 18:29:09', '2015-09-24 18:29:09', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-24 18:29:09', '2015-09-24 18:29:09', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-24 18:29:09', '2015-09-24 18:29:09', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-24 18:29:09', '2015-09-24 18:29:09', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-24 18:29:09', '2015-09-24 18:29:09', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-24 18:29:09', '2015-09-24 18:29:09', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-24 18:29:09', '2015-09-24 18:29:09', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.4ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-24 18:29:09', '2015-09-24 18:29:09', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (2.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.6ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (6.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (5.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-24 18:29:10.313980"], ["updated_at", "2015-09-24 18:29:10.313980"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-24 18:29:10.318576"], ["updated_at", "2015-09-24 18:29:10.318576"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-24 23:59:59.999999' AND created_at >= '2015-09-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-24 00:00:00.000000"], ["updated_at", "2015-09-24 18:29:10.327662"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-09-24 23:59:59.999999' AND created_at >= '2015-09-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-17 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 18:29:10.333197"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-16 00:00:00.000000"], ["updated_at", "2015-09-24 18:29:10.336008"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-17 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 18:29:10.340867"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-24 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-24 00:00:00.000000"], ["updated_at", "2015-09-24 18:29:10.356683"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-09-24 23:59:59.999999')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-17 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 18:29:10.365681"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-16 00:00:00.000000"], ["updated_at", "2015-09-24 18:29:10.371035"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-17 00:00:00.000000')  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-24 13:29:11 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.6ms) Completed 200 OK in 173ms (Views: 139.7ms | ActiveRecord: 6.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-09-24 13:29:11 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-09-24 13:29:11 -0500 SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-09-24 13:29:11 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-22", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-22"], ["updated_at", "2015-09-24 18:29:11.576056"], ["id", 53334230]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 2.7ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-24 13:29:11 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 20ms (Views: 2.1ms | ActiveRecord: 2.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-09-24 13:29:11 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-10-08", "goal"=>{"description"=>"all of the things"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-10-08"], ["created_at", "2015-09-24 18:29:11.930713"], ["updated_at", "2015-09-24 18:29:11.930713"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-09-24 18:29:11.937972"], ["updated_at", "2015-09-24 18:29:11.937972"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.4ms | ActiveRecord: 4.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-24 13:29:12 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 20ms (Views: 2.4ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-24 13:29:12 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 17ms (Views: 2.4ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-09-24 13:29:12 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Sep 24 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-09-24 18:29:12.365726"], ["updated_at", "2015-09-24 18:29:12.368569"], ["id", 809335042]]  (1.3ms) COMMIT  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-09-24 18:29:12.373526"], ["updated_at", "2015-09-24 18:29:12.373526"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 4.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-09-24 13:29:12 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 18ms (Views: 1.9ms | ActiveRecord: 2.3ms) SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-09-24 13:29:12 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Sep 24 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-09-24 18:29:12.682781"], ["updated_at", "2015-09-24 18:29:12.685841"], ["id", 614371357]]  (1.0ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-09-24 18:29:12', '2015-09-24 18:29:12', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-09-24', '2015-09-24 18:29:12', '2015-09-24 18:29:12', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-09-24 18:29:12.000000', '2015-09-24', '2015-09-24 18:29:12', '2015-09-24 18:29:12', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-09-24', '2015-09-24 18:29:12', '2015-09-24 18:29:12', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-09-24 18:29:12', '2015-09-24 18:29:12', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-09-24 18:29:12.000000', '2015-09-24', '2015-09-24 18:29:12', '2015-09-24 18:29:12', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-23', '2015-09-24 18:29:12', '2015-09-24 18:29:12', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-22', '2015-09-24 18:29:12', '2015-09-24 18:29:12', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-09-24 18:29:12.000000', '2015-09-24', '2015-09-24 18:29:12', '2015-09-24 18:29:12', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-09-24', '2015-09-24 18:29:12', '2015-09-24 18:29:12', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-09-24 18:29:12.000000', '2015-09-24', '2015-09-24 18:29:12', '2015-09-24 18:29:12', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-09-24', '2015-09-24 18:29:12', '2015-09-24 18:29:12', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-09-24 18:29:12.000000', '2015-09-24', '2015-09-24 18:29:12', '2015-09-24 18:29:12', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-09-24 18:29:12', '2015-09-24 18:29:12', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-23 18:29:12.000000', '2015-09-24 18:29:12', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-24 18:29:12.000000', '2015-09-24 18:29:12', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-23 18:29:12.000000', '2015-09-24 18:29:12', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-24 18:29:12.000000', '2015-09-24 18:29:12', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-09-24 18:29:12', '2015-09-24 18:29:12', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-09-24 18:29:12', '2015-09-24 18:29:12', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-09-24 18:29:12', '2015-09-24 18:29:12', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-09-24 18:29:12', '2015-09-24 18:29:12', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-09-24 18:29:12', '2015-09-24 18:29:12', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-09-24 18:29:12', '2015-09-24 18:29:12', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-09-24 18:29:12', '2015-09-24 18:29:12', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-09-24 18:29:12', '2015-09-24 18:29:12', 10484799) Fixture Delete (0.6ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-09-24 18:29:12', '2015-09-24 18:29:12', 183235640, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-09-24 18:29:12', '2015-09-24 18:29:12', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-24 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-24 00:00:00.000000"], ["updated_at", "2015-09-24 18:29:12.945805"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-09-24 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-17 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 18:29:12.953407"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-16 00:00:00.000000"], ["updated_at", "2015-09-24 18:29:12.956425"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-17 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-09-24"], ["created_at", "2015-09-24 18:29:12.961134"], ["updated_at", "2015-09-24 18:29:12.961134"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-09-24 18:29:12.965403"], ["updated_at", "2015-09-24 18:29:12.965403"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-24 18:29:12.969186') AND ("social_networking_goals"."due_on" >= '2015-09-23 18:29:12.969256')  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-24 18:29:12.972964') AND ("social_networking_goals"."due_on" >= '2015-09-23 18:29:12.972997') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-09-24 18:29:12.975327') AND ("social_networking_goals"."due_on" >= '2015-09-23 18:29:12.975345')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-24"], ["completed_at", "2015-09-22 00:00:00.000000"], ["created_at", "2015-09-24 18:29:12.978928"], ["updated_at", "2015-09-24 18:29:12.978928"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-09-24 18:29:13.002088"], ["updated_at", "2015-09-24 18:29:13.002088"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-09-25"], ["created_at", "2015-09-24 18:29:13.009663"], ["updated_at", "2015-09-24 18:29:13.009663"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::ProfileAnswer Load (0.4ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.4ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-24 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-24 00:00:00.000000"], ["updated_at", "2015-09-24 18:29:13.496332"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-09-24 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-17 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 18:29:13.504448"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-16 00:00:00.000000"], ["updated_at", "2015-09-24 18:29:13.508007"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-17 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (3.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.5ms) SocialNetworking::Mailer#notify: processed outbound mail in 225.4ms Sent mail to obama@ex.co (8.7ms) Date: Thu, 24 Sep 2015 13:29:14 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <560440fa1687c_7eb23fece5460200714@vpn-165-124-164-146.vpn.northwestern.edu.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-24 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-24 00:00:00.000000"], ["updated_at", "2015-09-24 18:29:14.104216"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-24 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-09-24 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-17 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-09-24 18:29:14.112429"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-17 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-24 18:29:14.148486"], ["updated_at", "2015-09-24 18:29:14.148486"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-24 18:29:14.150786"], ["updated_at", "2015-09-24 18:29:14.150786"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-24 18:29:14.157774"], ["updated_at", "2015-09-24 18:29:14.157774"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-24 18:29:14.160192"], ["updated_at", "2015-09-24 18:29:14.160192"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-24 18:29:14.175487"], ["updated_at", "2015-09-24 18:29:14.175487"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-24 18:29:14.178449"], ["updated_at", "2015-09-24 18:29:14.178449"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-09-24 18:29:14.185238"], ["updated_at", "2015-09-24 18:29:14.185238"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-09-24 18:29:14.189011"], ["updated_at", "2015-09-24 18:29:14.189011"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-09-24 18:29:14.219975"], ["updated_at", "2015-09-24 18:29:14.219975"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-09-24 18:29:14.225664"], ["updated_at", "2015-09-24 18:29:14.225664"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-09-24 18:29:14.228540"], ["updated_at", "2015-09-24 18:29:14.228540"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.4ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (2.5ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (14.6ms) DELETE FROM "participants" Fixture Insert (1.0ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 700141617) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.7ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.6ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.6ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.6ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.5ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 700141617) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (1.2ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.9ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.7ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.7ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.6ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.6ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-10-01 20:07:46', '2015-10-01 20:07:46', 129315074)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (1.3ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.8ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (1.3ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.7ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.7ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.6ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.6ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.6ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (1.3ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.7ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_on_the_mind_statements" does not exist LINE 5: WHERE a.attrelid = '"social_networking_on_the... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_on_the_mind_statements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_on_the_mind_statements" does not exist LINE 5: WHERE a.attrelid = '"social_networking_on_the... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_on_the_mind_statements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (40.5ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (36.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (35.6ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.8ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.7ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.6ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.6ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.8ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.6ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.6ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (1.2ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (1.2ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.6ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.8ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.7ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (1.0ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.8ms) SocialNetworking::Mailer#notify: processed outbound mail in 243.8ms Sent mail to obama@ex.co (8.6ms) Date: Thu, 01 Oct 2015 15:07:47 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <560d9293cd5b0_17d143fe0a5c60208405e6@vpn-165-124-161-20.vpn.northwestern.edu.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.7ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (1.1ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.7ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.6ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.6ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.7ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (1.1ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.7ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.8ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.7ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (1.0ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.9ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.7ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (1.1ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.7ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.6ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_on_the_mind_statements" does not exist LINE 5: WHERE a.attrelid = '"social_networking_on_the... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_on_the_mind_statements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (1.0ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.7ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.8ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.8ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.6ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.7ms) ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.9ms) ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_nudges" does not exist LINE 5: WHERE a.attrelid = '"social_networking_nudges... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_nudges"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_shared_items" does not exist LINE 5: WHERE a.attrelid = '"social_networking_shared... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_shared_items"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_shared_items" does not exist LINE 5: WHERE a.attrelid = '"social_networking_shared... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_shared_items"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (14.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (17.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.1ms) BEGIN  (22.8ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (0.5ms) COMMIT Migrating to AddParticipantFields (2)  (5.9ms) BEGIN  (0.4ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.2ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (11.7ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (13.9ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (34.6ms) COMMIT Migrating to AddNullFalseToArms (5)  (11.4ms) BEGIN  (0.3ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.2ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (6.2ms) COMMIT Migrating to AddHasWozToArm (6)  (0.2ms) BEGIN  (22.4ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (0.9ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (5.9ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.1ms) BEGIN  (13.6ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.6ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (0.8ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (6.4ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (6.2ms) BEGIN  (20.2ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.3ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (6.0ms) BEGIN  (20.3ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (2.0ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (6.1ms) BEGIN  (16.2ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (1.2ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (5.5ms) BEGIN  (20.7ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (5.9ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (11.8ms) BEGIN  (13.1ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.1ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (11.9ms) BEGIN  (7.9ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (4.9ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (11.4ms) BEGIN  (13.7ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (11.2ms) BEGIN  (14.8ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (0.4ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (5.8ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (0.9ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (11.7ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (6.3ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.2ms) BEGIN  (6.9ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (6.2ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.2ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (20.1ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (5.5ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.1ms) BEGIN  (19.9ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (5.8ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (5.4ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.1ms) BEGIN  (12.1ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (5.9ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.1ms) BEGIN  (8.7ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (12.5ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (5.9ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2015-10-01 20:07:57.853109"], ["updated_at", "2015-10-01 20:07:57.853109"]] SQL (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2015-10-01 20:07:57.855488"], ["updated_at", "2015-10-01 20:07:57.855488"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2015-10-01 20:07:57.857397"], ["updated_at", "2015-10-01 20:07:57.857397"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2015-10-01 20:07:57.858895"], ["updated_at", "2015-10-01 20:07:57.858895"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2015-10-01 20:07:57.860237"], ["updated_at", "2015-10-01 20:07:57.860237"]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (5.0ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.2ms) BEGIN  (0.7ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (6.4ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.3ms) BEGIN  (0.6ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (6.5ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.2ms) BEGIN SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (5.5ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (11.7ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (6.2ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (11.6ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.1ms) BEGIN  (8.2ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (6.4ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (12.0ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (6.2ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (11.5ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.2ms) BEGIN  (0.6ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (6.1ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.2ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (5.7ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (12.0ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.2ms) BEGIN  (0.7ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (5.8ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.2ms) BEGIN  (6.5ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (11.1ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.2ms) BEGIN  (7.0ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (5.8ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.2ms) BEGIN  (6.6ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (6.7ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (6.1ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.2ms) BEGIN  (6.7ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (6.4ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (5.8ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.4ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.2ms) BEGIN  (6.7ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (6.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (2.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (26.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (6.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 231ms (Views: 230.4ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.5ms) SocialNetworking::Mailer#notify: processed outbound mail in 229.6ms Sent mail to obama@ex.co (9.2ms) Date: Thu, 01 Oct 2015 15:08:05 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <560d92a5bbca_17d293fcfbd0602089092e@vpn-165-124-161-20.vpn.northwestern.edu.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.1ms) ROLLBACK  (2.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-01 20:08:05', '2015-10-01 20:08:05', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-01 20:08:05.000000', '2015-10-01', '2015-10-01 20:08:05', '2015-10-01 20:08:05', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-01 20:08:05', '2015-10-01 20:08:05', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-01 20:08:05', '2015-10-01 20:08:05', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-01 20:08:05.000000', '2015-10-01', '2015-10-01 20:08:05', '2015-10-01 20:08:05', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-30', '2015-10-01 20:08:05', '2015-10-01 20:08:05', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-01 20:08:05', '2015-10-01 20:08:05', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-01 20:08:05.000000', '2015-10-01', '2015-10-01 20:08:05', '2015-10-01 20:08:05', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-01 20:08:05', '2015-10-01 20:08:05', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-01 20:08:05.000000', '2015-10-01', '2015-10-01 20:08:05', '2015-10-01 20:08:05', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-01 20:08:05', '2015-10-01 20:08:05', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-01 20:08:05.000000', '2015-10-01', '2015-10-01 20:08:05', '2015-10-01 20:08:05', 16804933, 816972181)  (6.3ms) COMMIT  (2.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.3ms) BEGIN  (1.6ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.9ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:08:05.123165"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-10-01 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-24 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:08:05.131581"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-01 20:08:05.135578"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-24 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:08:05.156898"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-10-01 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-24 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:08:05.167440"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-01 20:08:05.172165"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-24 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (7.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-01 20:08:05', '2015-10-01 20:08:05', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-01 20:08:05', '2015-10-01 20:08:05', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-30 20:08:05.000000', '2015-10-01 20:08:05', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 20:08:05.000000', '2015-10-01 20:08:05', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-30 20:08:05.000000', '2015-10-01 20:08:05', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 20:08:05.000000', '2015-10-01 20:08:05', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-01 20:08:05', '2015-10-01 20:08:05', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-01 20:08:05', '2015-10-01 20:08:05', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-01 20:08:05', '2015-10-01 20:08:05', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-01 20:08:05', '2015-10-01 20:08:05', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-01 20:08:05', '2015-10-01 20:08:05', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-01 20:08:05', '2015-10-01 20:08:05', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-01 20:08:05', '2015-10-01 20:08:05', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-01 20:08:05', '2015-10-01 20:08:05', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-01 20:08:05', '2015-10-01 20:08:05', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.4ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-01 20:08:05', '2015-10-01 20:08:05', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:08:05.506408"], ["updated_at", "2015-10-01 20:08:05.506408"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-10-01 20:08:05.513446"], ["updated_at", "2015-10-01 20:08:05.513446"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-10-01 20:08:05.516570"], ["updated_at", "2015-10-01 20:08:05.516570"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:08:06 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.5ms) Completed 200 OK in 136ms (Views: 106.4ms | ActiveRecord: 5.5ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-10-01 15:08:07 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-10-01 15:08:07 -0500 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-10-01 15:08:07 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Oct 01 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-10-01 20:08:07.391124"], ["updated_at", "2015-10-01 20:08:07.393868"], ["id", 809335042]]  (6.1ms) COMMIT  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:08:07.404584"], ["updated_at", "2015-10-01 20:08:07.404584"]]  (6.4ms) COMMIT SocialNetworking::Comment Load (0.8ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 29ms (Views: 0.5ms | ActiveRecord: 16.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:08:07 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:08:07 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-10-01 15:08:07 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Oct 01 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-10-01 20:08:07.785195"], ["updated_at", "2015-10-01 20:08:07.787810"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.4ms | ActiveRecord: 3.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:08:07 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 15ms (Views: 2.0ms | ActiveRecord: 1.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-10-01 15:08:07 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-10-15", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-10-15"], ["created_at", "2015-10-01 20:08:08.004241"], ["updated_at", "2015-10-01 20:08:08.004241"]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:08:08.008335"], ["updated_at", "2015-10-01 20:08:08.008335"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.5ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:08:08 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 19ms (Views: 2.1ms | ActiveRecord: 2.5ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-10-01 15:08:08 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-29", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-29"], ["updated_at", "2015-10-01 20:08:08.405197"], ["id", 53334230]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (1.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-01 20:08:08', '2015-10-01 20:08:08', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-01 20:08:08.000000', '2015-10-01', '2015-10-01 20:08:08', '2015-10-01 20:08:08', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-01 20:08:08', '2015-10-01 20:08:08', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-01 20:08:08', '2015-10-01 20:08:08', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-01 20:08:08.000000', '2015-10-01', '2015-10-01 20:08:08', '2015-10-01 20:08:08', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-30', '2015-10-01 20:08:08', '2015-10-01 20:08:08', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-01 20:08:08', '2015-10-01 20:08:08', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-01 20:08:08.000000', '2015-10-01', '2015-10-01 20:08:08', '2015-10-01 20:08:08', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-01 20:08:08', '2015-10-01 20:08:08', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-01 20:08:08.000000', '2015-10-01', '2015-10-01 20:08:08', '2015-10-01 20:08:08', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-01 20:08:08', '2015-10-01 20:08:08', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-01 20:08:08.000000', '2015-10-01', '2015-10-01 20:08:08', '2015-10-01 20:08:08', 16804933, 816972181)  (0.4ms) COMMIT  (1.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-10-01 23:59:59.999999' AND created_at >= '2015-10-01 00:00:00.000000') Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:08:08.504341"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-10-01 23:59:59.999999' AND created_at >= '2015-10-01 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:08:08.512478"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:08:08.520586"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-01 20:08:08.525001"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-24 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (1.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-01 20:08:08', '2015-10-01 20:08:08', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-01 20:08:08', '2015-10-01 20:08:08', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-30 20:08:08.000000', '2015-10-01 20:08:08', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 20:08:08.000000', '2015-10-01 20:08:08', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-30 20:08:08.000000', '2015-10-01 20:08:08', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 20:08:08.000000', '2015-10-01 20:08:08', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-01 20:08:08', '2015-10-01 20:08:08', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-01 20:08:08', '2015-10-01 20:08:08', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-01 20:08:08', '2015-10-01 20:08:08', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-01 20:08:08', '2015-10-01 20:08:08', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-01 20:08:08', '2015-10-01 20:08:08', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-01 20:08:08', '2015-10-01 20:08:08', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-01 20:08:08', '2015-10-01 20:08:08', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-01 20:08:08', '2015-10-01 20:08:08', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-01 20:08:08', '2015-10-01 20:08:08', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-01 20:08:08', '2015-10-01 20:08:08', 809335042, 'SocialNetworking::Goal', 809335042)  (0.9ms) COMMIT  (1.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-10-01 20:08:08.594834"], ["updated_at", "2015-10-01 20:08:08.594834"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-10-01 20:08:08.597681"], ["updated_at", "2015-10-01 20:08:08.597681"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:08:08.685999"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-10-01 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:08:08.697892"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-01 20:08:08.701429"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-10-01"], ["created_at", "2015-10-01 20:08:08.707560"], ["updated_at", "2015-10-01 20:08:08.707560"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-10-01 20:08:08.711982"], ["updated_at", "2015-10-01 20:08:08.711982"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-10-01"], ["completed_at", "2015-09-29 00:00:00.000000"], ["created_at", "2015-10-01 20:08:08.716575"], ["updated_at", "2015-10-01 20:08:08.716575"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-10-01 20:08:08.721568"], ["updated_at", "2015-10-01 20:08:08.721568"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-10-02"], ["created_at", "2015-10-01 20:08:08.729172"], ["updated_at", "2015-10-01 20:08:08.729172"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-10-01 20:08:08.732714') AND ("social_networking_goals"."due_on" >= '2015-09-30 20:08:08.732755')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-10-01 20:08:08.735593') AND ("social_networking_goals"."due_on" >= '2015-09-30 20:08:08.735613') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-10-01 20:08:08.737732') AND ("social_networking_goals"."due_on" >= '2015-09-30 20:08:08.737748')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-01 20:08:08.796998"], ["updated_at", "2015-10-01 20:08:08.796998"]] SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:08:08.801904"], ["updated_at", "2015-10-01 20:08:08.801904"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-01 20:08:08.811471"], ["updated_at", "2015-10-01 20:08:08.811471"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:08:08.814165"], ["updated_at", "2015-10-01 20:08:08.814165"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-01 20:08:08.827818"], ["updated_at", "2015-10-01 20:08:08.827818"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:08:08.830253"], ["updated_at", "2015-10-01 20:08:08.830253"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-01 20:08:08.836703"], ["updated_at", "2015-10-01 20:08:08.836703"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:08:08.839452"], ["updated_at", "2015-10-01 20:08:08.839452"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:08:09.502277"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-10-01 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:08:09.511659"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.3ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (2.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 30ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (2.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-01 20:09:03', '2015-10-01 20:09:03', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-01 20:09:03', '2015-10-01 20:09:03', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-01 20:09:03.000000', '2015-10-01', '2015-10-01 20:09:03', '2015-10-01 20:09:03', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-01 20:09:03', '2015-10-01 20:09:03', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-01 20:09:03', '2015-10-01 20:09:03', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-01 20:09:03.000000', '2015-10-01', '2015-10-01 20:09:03', '2015-10-01 20:09:03', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-30', '2015-10-01 20:09:03', '2015-10-01 20:09:03', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-01 20:09:03', '2015-10-01 20:09:03', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-01 20:09:03.000000', '2015-10-01', '2015-10-01 20:09:03', '2015-10-01 20:09:03', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-01 20:09:03', '2015-10-01 20:09:03', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-01 20:09:03.000000', '2015-10-01', '2015-10-01 20:09:03', '2015-10-01 20:09:03', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-01 20:09:03', '2015-10-01 20:09:03', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-01 20:09:03.000000', '2015-10-01', '2015-10-01 20:09:03', '2015-10-01 20:09:03', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-01 20:09:03', '2015-10-01 20:09:03', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-30 20:09:03.000000', '2015-10-01 20:09:03', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 20:09:03.000000', '2015-10-01 20:09:03', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-30 20:09:03.000000', '2015-10-01 20:09:03', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 20:09:03.000000', '2015-10-01 20:09:03', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-01 20:09:03', '2015-10-01 20:09:03', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-01 20:09:03', '2015-10-01 20:09:03', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-01 20:09:03', '2015-10-01 20:09:03', 465319974, 333620620) Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-01 20:09:03', '2015-10-01 20:09:03', 45443486, 333620620) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-01 20:09:03', '2015-10-01 20:09:03', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-01 20:09:03', '2015-10-01 20:09:03', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-01 20:09:03', '2015-10-01 20:09:03', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-01 20:09:03', '2015-10-01 20:09:03', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-01 20:09:03', '2015-10-01 20:09:03', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-01 20:09:03', '2015-10-01 20:09:03', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-24 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:09:03.859687"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-01 20:09:03.864813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-24 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-10-01 23:59:59.999999' AND created_at >= '2015-10-01 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:09:03.873112"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-10-01 23:59:59.999999' AND created_at >= '2015-10-01 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:09:03.877957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 14ms (Views: 12.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (1.7ms) SocialNetworking::Mailer#notify: processed outbound mail in 204.6ms Sent mail to obama@ex.co (7.6ms) Date: Thu, 01 Oct 2015 15:09:04 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <560d92e022947_17dbf3ff788c602041509f@vpn-165-124-161-20.vpn.northwestern.edu.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-01 20:09:04.198085"], ["updated_at", "2015-10-01 20:09:04.198085"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:09:04.207203"], ["updated_at", "2015-10-01 20:09:04.207203"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-01 20:09:04.214835"], ["updated_at", "2015-10-01 20:09:04.214835"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:09:04.216953"], ["updated_at", "2015-10-01 20:09:04.216953"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-01 20:09:04.222326"], ["updated_at", "2015-10-01 20:09:04.222326"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:09:04.224830"], ["updated_at", "2015-10-01 20:09:04.224830"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-01 20:09:04.240817"], ["updated_at", "2015-10-01 20:09:04.240817"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:09:04.242933"], ["updated_at", "2015-10-01 20:09:04.242933"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-24 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:09:04.259230"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-01 20:09:04.263869"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:09:04.271923"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-10-01 23:59:59.999999')  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:09:04.281003"], ["updated_at", "2015-10-01 20:09:04.281003"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-10-01 20:09:04.286560"], ["updated_at", "2015-10-01 20:09:04.286560"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-10-01 20:09:04.290299"], ["updated_at", "2015-10-01 20:09:04.290299"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.4ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-24 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:09:04.437624"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-01 20:09:04.441931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:09:04.449405"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-10-01 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (2.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:09:05.334691"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-24 00:00:00.000000')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:09:05.352236"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-10-01 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:09:06 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.5ms) Completed 200 OK in 88ms (Views: 60.9ms | ActiveRecord: 6.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-10-01 15:09:06 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-10-01 15:09:06 -0500  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:09:06 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 18ms (Views: 2.1ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-10-01 15:09:06 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-29", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-29"], ["updated_at", "2015-10-01 20:09:06.644087"], ["id", 53334230]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.4ms | ActiveRecord: 2.4ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:09:06 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.8ms) Completed 200 OK in 22ms (Views: 3.0ms | ActiveRecord: 2.2ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-10-01 15:09:06 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Oct 01 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-10-01 20:09:06.951735"], ["updated_at", "2015-10-01 20:09:06.954391"], ["id", 614371357]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.7ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:09:06 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 1.5ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-10-01 15:09:07 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-10-15", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-10-15"], ["created_at", "2015-10-01 20:09:07.274563"], ["updated_at", "2015-10-01 20:09:07.274563"]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:09:07.279083"], ["updated_at", "2015-10-01 20:09:07.279083"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 2.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:09:07 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 19ms (Views: 2.0ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-10-01 15:09:07 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Oct 01 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-10-01 20:09:07.624190"], ["updated_at", "2015-10-01 20:09:07.627315"], ["id", 809335042]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:09:07.631239"], ["updated_at", "2015-10-01 20:09:07.631239"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (1.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.1ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-01 20:09:07', '2015-10-01 20:09:07', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-01 20:09:07', '2015-10-01 20:09:07', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-01 20:09:07.000000', '2015-10-01', '2015-10-01 20:09:07', '2015-10-01 20:09:07', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-01 20:09:07', '2015-10-01 20:09:07', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-01 20:09:07', '2015-10-01 20:09:07', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-01 20:09:07.000000', '2015-10-01', '2015-10-01 20:09:07', '2015-10-01 20:09:07', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-30', '2015-10-01 20:09:07', '2015-10-01 20:09:07', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-01 20:09:07', '2015-10-01 20:09:07', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-01 20:09:07.000000', '2015-10-01', '2015-10-01 20:09:07', '2015-10-01 20:09:07', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-01 20:09:07', '2015-10-01 20:09:07', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-01 20:09:07.000000', '2015-10-01', '2015-10-01 20:09:07', '2015-10-01 20:09:07', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-01 20:09:07', '2015-10-01 20:09:07', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-01 20:09:07.000000', '2015-10-01', '2015-10-01 20:09:07', '2015-10-01 20:09:07', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-01 20:09:07', '2015-10-01 20:09:07', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-30 20:09:07.000000', '2015-10-01 20:09:07', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 20:09:07.000000', '2015-10-01 20:09:07', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-30 20:09:07.000000', '2015-10-01 20:09:07', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 20:09:07.000000', '2015-10-01 20:09:07', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-01 20:09:07', '2015-10-01 20:09:07', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-01 20:09:07', '2015-10-01 20:09:07', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-01 20:09:07', '2015-10-01 20:09:07', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-01 20:09:07', '2015-10-01 20:09:07', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-01 20:09:07', '2015-10-01 20:09:07', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-01 20:09:07', '2015-10-01 20:09:07', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-01 20:09:07', '2015-10-01 20:09:07', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-01 20:09:07', '2015-10-01 20:09:07', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-01 20:09:07', '2015-10-01 20:09:07', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-01 20:09:07', '2015-10-01 20:09:07', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.2ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-10-01 20:09:07.722480"], ["updated_at", "2015-10-01 20:09:07.722480"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-10-01 20:09:07.726207"], ["updated_at", "2015-10-01 20:09:07.726207"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (2.1ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-24 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:09:07.913093"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-01 20:09:07.917614"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:09:07.930403"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-10-01 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-10-01 20:09:07.934998') AND ("social_networking_goals"."due_on" >= '2015-09-30 20:09:07.935040') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-10-01 20:09:07.938507') AND ("social_networking_goals"."due_on" >= '2015-09-30 20:09:07.938526')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-10-01 20:09:07.940300') AND ("social_networking_goals"."due_on" >= '2015-09-30 20:09:07.940318')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-10-01 20:09:07.943873"], ["updated_at", "2015-10-01 20:09:07.943873"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-10-01"], ["created_at", "2015-10-01 20:09:07.948130"], ["updated_at", "2015-10-01 20:09:07.948130"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-10-02"], ["created_at", "2015-10-01 20:09:07.954935"], ["updated_at", "2015-10-01 20:09:07.954935"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-10-01"], ["completed_at", "2015-09-29 00:00:00.000000"], ["created_at", "2015-10-01 20:09:07.959269"], ["updated_at", "2015-10-01 20:09:07.959269"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-10-01 20:09:07.963356"], ["updated_at", "2015-10-01 20:09:07.963356"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.4ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (9.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-01 20:22:04', '2015-10-01 20:22:04', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-01 20:22:04.000000', '2015-10-01', '2015-10-01 20:22:04', '2015-10-01 20:22:04', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-01 20:22:04', '2015-10-01 20:22:04', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-01 20:22:04', '2015-10-01 20:22:04', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-01 20:22:04.000000', '2015-10-01', '2015-10-01 20:22:04', '2015-10-01 20:22:04', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-30', '2015-10-01 20:22:04', '2015-10-01 20:22:04', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-01 20:22:04', '2015-10-01 20:22:04', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-01 20:22:04.000000', '2015-10-01', '2015-10-01 20:22:04', '2015-10-01 20:22:04', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-01 20:22:04', '2015-10-01 20:22:04', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-01 20:22:04.000000', '2015-10-01', '2015-10-01 20:22:04', '2015-10-01 20:22:04', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-01 20:22:04', '2015-10-01 20:22:04', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-01 20:22:04.000000', '2015-10-01', '2015-10-01 20:22:04', '2015-10-01 20:22:04', 16804933, 816972181)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.7ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:22:04.744112"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-10-01 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-24 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:22:04.754022"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-24 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (8.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 18ms (Views: 10.8ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.8ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (2.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-01 20:22:05', '2015-10-01 20:22:05', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-01 20:22:05', '2015-10-01 20:22:05', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-30 20:22:05.000000', '2015-10-01 20:22:05', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 20:22:05.000000', '2015-10-01 20:22:05', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-30 20:22:05.000000', '2015-10-01 20:22:05', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 20:22:05.000000', '2015-10-01 20:22:05', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-01 20:22:05', '2015-10-01 20:22:05', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-01 20:22:05', '2015-10-01 20:22:05', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.5ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-01 20:22:05', '2015-10-01 20:22:05', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-01 20:22:05', '2015-10-01 20:22:05', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-01 20:22:05', '2015-10-01 20:22:05', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-01 20:22:05', '2015-10-01 20:22:05', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-01 20:22:05', '2015-10-01 20:22:05', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-01 20:22:05', '2015-10-01 20:22:05', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-01 20:22:05', '2015-10-01 20:22:05', 183235640, 816972181) Fixture Delete (0.1ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-01 20:22:05', '2015-10-01 20:22:05', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:22:06 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.8ms) Completed 200 OK in 198ms (Views: 161.3ms | ActiveRecord: 5.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-10-01 15:22:06 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-10-01 15:22:06 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-10-01 15:22:07 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Oct 01 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-10-01 20:22:07.050533"], ["updated_at", "2015-10-01 20:22:07.053217"], ["id", 614371357]]  (5.6ms) COMMIT SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 9.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:22:07 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 19ms (Views: 2.2ms | ActiveRecord: 2.5ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-10-01 15:22:07 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-29", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-29"], ["updated_at", "2015-10-01 20:22:07.386927"], ["id", 53334230]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:22:07 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.2ms) Completed 200 OK in 17ms (Views: 3.5ms | ActiveRecord: 1.8ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-10-01 15:22:07 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-10-15", "goal"=>{"description"=>"all of the things"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-10-15"], ["created_at", "2015-10-01 20:22:07.755955"], ["updated_at", "2015-10-01 20:22:07.755955"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:22:07.766471"], ["updated_at", "2015-10-01 20:22:07.766471"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 20ms (Views: 0.3ms | ActiveRecord: 4.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:22:07 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.3ms) Completed 200 OK in 19ms (Views: 3.4ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-10-01 15:22:08 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Oct 01 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-10-01 20:22:08.069457"], ["updated_at", "2015-10-01 20:22:08.072079"], ["id", 809335042]]  (5.6ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:22:08.081542"], ["updated_at", "2015-10-01 20:22:08.081542"]]  (6.2ms) COMMIT SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 26ms (Views: 0.4ms | ActiveRecord: 14.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:22:08 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 17ms (Views: 1.9ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (2.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-01 20:22:08', '2015-10-01 20:22:08', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-01 20:22:08', '2015-10-01 20:22:08', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-01 20:22:08.000000', '2015-10-01', '2015-10-01 20:22:08', '2015-10-01 20:22:08', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-01 20:22:08', '2015-10-01 20:22:08', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-01 20:22:08', '2015-10-01 20:22:08', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-01 20:22:08.000000', '2015-10-01', '2015-10-01 20:22:08', '2015-10-01 20:22:08', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-30', '2015-10-01 20:22:08', '2015-10-01 20:22:08', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-01 20:22:08', '2015-10-01 20:22:08', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-01 20:22:08.000000', '2015-10-01', '2015-10-01 20:22:08', '2015-10-01 20:22:08', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-01 20:22:08', '2015-10-01 20:22:08', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-01 20:22:08.000000', '2015-10-01', '2015-10-01 20:22:08', '2015-10-01 20:22:08', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-01 20:22:08', '2015-10-01 20:22:08', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-01 20:22:08.000000', '2015-10-01', '2015-10-01 20:22:08', '2015-10-01 20:22:08', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-01 20:22:08', '2015-10-01 20:22:08', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-30 20:22:08.000000', '2015-10-01 20:22:08', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 20:22:08.000000', '2015-10-01 20:22:08', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-30 20:22:08.000000', '2015-10-01 20:22:08', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 20:22:08.000000', '2015-10-01 20:22:08', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-01 20:22:08', '2015-10-01 20:22:08', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-01 20:22:08', '2015-10-01 20:22:08', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-01 20:22:08', '2015-10-01 20:22:08', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-01 20:22:08', '2015-10-01 20:22:08', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-01 20:22:08', '2015-10-01 20:22:08', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-01 20:22:08', '2015-10-01 20:22:08', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-01 20:22:08', '2015-10-01 20:22:08', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-01 20:22:08', '2015-10-01 20:22:08', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-01 20:22:08', '2015-10-01 20:22:08', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-01 20:22:08', '2015-10-01 20:22:08', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:22:08.456974"], ["updated_at", "2015-10-01 20:22:08.456974"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-10-01 20:22:08.465756"], ["updated_at", "2015-10-01 20:22:08.465756"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-10-01 20:22:08.468756"], ["updated_at", "2015-10-01 20:22:08.468756"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.8ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-01 20:22:08.692938"], ["updated_at", "2015-10-01 20:22:08.692938"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:22:08.697006"], ["updated_at", "2015-10-01 20:22:08.697006"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-01 20:22:08.704765"], ["updated_at", "2015-10-01 20:22:08.704765"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:22:08.707596"], ["updated_at", "2015-10-01 20:22:08.707596"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.3ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-01 20:22:08.732680"], ["updated_at", "2015-10-01 20:22:08.732680"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:22:08.734724"], ["updated_at", "2015-10-01 20:22:08.734724"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-01 20:22:08.740385"], ["updated_at", "2015-10-01 20:22:08.740385"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:22:08.742561"], ["updated_at", "2015-10-01 20:22:08.742561"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.6ms) SocialNetworking::Mailer#notify: processed outbound mail in 242.8ms Sent mail to obama@ex.co (9.6ms) Date: Thu, 01 Oct 2015 15:22:09 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <560d95f13a9_2403fea6546020096232@vpn-165-124-161-20.vpn.northwestern.edu.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:22:09.051262"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-10-01 23:59:59.999999')  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-24 00:00:00.000000') Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:22:09.065248"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-01 20:22:09.069259"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-10-01 23:59:59.999999' AND created_at >= '2015-10-01 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:22:09.201099"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-10-01 23:59:59.999999' AND created_at >= '2015-10-01 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:22:09.206095"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:22:09.211812"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-01 20:22:09.214261"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-24 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-10-01 20:22:09.335799"], ["updated_at", "2015-10-01 20:22:09.335799"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-10-01 20:22:09.338409"], ["updated_at", "2015-10-01 20:22:09.338409"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:22:09.350801"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-10-01 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:22:09.358303"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-01 20:22:09.362839"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:22:09.416747"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-10-01 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:22:09.426811"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-01 20:22:09.429639"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-10-01"], ["created_at", "2015-10-01 20:22:09.437528"], ["updated_at", "2015-10-01 20:22:09.437528"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-10-01 20:22:09.442049"], ["updated_at", "2015-10-01 20:22:09.442049"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-10-01 20:22:09.447274"], ["updated_at", "2015-10-01 20:22:09.447274"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-10-01"], ["completed_at", "2015-09-29 00:00:00.000000"], ["created_at", "2015-10-01 20:22:09.451500"], ["updated_at", "2015-10-01 20:22:09.451500"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-10-02"], ["created_at", "2015-10-01 20:22:09.455536"], ["updated_at", "2015-10-01 20:22:09.455536"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-10-01 20:22:09.461431') AND ("social_networking_goals"."due_on" >= '2015-09-30 20:22:09.461471')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-10-01 20:22:09.464459') AND ("social_networking_goals"."due_on" >= '2015-09-30 20:22:09.464480') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-10-01 20:22:09.466641') AND ("social_networking_goals"."due_on" >= '2015-09-30 20:22:09.466658')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (2.5ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.6ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-01 20:23:53', '2015-10-01 20:23:53', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-01 20:23:53', '2015-10-01 20:23:53', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-01 20:23:53.000000', '2015-10-01', '2015-10-01 20:23:53', '2015-10-01 20:23:53', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-01 20:23:53', '2015-10-01 20:23:53', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-01 20:23:53', '2015-10-01 20:23:53', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-01 20:23:53.000000', '2015-10-01', '2015-10-01 20:23:53', '2015-10-01 20:23:53', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-30', '2015-10-01 20:23:53', '2015-10-01 20:23:53', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-01 20:23:53', '2015-10-01 20:23:53', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-01 20:23:53.000000', '2015-10-01', '2015-10-01 20:23:53', '2015-10-01 20:23:53', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-01 20:23:53', '2015-10-01 20:23:53', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-01 20:23:53.000000', '2015-10-01', '2015-10-01 20:23:53', '2015-10-01 20:23:53', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-01 20:23:53', '2015-10-01 20:23:53', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-01 20:23:53.000000', '2015-10-01', '2015-10-01 20:23:53', '2015-10-01 20:23:53', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-01 20:23:53', '2015-10-01 20:23:53', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-30 20:23:53.000000', '2015-10-01 20:23:53', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 20:23:53.000000', '2015-10-01 20:23:53', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-30 20:23:53.000000', '2015-10-01 20:23:53', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 20:23:53.000000', '2015-10-01 20:23:53', 316146702, 816972181, 700141617) Fixture Delete (0.6ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-01 20:23:53', '2015-10-01 20:23:53', 576803333, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-01 20:23:53', '2015-10-01 20:23:53', 369066228, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-01 20:23:53', '2015-10-01 20:23:53', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-01 20:23:53', '2015-10-01 20:23:53', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-01 20:23:53', '2015-10-01 20:23:53', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-01 20:23:53', '2015-10-01 20:23:53', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-01 20:23:53', '2015-10-01 20:23:53', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-01 20:23:53', '2015-10-01 20:23:53', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-01 20:23:53', '2015-10-01 20:23:53', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-01 20:23:53', '2015-10-01 20:23:53', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" IS NULL  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 18ms (Views: 16.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (12.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (10.4ms) COMMIT  (4.8ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-24 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:24:05.161674"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-01 20:24:05.165667"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:24:05.207936"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-10-01 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-10-02"], ["created_at", "2015-10-01 20:24:05.219840"], ["updated_at", "2015-10-01 20:24:05.219840"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-10-01"], ["completed_at", "2015-09-29 00:00:00.000000"], ["created_at", "2015-10-01 20:24:05.225123"], ["updated_at", "2015-10-01 20:24:05.225123"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-10-01 20:24:05.229246"], ["updated_at", "2015-10-01 20:24:05.229246"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-10-01"], ["created_at", "2015-10-01 20:24:05.235720"], ["updated_at", "2015-10-01 20:24:05.235720"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-10-01 20:24:05.240183"], ["updated_at", "2015-10-01 20:24:05.240183"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-01 20:24:05', '2015-10-01 20:24:05', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-01 20:24:05', '2015-10-01 20:24:05', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-01 20:24:05.000000', '2015-10-01', '2015-10-01 20:24:05', '2015-10-01 20:24:05', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-01 20:24:05', '2015-10-01 20:24:05', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-01 20:24:05', '2015-10-01 20:24:05', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-01 20:24:05.000000', '2015-10-01', '2015-10-01 20:24:05', '2015-10-01 20:24:05', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-30', '2015-10-01 20:24:05', '2015-10-01 20:24:05', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-01 20:24:05', '2015-10-01 20:24:05', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-01 20:24:05.000000', '2015-10-01', '2015-10-01 20:24:05', '2015-10-01 20:24:05', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-01 20:24:05', '2015-10-01 20:24:05', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-01 20:24:05.000000', '2015-10-01', '2015-10-01 20:24:05', '2015-10-01 20:24:05', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-01 20:24:05', '2015-10-01 20:24:05', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-01 20:24:05.000000', '2015-10-01', '2015-10-01 20:24:05', '2015-10-01 20:24:05', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-01 20:24:05', '2015-10-01 20:24:05', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-30 20:24:05.000000', '2015-10-01 20:24:05', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 20:24:05.000000', '2015-10-01 20:24:05', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-30 20:24:05.000000', '2015-10-01 20:24:05', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 20:24:05.000000', '2015-10-01 20:24:05', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-01 20:24:05', '2015-10-01 20:24:05', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-01 20:24:05', '2015-10-01 20:24:05', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.7ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-01 20:24:05', '2015-10-01 20:24:05', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-01 20:24:05', '2015-10-01 20:24:05', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-01 20:24:05', '2015-10-01 20:24:05', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-01 20:24:05', '2015-10-01 20:24:05', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-01 20:24:05', '2015-10-01 20:24:05', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-01 20:24:05', '2015-10-01 20:24:05', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-01 20:24:05', '2015-10-01 20:24:05', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-01 20:24:05', '2015-10-01 20:24:05', 809335042, 'SocialNetworking::Goal', 809335042)  (0.8ms) COMMIT  (1.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-10-01 20:24:05.309633') AND ("social_networking_goals"."due_on" >= '2015-09-30 20:24:05.309669')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-10-01 20:24:05.315294') AND ("social_networking_goals"."due_on" >= '2015-09-30 20:24:05.315338') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-10-01 20:24:05.318941') AND ("social_networking_goals"."due_on" >= '2015-09-30 20:24:05.318964')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (10.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-10-01 20:24:05.803326"], ["updated_at", "2015-10-01 20:24:05.803326"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-10-01 20:24:05.806798"], ["updated_at", "2015-10-01 20:24:05.806798"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:24:05.901470"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-10-01 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-24 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:24:05.909951"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-01 20:24:05.913378"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:24:05.919128"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-10-01 23:59:59.999999' AND created_at >= '2015-10-01 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:24:05.925495"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-10-01 23:59:59.999999' AND created_at >= '2015-10-01 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:24:05.931989"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-01 20:24:05.934775"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.1ms) Completed 202 Accepted in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.6ms) SocialNetworking::Mailer#notify: processed outbound mail in 245.5ms Sent mail to obama@ex.co (9.0ms) Date: Thu, 01 Oct 2015 15:24:06 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <560d96664521a_3343ff82d860208165dd@vpn-165-124-161-20.vpn.northwestern.edu.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" IS NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-01 20:24:06.502144"], ["updated_at", "2015-10-01 20:24:06.502144"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:24:06.504644"], ["updated_at", "2015-10-01 20:24:06.504644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-01 20:24:06.510601"], ["updated_at", "2015-10-01 20:24:06.510601"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:24:06.512978"], ["updated_at", "2015-10-01 20:24:06.512978"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-01 20:24:06.533842"], ["updated_at", "2015-10-01 20:24:06.533842"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:24:06.536192"], ["updated_at", "2015-10-01 20:24:06.536192"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-01 20:24:06.543104"], ["updated_at", "2015-10-01 20:24:06.543104"]] SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:24:06.546937"], ["updated_at", "2015-10-01 20:24:06.546937"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.5ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:24:06.616422"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-10-01 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:24:06.625002"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:24:06.880347"], ["updated_at", "2015-10-01 20:24:06.880347"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-10-01 20:24:06.885207"], ["updated_at", "2015-10-01 20:24:06.885207"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-10-01 20:24:06.887776"], ["updated_at", "2015-10-01 20:24:06.887776"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:24:07 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (5.9ms) Completed 200 OK in 123ms (Views: 101.2ms | ActiveRecord: 5.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-10-01 15:24:07 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-10-01 15:24:07 -0500 SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-10-01 15:24:07 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-29", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-29"], ["updated_at", "2015-10-01 20:24:07.957559"], ["id", 53334230]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.4ms | ActiveRecord: 2.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:24:08 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 16ms (Views: 1.8ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-10-01 15:24:08 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Oct 01 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-10-01 20:24:08.271308"], ["updated_at", "2015-10-01 20:24:08.274018"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:24:08 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 17ms (Views: 2.0ms | ActiveRecord: 2.0ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-10-01 15:24:08 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-10-15", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-10-15"], ["created_at", "2015-10-01 20:24:08.602477"], ["updated_at", "2015-10-01 20:24:08.602477"]]  (1.6ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:24:08.608354"], ["updated_at", "2015-10-01 20:24:08.608354"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 4.6ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:24:08 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 19ms (Views: 1.9ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-10-01 15:24:08 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Oct 01 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-10-01 20:24:08.904906"], ["updated_at", "2015-10-01 20:24:08.907484"], ["id", 809335042]]  (5.5ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:24:08.916498"], ["updated_at", "2015-10-01 20:24:08.916498"]]  (6.1ms) COMMIT SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 24ms (Views: 0.3ms | ActiveRecord: 14.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:24:08 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 1.9ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (3.2ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:24:09.460178"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-10-01 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-24 00:00:00.000000') Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:24:09.471776"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-01 20:24:09.476989"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-24 00:00:00.000000')  (0.1ms) ROLLBACK  (3.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-01 20:33:11', '2015-10-01 20:33:11', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-01 20:33:11', '2015-10-01 20:33:11', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-01 20:33:11.000000', '2015-10-01', '2015-10-01 20:33:11', '2015-10-01 20:33:11', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-01 20:33:11', '2015-10-01 20:33:11', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-01 20:33:11', '2015-10-01 20:33:11', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-01 20:33:11.000000', '2015-10-01', '2015-10-01 20:33:11', '2015-10-01 20:33:11', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-30', '2015-10-01 20:33:11', '2015-10-01 20:33:11', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-01 20:33:11', '2015-10-01 20:33:11', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-01 20:33:11.000000', '2015-10-01', '2015-10-01 20:33:11', '2015-10-01 20:33:11', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-01 20:33:11', '2015-10-01 20:33:11', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-01 20:33:11.000000', '2015-10-01', '2015-10-01 20:33:11', '2015-10-01 20:33:11', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-01 20:33:11', '2015-10-01 20:33:11', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-01 20:33:11.000000', '2015-10-01', '2015-10-01 20:33:11', '2015-10-01 20:33:11', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-01 20:33:11', '2015-10-01 20:33:11', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-30 20:33:11.000000', '2015-10-01 20:33:11', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 20:33:11.000000', '2015-10-01 20:33:11', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-30 20:33:11.000000', '2015-10-01 20:33:11', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 20:33:11.000000', '2015-10-01 20:33:11', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-01 20:33:11', '2015-10-01 20:33:11', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-01 20:33:11', '2015-10-01 20:33:11', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-01 20:33:11', '2015-10-01 20:33:11', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-01 20:33:11', '2015-10-01 20:33:11', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-01 20:33:11', '2015-10-01 20:33:11', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-01 20:33:11', '2015-10-01 20:33:11', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-01 20:33:11', '2015-10-01 20:33:11', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-01 20:33:11', '2015-10-01 20:33:11', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-01 20:33:11', '2015-10-01 20:33:11', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.4ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-01 20:33:11', '2015-10-01 20:33:11', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.8ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (2.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.8ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:33:11.619881"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-10-01 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:33:11.628931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-01 20:33:11.632431"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 13ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-01 20:33:11.736814"], ["updated_at", "2015-10-01 20:33:11.736814"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:33:11.739599"], ["updated_at", "2015-10-01 20:33:11.739599"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-01 20:33:11.748812"], ["updated_at", "2015-10-01 20:33:11.748812"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:33:11.751042"], ["updated_at", "2015-10-01 20:33:11.751042"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-01 20:33:11.772495"], ["updated_at", "2015-10-01 20:33:11.772495"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:33:11.776192"], ["updated_at", "2015-10-01 20:33:11.776192"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-01 20:33:11.782517"], ["updated_at", "2015-10-01 20:33:11.782517"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:33:11.784817"], ["updated_at", "2015-10-01 20:33:11.784817"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.3ms)  (1.0ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.2ms)  (0.7ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.7ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.9ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:33:12.529092"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-10-01 23:59:59.999999')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-24 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:33:12.541048"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-10-01 20:33:12.602324"], ["updated_at", "2015-10-01 20:33:12.602324"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-10-01 20:33:12.605564"], ["updated_at", "2015-10-01 20:33:12.605564"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-24 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:33:12.671020"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-01 20:33:12.675684"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-24 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-10-01 23:59:59.999999' AND created_at >= '2015-10-01 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:33:12.683368"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-10-01 23:59:59.999999' AND created_at >= '2015-10-01 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:33:12.688394"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:33:13 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.7ms) Completed 200 OK in 110ms (Views: 88.9ms | ActiveRecord: 5.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-10-01 15:33:13 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-10-01 15:33:13 -0500 Started POST "/social_networking/goals" for 127.0.0.1 at 2015-10-01 15:33:13 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-10-15", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-10-15"], ["created_at", "2015-10-01 20:33:13.947068"], ["updated_at", "2015-10-01 20:33:13.947068"]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:33:13.952339"], ["updated_at", "2015-10-01 20:33:13.952339"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.5ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:33:14 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.0ms) Completed 200 OK in 20ms (Views: 3.1ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:33:14 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 2.0ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-10-01 15:33:14 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-29", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-29"], ["updated_at", "2015-10-01 20:33:14.430281"], ["id", 53334230]]  (1.6ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:33:14 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 18ms (Views: 2.1ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-10-01 15:33:14 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Oct 01 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-10-01 20:33:14.749950"], ["updated_at", "2015-10-01 20:33:14.752308"], ["id", 809335042]]  (1.3ms) COMMIT  (0.6ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:33:14.757849"], ["updated_at", "2015-10-01 20:33:14.757849"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 4.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:33:14 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 22ms (Views: 1.9ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-10-01 15:33:15 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Oct 01 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-10-01 20:33:15.056781"], ["updated_at", "2015-10-01 20:33:15.060258"], ["id", 614371357]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 2.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:33:15.129151"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-10-01 23:59:59.999999')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-24 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.7ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:33:15.145232"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-01 20:33:15.150490"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-01 20:33:15', '2015-10-01 20:33:15', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-01 20:33:15', '2015-10-01 20:33:15', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-01 20:33:15.000000', '2015-10-01', '2015-10-01 20:33:15', '2015-10-01 20:33:15', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-01 20:33:15', '2015-10-01 20:33:15', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-01 20:33:15', '2015-10-01 20:33:15', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-01 20:33:15.000000', '2015-10-01', '2015-10-01 20:33:15', '2015-10-01 20:33:15', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-30', '2015-10-01 20:33:15', '2015-10-01 20:33:15', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-01 20:33:15', '2015-10-01 20:33:15', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-01 20:33:15.000000', '2015-10-01', '2015-10-01 20:33:15', '2015-10-01 20:33:15', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-01 20:33:15', '2015-10-01 20:33:15', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-01 20:33:15.000000', '2015-10-01', '2015-10-01 20:33:15', '2015-10-01 20:33:15', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-01 20:33:15', '2015-10-01 20:33:15', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-01 20:33:15.000000', '2015-10-01', '2015-10-01 20:33:15', '2015-10-01 20:33:15', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-01 20:33:15', '2015-10-01 20:33:15', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-30 20:33:15.000000', '2015-10-01 20:33:15', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 20:33:15.000000', '2015-10-01 20:33:15', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-30 20:33:15.000000', '2015-10-01 20:33:15', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 20:33:15.000000', '2015-10-01 20:33:15', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-01 20:33:15', '2015-10-01 20:33:15', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-01 20:33:15', '2015-10-01 20:33:15', 369066228, 816972181) Fixture Delete (0.7ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-01 20:33:15', '2015-10-01 20:33:15', 465319974, 333620620) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-01 20:33:15', '2015-10-01 20:33:15', 45443486, 333620620) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-01 20:33:15', '2015-10-01 20:33:15', 10484799, 183235640) Fixture Delete (0.5ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-01 20:33:15', '2015-10-01 20:33:15', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-01 20:33:15', '2015-10-01 20:33:15', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-01 20:33:15', '2015-10-01 20:33:15', 10484799) Fixture Delete (0.5ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-01 20:33:15', '2015-10-01 20:33:15', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-01 20:33:15', '2015-10-01 20:33:15', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" IS NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.6ms) Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (2.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.6ms) SocialNetworking::Mailer#notify: processed outbound mail in 239.5ms Sent mail to obama@ex.co (8.5ms) Date: Thu, 01 Oct 2015 15:33:15 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <560d988bb6bf0_9543ffbe0c601f820483@vpn-165-124-161-20.vpn.northwestern.edu.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:33:15.763373"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-10-01 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:33:15.770445"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-01 20:33:15.773309"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-10-01 20:33:15.776810') AND ("social_networking_goals"."due_on" >= '2015-09-30 20:33:15.776868')  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-10-01 20:33:15.779718') AND ("social_networking_goals"."due_on" >= '2015-09-30 20:33:15.779738') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-10-01 20:33:15.781978') AND ("social_networking_goals"."due_on" >= '2015-09-30 20:33:15.781995')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-10-01"], ["created_at", "2015-10-01 20:33:15.785283"], ["updated_at", "2015-10-01 20:33:15.785283"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-10-01 20:33:15.789566"], ["updated_at", "2015-10-01 20:33:15.789566"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-10-01"], ["completed_at", "2015-09-29 00:00:00.000000"], ["created_at", "2015-10-01 20:33:15.796061"], ["updated_at", "2015-10-01 20:33:15.796061"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-10-01 20:33:15.800066"], ["updated_at", "2015-10-01 20:33:15.800066"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-10-02"], ["created_at", "2015-10-01 20:33:15.803860"], ["updated_at", "2015-10-01 20:33:15.803860"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:33:15.810554"], ["updated_at", "2015-10-01 20:33:15.810554"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-10-01 20:33:15.816788"], ["updated_at", "2015-10-01 20:33:15.816788"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-10-01 20:33:15.820479"], ["updated_at", "2015-10-01 20:33:15.820479"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 10ms (Views: 9.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (2.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-01 20:38:24', '2015-10-01 20:38:24', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-01 20:38:24', '2015-10-01 20:38:24', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-01 20:38:24.000000', '2015-10-01', '2015-10-01 20:38:24', '2015-10-01 20:38:24', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-01 20:38:24', '2015-10-01 20:38:24', 614371357, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-01 20:38:24', '2015-10-01 20:38:24', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-01 20:38:24.000000', '2015-10-01', '2015-10-01 20:38:24', '2015-10-01 20:38:24', 916373174, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-09-30', '2015-10-01 20:38:24', '2015-10-01 20:38:24', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-01 20:38:24', '2015-10-01 20:38:24', 938656909, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-01 20:38:24.000000', '2015-10-01', '2015-10-01 20:38:24', '2015-10-01 20:38:24', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-01 20:38:24', '2015-10-01 20:38:24', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-01 20:38:24.000000', '2015-10-01', '2015-10-01 20:38:24', '2015-10-01 20:38:24', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-01 20:38:24', '2015-10-01 20:38:24', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-01 20:38:24.000000', '2015-10-01', '2015-10-01 20:38:24', '2015-10-01 20:38:24', 16804933, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-01 20:38:24', '2015-10-01 20:38:24', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-30 20:38:24.000000', '2015-10-01 20:38:24', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 20:38:24.000000', '2015-10-01 20:38:24', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-09-30 20:38:24.000000', '2015-10-01 20:38:24', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 20:38:24.000000', '2015-10-01 20:38:24', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-01 20:38:24', '2015-10-01 20:38:24', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-01 20:38:24', '2015-10-01 20:38:24', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-01 20:38:24', '2015-10-01 20:38:24', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-01 20:38:24', '2015-10-01 20:38:24', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-01 20:38:24', '2015-10-01 20:38:24', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-01 20:38:24', '2015-10-01 20:38:24', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-01 20:38:24', '2015-10-01 20:38:24', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-01 20:38:24', '2015-10-01 20:38:24', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-01 20:38:24', '2015-10-01 20:38:24', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-01 20:38:24', '2015-10-01 20:38:24', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (1.0ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-01 20:38:24.919235"], ["updated_at", "2015-10-01 20:38:24.919235"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:38:24.955187"], ["updated_at", "2015-10-01 20:38:24.955187"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-01 20:38:24.962522"], ["updated_at", "2015-10-01 20:38:24.962522"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:38:24.964604"], ["updated_at", "2015-10-01 20:38:24.964604"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-01 20:38:24.970478"], ["updated_at", "2015-10-01 20:38:24.970478"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:38:24.972879"], ["updated_at", "2015-10-01 20:38:24.972879"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-01 20:38:24.992119"], ["updated_at", "2015-10-01 20:38:24.992119"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:38:24.994931"], ["updated_at", "2015-10-01 20:38:24.994931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-24 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:38:25.016526"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-24 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:38:25.035621"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-10-01 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:38:25.072711"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:38:25.078394"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-01 20:38:25.081123"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-10-01 23:59:59.999999' AND created_at >= '2015-10-01 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:38:25.086961"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-10-01 23:59:59.999999' AND created_at >= '2015-10-01 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (1.5ms) SocialNetworking::Mailer#notify: processed outbound mail in 201.4ms Sent mail to obama@ex.co (6.8ms) Date: Thu, 01 Oct 2015 15:38:25 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <560d99c149017_d343fc1990602087338@vpn-165-124-161-20.vpn.northwestern.edu.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-10-01 20:38:25.410410"], ["updated_at", "2015-10-01 20:38:25.410410"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-10-01 20:38:25.413116"], ["updated_at", "2015-10-01 20:38:25.413116"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.8ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.7ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" IS NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-24 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:38:26.188322"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-01 20:38:26.193029"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:38:26.200115"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-10-01 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:38:26.235879"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-01 20:38:26.239720"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:38:26.247788"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-10-01 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-24 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-01 20:38:26.457399"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-01 20:38:26.462745"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-24 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-01 20:38:26.475449"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-10-01 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-10-02"], ["created_at", "2015-10-01 20:38:26.483299"], ["updated_at", "2015-10-01 20:38:26.483299"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-10-01 20:38:26.489528"], ["updated_at", "2015-10-01 20:38:26.489528"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-10-01"], ["completed_at", "2015-09-29 00:00:00.000000"], ["created_at", "2015-10-01 20:38:26.493781"], ["updated_at", "2015-10-01 20:38:26.493781"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-10-01 20:38:26.496611') AND ("social_networking_goals"."due_on" >= '2015-09-30 20:38:26.496640') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-10-01 20:38:26.499572') AND ("social_networking_goals"."due_on" >= '2015-09-30 20:38:26.499588')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-10-01 20:38:26.501157') AND ("social_networking_goals"."due_on" >= '2015-09-30 20:38:26.501173')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-10-01 20:38:26.504903"], ["updated_at", "2015-10-01 20:38:26.504903"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-10-01"], ["created_at", "2015-10-01 20:38:26.508982"], ["updated_at", "2015-10-01 20:38:26.508982"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:38:26.555804"], ["updated_at", "2015-10-01 20:38:26.555804"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-10-01 20:38:26.560232"], ["updated_at", "2015-10-01 20:38:26.560232"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-10-01 20:38:26.564439"], ["updated_at", "2015-10-01 20:38:26.564439"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (2.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:38:27 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.8ms) Completed 200 OK in 86ms (Views: 59.3ms | ActiveRecord: 6.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-10-01 15:38:27 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-10-01 15:38:27 -0500 SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-10-01 15:38:27 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-29", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-29"], ["updated_at", "2015-10-01 20:38:27.852274"], ["id", 53334230]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.4ms | ActiveRecord: 2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:38:27 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.9ms) Completed 200 OK in 18ms (Views: 2.7ms | ActiveRecord: 2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:38:28 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 19ms (Views: 2.3ms | ActiveRecord: 2.2ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-10-01 15:38:28 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Oct 01 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-10-01 20:38:28.285710"], ["updated_at", "2015-10-01 20:38:28.290167"], ["id", 809335042]]  (2.2ms) COMMIT  (0.7ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:38:28.297407"], ["updated_at", "2015-10-01 20:38:28.297407"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 19ms (Views: 0.3ms | ActiveRecord: 5.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:38:28 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 22ms (Views: 2.3ms | ActiveRecord: 2.3ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-10-01 15:38:28 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Oct 01 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-10-01 20:38:28.565100"], ["updated_at", "2015-10-01 20:38:28.567682"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.4ms | ActiveRecord: 2.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 15:38:28 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 19ms (Views: 1.8ms | ActiveRecord: 2.3ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-10-01 15:38:28 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-10-15", "goal"=>{"description"=>"all of the things"}} Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-10-15"], ["created_at", "2015-10-01 20:38:28.951234"], ["updated_at", "2015-10-01 20:38:28.951234"]]  (1.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-10-01 20:38:28.956968"], ["updated_at", "2015-10-01 20:38:28.956968"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 4.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (2.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.7ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 00:36:12', '2015-10-02 00:36:12', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-02 00:36:12', '2015-10-02 00:36:12', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 00:36:12.000000', '2015-10-01', '2015-10-02 00:36:12', '2015-10-02 00:36:12', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-02 00:36:12', '2015-10-02 00:36:12', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 00:36:12', '2015-10-02 00:36:12', 53334230, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 00:36:12.000000', '2015-10-01', '2015-10-02 00:36:12', '2015-10-02 00:36:12', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 00:36:12', '2015-10-02 00:36:12', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-02 00:36:12', '2015-10-02 00:36:12', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 00:36:12.000000', '2015-10-01', '2015-10-02 00:36:12', '2015-10-02 00:36:12', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-02 00:36:12', '2015-10-02 00:36:12', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 00:36:12.000000', '2015-10-01', '2015-10-02 00:36:12', '2015-10-02 00:36:12', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-02 00:36:12', '2015-10-02 00:36:12', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 00:36:12.000000', '2015-10-01', '2015-10-02 00:36:12', '2015-10-02 00:36:12', 16804933, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 00:36:12', '2015-10-02 00:36:12', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.7ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:36:12.000000', '2015-10-02 00:36:12', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:36:12.000000', '2015-10-02 00:36:12', 366290861, 700141617, 816972181) Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:36:12.000000', '2015-10-02 00:36:12', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:36:12.000000', '2015-10-02 00:36:12', 316146702, 816972181, 700141617) Fixture Delete (0.9ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 00:36:12', '2015-10-02 00:36:12', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 00:36:12', '2015-10-02 00:36:12', 369066228, 816972181) Fixture Delete (0.8ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 00:36:12', '2015-10-02 00:36:12', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 00:36:12', '2015-10-02 00:36:12', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 00:36:12', '2015-10-02 00:36:12', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 00:36:12', '2015-10-02 00:36:12', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 00:36:12', '2015-10-02 00:36:12', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 00:36:12', '2015-10-02 00:36:12', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 00:36:12', '2015-10-02 00:36:12', 183235640, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 00:36:12', '2015-10-02 00:36:12', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (1.0ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]]  (0.2ms) ROLLBACK  (3.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.8ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 00:38:12', '2015-10-02 00:38:12', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-02 00:38:12', '2015-10-02 00:38:12', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 00:38:12.000000', '2015-10-01', '2015-10-02 00:38:12', '2015-10-02 00:38:12', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-02 00:38:12', '2015-10-02 00:38:12', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 00:38:12', '2015-10-02 00:38:12', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 00:38:12.000000', '2015-10-01', '2015-10-02 00:38:12', '2015-10-02 00:38:12', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 00:38:12', '2015-10-02 00:38:12', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-02 00:38:12', '2015-10-02 00:38:12', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 00:38:12.000000', '2015-10-01', '2015-10-02 00:38:12', '2015-10-02 00:38:12', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-02 00:38:12', '2015-10-02 00:38:12', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 00:38:12.000000', '2015-10-01', '2015-10-02 00:38:12', '2015-10-02 00:38:12', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-02 00:38:12', '2015-10-02 00:38:12', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 00:38:12.000000', '2015-10-01', '2015-10-02 00:38:12', '2015-10-02 00:38:12', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 00:38:12', '2015-10-02 00:38:12', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:38:12.000000', '2015-10-02 00:38:12', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:38:12.000000', '2015-10-02 00:38:12', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:38:12.000000', '2015-10-02 00:38:12', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:38:12.000000', '2015-10-02 00:38:12', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 00:38:12', '2015-10-02 00:38:12', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 00:38:12', '2015-10-02 00:38:12', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 00:38:12', '2015-10-02 00:38:12', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 00:38:12', '2015-10-02 00:38:12', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 00:38:12', '2015-10-02 00:38:12', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 00:38:12', '2015-10-02 00:38:12', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 00:38:12', '2015-10-02 00:38:12', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 00:38:12', '2015-10-02 00:38:12', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 00:38:12', '2015-10-02 00:38:12', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 00:38:12', '2015-10-02 00:38:12', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.7ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]]  (0.4ms) ROLLBACK  (1.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 00:39:32', '2015-10-02 00:39:32', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-02 00:39:32', '2015-10-02 00:39:32', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 00:39:32.000000', '2015-10-01', '2015-10-02 00:39:32', '2015-10-02 00:39:32', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-02 00:39:32', '2015-10-02 00:39:32', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 00:39:32', '2015-10-02 00:39:32', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 00:39:32.000000', '2015-10-01', '2015-10-02 00:39:32', '2015-10-02 00:39:32', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 00:39:32', '2015-10-02 00:39:32', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-02 00:39:32', '2015-10-02 00:39:32', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 00:39:32.000000', '2015-10-01', '2015-10-02 00:39:32', '2015-10-02 00:39:32', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-02 00:39:32', '2015-10-02 00:39:32', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 00:39:32.000000', '2015-10-01', '2015-10-02 00:39:32', '2015-10-02 00:39:32', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-02 00:39:32', '2015-10-02 00:39:32', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 00:39:32.000000', '2015-10-01', '2015-10-02 00:39:32', '2015-10-02 00:39:32', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 00:39:32', '2015-10-02 00:39:32', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:39:32.000000', '2015-10-02 00:39:32', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:39:32.000000', '2015-10-02 00:39:32', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:39:32.000000', '2015-10-02 00:39:32', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:39:32.000000', '2015-10-02 00:39:32', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 00:39:32', '2015-10-02 00:39:32', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 00:39:32', '2015-10-02 00:39:32', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 00:39:32', '2015-10-02 00:39:32', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 00:39:32', '2015-10-02 00:39:32', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 00:39:32', '2015-10-02 00:39:32', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 00:39:32', '2015-10-02 00:39:32', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 00:39:32', '2015-10-02 00:39:32', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 00:39:32', '2015-10-02 00:39:32', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 00:39:32', '2015-10-02 00:39:32', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 00:39:32', '2015-10-02 00:39:32', 809335042, 'SocialNetworking::Goal', 809335042)  (1.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.7ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]]  (0.1ms) ROLLBACK  (4.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 00:39:43', '2015-10-02 00:39:43', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-02 00:39:43', '2015-10-02 00:39:43', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 00:39:43.000000', '2015-10-01', '2015-10-02 00:39:43', '2015-10-02 00:39:43', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-02 00:39:43', '2015-10-02 00:39:43', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 00:39:43', '2015-10-02 00:39:43', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 00:39:43.000000', '2015-10-01', '2015-10-02 00:39:43', '2015-10-02 00:39:43', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 00:39:43', '2015-10-02 00:39:43', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-02 00:39:43', '2015-10-02 00:39:43', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 00:39:43.000000', '2015-10-01', '2015-10-02 00:39:43', '2015-10-02 00:39:43', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-02 00:39:43', '2015-10-02 00:39:43', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 00:39:43.000000', '2015-10-01', '2015-10-02 00:39:43', '2015-10-02 00:39:43', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-02 00:39:43', '2015-10-02 00:39:43', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 00:39:43.000000', '2015-10-01', '2015-10-02 00:39:43', '2015-10-02 00:39:43', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 00:39:43', '2015-10-02 00:39:43', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:39:43.000000', '2015-10-02 00:39:43', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:39:43.000000', '2015-10-02 00:39:43', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:39:43.000000', '2015-10-02 00:39:43', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:39:43.000000', '2015-10-02 00:39:43', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 00:39:43', '2015-10-02 00:39:43', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 00:39:43', '2015-10-02 00:39:43', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 00:39:43', '2015-10-02 00:39:43', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 00:39:43', '2015-10-02 00:39:43', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 00:39:43', '2015-10-02 00:39:43', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 00:39:43', '2015-10-02 00:39:43', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 00:39:43', '2015-10-02 00:39:43', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 00:39:43', '2015-10-02 00:39:43', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 00:39:43', '2015-10-02 00:39:43', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 00:39:43', '2015-10-02 00:39:43', 809335042, 'SocialNetworking::Goal', 809335042)  (1.4ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (1.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.5ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]]  (0.1ms) ROLLBACK  (3.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 00:44:59', '2015-10-02 00:44:59', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-02 00:44:59', '2015-10-02 00:44:59', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 00:44:59.000000', '2015-10-01', '2015-10-02 00:44:59', '2015-10-02 00:44:59', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-02 00:44:59', '2015-10-02 00:44:59', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 00:44:59', '2015-10-02 00:44:59', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 00:44:59.000000', '2015-10-01', '2015-10-02 00:44:59', '2015-10-02 00:44:59', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 00:44:59', '2015-10-02 00:44:59', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-02 00:44:59', '2015-10-02 00:44:59', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 00:44:59.000000', '2015-10-01', '2015-10-02 00:44:59', '2015-10-02 00:44:59', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-02 00:44:59', '2015-10-02 00:44:59', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 00:44:59.000000', '2015-10-01', '2015-10-02 00:44:59', '2015-10-02 00:44:59', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-02 00:44:59', '2015-10-02 00:44:59', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 00:44:59.000000', '2015-10-01', '2015-10-02 00:44:59', '2015-10-02 00:44:59', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 00:44:59', '2015-10-02 00:44:59', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:44:59.000000', '2015-10-02 00:44:59', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:44:59.000000', '2015-10-02 00:44:59', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:44:59.000000', '2015-10-02 00:44:59', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:44:59.000000', '2015-10-02 00:44:59', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 00:44:59', '2015-10-02 00:44:59', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 00:44:59', '2015-10-02 00:44:59', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 00:44:59', '2015-10-02 00:44:59', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 00:44:59', '2015-10-02 00:44:59', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 00:44:59', '2015-10-02 00:44:59', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 00:44:59', '2015-10-02 00:44:59', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 00:44:59', '2015-10-02 00:44:59', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 00:44:59', '2015-10-02 00:44:59', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 00:44:59', '2015-10-02 00:44:59', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 00:44:59', '2015-10-02 00:44:59', 809335042, 'SocialNetworking::Goal', 809335042)  (1.9ms) COMMIT  (2.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (1.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.5ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.7ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.7ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]]  (0.2ms) ROLLBACK  (3.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 00:45:14', '2015-10-02 00:45:14', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-02 00:45:14', '2015-10-02 00:45:14', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 00:45:14.000000', '2015-10-01', '2015-10-02 00:45:14', '2015-10-02 00:45:14', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-02 00:45:14', '2015-10-02 00:45:14', 614371357, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 00:45:14', '2015-10-02 00:45:14', 53334230, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 00:45:14.000000', '2015-10-01', '2015-10-02 00:45:14', '2015-10-02 00:45:14', 916373174, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 00:45:14', '2015-10-02 00:45:14', 717544784, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-02 00:45:14', '2015-10-02 00:45:14', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 00:45:14.000000', '2015-10-01', '2015-10-02 00:45:14', '2015-10-02 00:45:14', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-02 00:45:14', '2015-10-02 00:45:14', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 00:45:14.000000', '2015-10-01', '2015-10-02 00:45:14', '2015-10-02 00:45:14', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-02 00:45:14', '2015-10-02 00:45:14', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 00:45:14.000000', '2015-10-01', '2015-10-02 00:45:14', '2015-10-02 00:45:14', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 00:45:14', '2015-10-02 00:45:14', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:45:14.000000', '2015-10-02 00:45:14', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:45:14.000000', '2015-10-02 00:45:14', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:45:14.000000', '2015-10-02 00:45:14', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:45:14.000000', '2015-10-02 00:45:14', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 00:45:14', '2015-10-02 00:45:14', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 00:45:14', '2015-10-02 00:45:14', 369066228, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 00:45:14', '2015-10-02 00:45:14', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 00:45:14', '2015-10-02 00:45:14', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 00:45:14', '2015-10-02 00:45:14', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 00:45:14', '2015-10-02 00:45:14', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 00:45:14', '2015-10-02 00:45:14', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 00:45:14', '2015-10-02 00:45:14', 10484799) Fixture Delete (0.5ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 00:45:14', '2015-10-02 00:45:14', 183235640, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 00:45:14', '2015-10-02 00:45:14', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.5ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.8ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (1.0ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.6ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]]  (0.4ms) ROLLBACK  (3.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 00:46:19', '2015-10-02 00:46:19', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-02 00:46:19', '2015-10-02 00:46:19', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 00:46:19.000000', '2015-10-01', '2015-10-02 00:46:19', '2015-10-02 00:46:19', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-02 00:46:19', '2015-10-02 00:46:19', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 00:46:19', '2015-10-02 00:46:19', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 00:46:19.000000', '2015-10-01', '2015-10-02 00:46:19', '2015-10-02 00:46:19', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 00:46:19', '2015-10-02 00:46:19', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-02 00:46:19', '2015-10-02 00:46:19', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 00:46:19.000000', '2015-10-01', '2015-10-02 00:46:19', '2015-10-02 00:46:19', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-02 00:46:19', '2015-10-02 00:46:19', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 00:46:19.000000', '2015-10-01', '2015-10-02 00:46:19', '2015-10-02 00:46:19', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-02 00:46:19', '2015-10-02 00:46:19', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 00:46:19.000000', '2015-10-01', '2015-10-02 00:46:19', '2015-10-02 00:46:19', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 00:46:19', '2015-10-02 00:46:19', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:46:19.000000', '2015-10-02 00:46:19', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:46:19.000000', '2015-10-02 00:46:19', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:46:19.000000', '2015-10-02 00:46:19', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:46:19.000000', '2015-10-02 00:46:19', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 00:46:19', '2015-10-02 00:46:19', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 00:46:19', '2015-10-02 00:46:19', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 00:46:19', '2015-10-02 00:46:19', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 00:46:19', '2015-10-02 00:46:19', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 00:46:19', '2015-10-02 00:46:19', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 00:46:19', '2015-10-02 00:46:19', 781294868) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 00:46:19', '2015-10-02 00:46:19', 932760744) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 00:46:19', '2015-10-02 00:46:19', 10484799) Fixture Delete (0.5ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 00:46:19', '2015-10-02 00:46:19', 183235640, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 00:46:19', '2015-10-02 00:46:19', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (2.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 00:46:48', '2015-10-02 00:46:48', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-02 00:46:48', '2015-10-02 00:46:48', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 00:46:48.000000', '2015-10-01', '2015-10-02 00:46:48', '2015-10-02 00:46:48', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-02 00:46:48', '2015-10-02 00:46:48', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 00:46:48', '2015-10-02 00:46:48', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 00:46:48.000000', '2015-10-01', '2015-10-02 00:46:48', '2015-10-02 00:46:48', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 00:46:48', '2015-10-02 00:46:48', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-02 00:46:48', '2015-10-02 00:46:48', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 00:46:48.000000', '2015-10-01', '2015-10-02 00:46:48', '2015-10-02 00:46:48', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-02 00:46:48', '2015-10-02 00:46:48', 128166899, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 00:46:48.000000', '2015-10-01', '2015-10-02 00:46:48', '2015-10-02 00:46:48', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-02 00:46:48', '2015-10-02 00:46:48', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 00:46:48.000000', '2015-10-01', '2015-10-02 00:46:48', '2015-10-02 00:46:48', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 00:46:48', '2015-10-02 00:46:48', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:46:48.000000', '2015-10-02 00:46:48', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:46:48.000000', '2015-10-02 00:46:48', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:46:48.000000', '2015-10-02 00:46:48', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:46:48.000000', '2015-10-02 00:46:48', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 00:46:48', '2015-10-02 00:46:48', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 00:46:48', '2015-10-02 00:46:48', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 00:46:48', '2015-10-02 00:46:48', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 00:46:48', '2015-10-02 00:46:48', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 00:46:48', '2015-10-02 00:46:48', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 00:46:48', '2015-10-02 00:46:48', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 00:46:48', '2015-10-02 00:46:48', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 00:46:48', '2015-10-02 00:46:48', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 00:46:48', '2015-10-02 00:46:48', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 00:46:48', '2015-10-02 00:46:48', 809335042, 'SocialNetworking::Goal', 809335042)  (1.5ms) COMMIT  (1.5ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.9ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]]  (0.2ms) ROLLBACK  (5.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 00:47:10', '2015-10-02 00:47:10', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-02 00:47:10', '2015-10-02 00:47:10', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 00:47:10.000000', '2015-10-01', '2015-10-02 00:47:10', '2015-10-02 00:47:10', 576699391, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-02 00:47:10', '2015-10-02 00:47:10', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 00:47:10', '2015-10-02 00:47:10', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 00:47:10.000000', '2015-10-01', '2015-10-02 00:47:10', '2015-10-02 00:47:10', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 00:47:10', '2015-10-02 00:47:10', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-02 00:47:10', '2015-10-02 00:47:10', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 00:47:10.000000', '2015-10-01', '2015-10-02 00:47:10', '2015-10-02 00:47:10', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-02 00:47:10', '2015-10-02 00:47:10', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 00:47:10.000000', '2015-10-01', '2015-10-02 00:47:10', '2015-10-02 00:47:10', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-02 00:47:10', '2015-10-02 00:47:10', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 00:47:10.000000', '2015-10-01', '2015-10-02 00:47:10', '2015-10-02 00:47:10', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 00:47:10', '2015-10-02 00:47:10', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:47:10.000000', '2015-10-02 00:47:10', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:47:10.000000', '2015-10-02 00:47:10', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:47:10.000000', '2015-10-02 00:47:10', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:47:10.000000', '2015-10-02 00:47:10', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 00:47:10', '2015-10-02 00:47:10', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 00:47:10', '2015-10-02 00:47:10', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 00:47:10', '2015-10-02 00:47:10', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 00:47:10', '2015-10-02 00:47:10', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 00:47:10', '2015-10-02 00:47:10', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 00:47:10', '2015-10-02 00:47:10', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 00:47:10', '2015-10-02 00:47:10', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 00:47:10', '2015-10-02 00:47:10', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 00:47:10', '2015-10-02 00:47:10', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 00:47:10', '2015-10-02 00:47:10', 809335042, 'SocialNetworking::Goal', 809335042)  (1.5ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.7ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.7ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]]  (0.1ms) ROLLBACK  (4.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 00:48:06', '2015-10-02 00:48:06', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-02 00:48:06', '2015-10-02 00:48:06', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 00:48:06.000000', '2015-10-01', '2015-10-02 00:48:06', '2015-10-02 00:48:06', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-02 00:48:06', '2015-10-02 00:48:06', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 00:48:06', '2015-10-02 00:48:06', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 00:48:06.000000', '2015-10-01', '2015-10-02 00:48:06', '2015-10-02 00:48:06', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 00:48:06', '2015-10-02 00:48:06', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-02 00:48:06', '2015-10-02 00:48:06', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 00:48:06.000000', '2015-10-01', '2015-10-02 00:48:06', '2015-10-02 00:48:06', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-02 00:48:06', '2015-10-02 00:48:06', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 00:48:06.000000', '2015-10-01', '2015-10-02 00:48:06', '2015-10-02 00:48:06', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-02 00:48:06', '2015-10-02 00:48:06', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 00:48:06.000000', '2015-10-01', '2015-10-02 00:48:06', '2015-10-02 00:48:06', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 00:48:06', '2015-10-02 00:48:06', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:48:06.000000', '2015-10-02 00:48:06', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:48:06.000000', '2015-10-02 00:48:06', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:48:06.000000', '2015-10-02 00:48:06', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:48:06.000000', '2015-10-02 00:48:06', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 00:48:06', '2015-10-02 00:48:06', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 00:48:06', '2015-10-02 00:48:06', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 00:48:06', '2015-10-02 00:48:06', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 00:48:06', '2015-10-02 00:48:06', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 00:48:06', '2015-10-02 00:48:06', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 00:48:06', '2015-10-02 00:48:06', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 00:48:06', '2015-10-02 00:48:06', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 00:48:06', '2015-10-02 00:48:06', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.4ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 00:48:06', '2015-10-02 00:48:06', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 00:48:06', '2015-10-02 00:48:06', 809335042, 'SocialNetworking::Goal', 809335042)  (544.6ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.7ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]]  (0.1ms) ROLLBACK  (3.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.6ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 00:48:23', '2015-10-02 00:48:23', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-02 00:48:23', '2015-10-02 00:48:23', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 00:48:23.000000', '2015-10-01', '2015-10-02 00:48:23', '2015-10-02 00:48:23', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-02 00:48:23', '2015-10-02 00:48:23', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 00:48:23', '2015-10-02 00:48:23', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 00:48:23.000000', '2015-10-01', '2015-10-02 00:48:23', '2015-10-02 00:48:23', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 00:48:23', '2015-10-02 00:48:23', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-02 00:48:23', '2015-10-02 00:48:23', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 00:48:23.000000', '2015-10-01', '2015-10-02 00:48:23', '2015-10-02 00:48:23', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-02 00:48:23', '2015-10-02 00:48:23', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 00:48:23.000000', '2015-10-01', '2015-10-02 00:48:23', '2015-10-02 00:48:23', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-02 00:48:23', '2015-10-02 00:48:23', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 00:48:23.000000', '2015-10-01', '2015-10-02 00:48:23', '2015-10-02 00:48:23', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 00:48:23', '2015-10-02 00:48:23', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:48:23.000000', '2015-10-02 00:48:23', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:48:23.000000', '2015-10-02 00:48:23', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:48:23.000000', '2015-10-02 00:48:23', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:48:23.000000', '2015-10-02 00:48:23', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 00:48:23', '2015-10-02 00:48:23', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 00:48:23', '2015-10-02 00:48:23', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 00:48:23', '2015-10-02 00:48:23', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 00:48:23', '2015-10-02 00:48:23', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 00:48:23', '2015-10-02 00:48:23', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 00:48:23', '2015-10-02 00:48:23', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 00:48:23', '2015-10-02 00:48:23', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 00:48:23', '2015-10-02 00:48:23', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 00:48:23', '2015-10-02 00:48:23', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 00:48:23', '2015-10-02 00:48:23', 809335042, 'SocialNetworking::Goal', 809335042)  (1.4ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 10 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.7ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 10 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 10 [["participant_id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 10 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 10 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.7ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 10 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]]  (0.1ms) ROLLBACK  (4.4ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 00:48:35', '2015-10-02 00:48:35', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-02 00:48:35', '2015-10-02 00:48:35', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 00:48:35.000000', '2015-10-01', '2015-10-02 00:48:35', '2015-10-02 00:48:35', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-02 00:48:35', '2015-10-02 00:48:35', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 00:48:35', '2015-10-02 00:48:35', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 00:48:35.000000', '2015-10-01', '2015-10-02 00:48:35', '2015-10-02 00:48:35', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 00:48:35', '2015-10-02 00:48:35', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-02 00:48:35', '2015-10-02 00:48:35', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 00:48:35.000000', '2015-10-01', '2015-10-02 00:48:35', '2015-10-02 00:48:35', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-02 00:48:35', '2015-10-02 00:48:35', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 00:48:35.000000', '2015-10-01', '2015-10-02 00:48:35', '2015-10-02 00:48:35', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-02 00:48:35', '2015-10-02 00:48:35', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 00:48:35.000000', '2015-10-01', '2015-10-02 00:48:35', '2015-10-02 00:48:35', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 00:48:35', '2015-10-02 00:48:35', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:48:35.000000', '2015-10-02 00:48:35', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:48:35.000000', '2015-10-02 00:48:35', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:48:35.000000', '2015-10-02 00:48:35', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:48:35.000000', '2015-10-02 00:48:35', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 00:48:35', '2015-10-02 00:48:35', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 00:48:35', '2015-10-02 00:48:35', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 00:48:35', '2015-10-02 00:48:35', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 00:48:35', '2015-10-02 00:48:35', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 00:48:35', '2015-10-02 00:48:35', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 00:48:35', '2015-10-02 00:48:35', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 00:48:35', '2015-10-02 00:48:35', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 00:48:35', '2015-10-02 00:48:35', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 00:48:35', '2015-10-02 00:48:35', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 00:48:35', '2015-10-02 00:48:35', 809335042, 'SocialNetworking::Goal', 809335042)  (1.7ms) COMMIT  (1.8ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]]  (0.2ms) ROLLBACK  (4.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 00:49:17', '2015-10-02 00:49:17', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-02 00:49:17', '2015-10-02 00:49:17', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 00:49:17.000000', '2015-10-01', '2015-10-02 00:49:17', '2015-10-02 00:49:17', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-02 00:49:17', '2015-10-02 00:49:17', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 00:49:17', '2015-10-02 00:49:17', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 00:49:17.000000', '2015-10-01', '2015-10-02 00:49:17', '2015-10-02 00:49:17', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 00:49:17', '2015-10-02 00:49:17', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-02 00:49:17', '2015-10-02 00:49:17', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 00:49:17.000000', '2015-10-01', '2015-10-02 00:49:17', '2015-10-02 00:49:17', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-02 00:49:17', '2015-10-02 00:49:17', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 00:49:17.000000', '2015-10-01', '2015-10-02 00:49:17', '2015-10-02 00:49:17', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-02 00:49:17', '2015-10-02 00:49:17', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 00:49:17.000000', '2015-10-01', '2015-10-02 00:49:17', '2015-10-02 00:49:17', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 00:49:17', '2015-10-02 00:49:17', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:49:17.000000', '2015-10-02 00:49:17', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:49:17.000000', '2015-10-02 00:49:17', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:49:17.000000', '2015-10-02 00:49:17', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:49:17.000000', '2015-10-02 00:49:17', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 00:49:17', '2015-10-02 00:49:17', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 00:49:17', '2015-10-02 00:49:17', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 00:49:17', '2015-10-02 00:49:17', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 00:49:17', '2015-10-02 00:49:17', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 00:49:17', '2015-10-02 00:49:17', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 00:49:17', '2015-10-02 00:49:17', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 00:49:17', '2015-10-02 00:49:17', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 00:49:17', '2015-10-02 00:49:17', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 00:49:17', '2015-10-02 00:49:17', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 00:49:17', '2015-10-02 00:49:17', 809335042, 'SocialNetworking::Goal', 809335042)  (1.9ms) COMMIT  (1.9ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Comment Load (1.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 1 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 1 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861) SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 1 [["participant_id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 1 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 1 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861) SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]]  (0.2ms) ROLLBACK  (3.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 00:50:17', '2015-10-02 00:50:17', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-02 00:50:17', '2015-10-02 00:50:17', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 00:50:17.000000', '2015-10-01', '2015-10-02 00:50:17', '2015-10-02 00:50:17', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-02 00:50:17', '2015-10-02 00:50:17', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 00:50:17', '2015-10-02 00:50:17', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 00:50:17.000000', '2015-10-01', '2015-10-02 00:50:17', '2015-10-02 00:50:17', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 00:50:17', '2015-10-02 00:50:17', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-02 00:50:17', '2015-10-02 00:50:17', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 00:50:17.000000', '2015-10-01', '2015-10-02 00:50:17', '2015-10-02 00:50:17', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-02 00:50:17', '2015-10-02 00:50:17', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 00:50:17.000000', '2015-10-01', '2015-10-02 00:50:17', '2015-10-02 00:50:17', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-02 00:50:17', '2015-10-02 00:50:17', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 00:50:17.000000', '2015-10-01', '2015-10-02 00:50:17', '2015-10-02 00:50:17', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 00:50:17', '2015-10-02 00:50:17', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:50:17.000000', '2015-10-02 00:50:17', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:50:17.000000', '2015-10-02 00:50:17', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:50:17.000000', '2015-10-02 00:50:17', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:50:17.000000', '2015-10-02 00:50:17', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 00:50:17', '2015-10-02 00:50:17', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 00:50:17', '2015-10-02 00:50:17', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 00:50:17', '2015-10-02 00:50:17', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 00:50:17', '2015-10-02 00:50:17', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 00:50:17', '2015-10-02 00:50:17', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 00:50:17', '2015-10-02 00:50:17', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 00:50:17', '2015-10-02 00:50:17', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 00:50:17', '2015-10-02 00:50:17', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 00:50:17', '2015-10-02 00:50:17', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 00:50:17', '2015-10-02 00:50:17', 809335042, 'SocialNetworking::Goal', 809335042)  (1.8ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.7ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 1 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861) SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 1 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 1 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 1 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 1 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 1 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 1 [["participant_id", 700141617]]  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 00:53:17', '2015-10-02 00:53:17', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-02 00:53:17', '2015-10-02 00:53:17', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 00:53:17.000000', '2015-10-01', '2015-10-02 00:53:17', '2015-10-02 00:53:17', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-02 00:53:17', '2015-10-02 00:53:17', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 00:53:17', '2015-10-02 00:53:17', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 00:53:17.000000', '2015-10-01', '2015-10-02 00:53:17', '2015-10-02 00:53:17', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 00:53:17', '2015-10-02 00:53:17', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-02 00:53:17', '2015-10-02 00:53:17', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 00:53:17.000000', '2015-10-01', '2015-10-02 00:53:17', '2015-10-02 00:53:17', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-02 00:53:17', '2015-10-02 00:53:17', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 00:53:17.000000', '2015-10-01', '2015-10-02 00:53:17', '2015-10-02 00:53:17', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-02 00:53:17', '2015-10-02 00:53:17', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 00:53:17.000000', '2015-10-01', '2015-10-02 00:53:17', '2015-10-02 00:53:17', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 00:53:17', '2015-10-02 00:53:17', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:53:17.000000', '2015-10-02 00:53:17', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:53:17.000000', '2015-10-02 00:53:17', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:53:17.000000', '2015-10-02 00:53:17', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:53:17.000000', '2015-10-02 00:53:17', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 00:53:17', '2015-10-02 00:53:17', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 00:53:17', '2015-10-02 00:53:17', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 00:53:17', '2015-10-02 00:53:17', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 00:53:17', '2015-10-02 00:53:17', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 00:53:17', '2015-10-02 00:53:17', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 00:53:17', '2015-10-02 00:53:17', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 00:53:17', '2015-10-02 00:53:17', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 00:53:17', '2015-10-02 00:53:17', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 00:53:17', '2015-10-02 00:53:17', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 00:53:17', '2015-10-02 00:53:17', 809335042, 'SocialNetworking::Goal', 809335042)  (1.7ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.6ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]]  (0.1ms) ROLLBACK  (4.4ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 00:54:43', '2015-10-02 00:54:43', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-02 00:54:43', '2015-10-02 00:54:43', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 00:54:43.000000', '2015-10-01', '2015-10-02 00:54:43', '2015-10-02 00:54:43', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-02 00:54:43', '2015-10-02 00:54:43', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 00:54:43', '2015-10-02 00:54:43', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 00:54:43.000000', '2015-10-01', '2015-10-02 00:54:43', '2015-10-02 00:54:43', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 00:54:43', '2015-10-02 00:54:43', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-02 00:54:43', '2015-10-02 00:54:43', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 00:54:43.000000', '2015-10-01', '2015-10-02 00:54:43', '2015-10-02 00:54:43', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-02 00:54:43', '2015-10-02 00:54:43', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 00:54:43.000000', '2015-10-01', '2015-10-02 00:54:43', '2015-10-02 00:54:43', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-02 00:54:43', '2015-10-02 00:54:43', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 00:54:43.000000', '2015-10-01', '2015-10-02 00:54:43', '2015-10-02 00:54:43', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 00:54:43', '2015-10-02 00:54:43', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:54:43.000000', '2015-10-02 00:54:43', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:54:43.000000', '2015-10-02 00:54:43', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:54:43.000000', '2015-10-02 00:54:43', 931788854, 816972181, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:54:43.000000', '2015-10-02 00:54:43', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 00:54:43', '2015-10-02 00:54:43', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 00:54:43', '2015-10-02 00:54:43', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.5ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 00:54:43', '2015-10-02 00:54:43', 465319974, 333620620) Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 00:54:43', '2015-10-02 00:54:43', 45443486, 333620620) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 00:54:43', '2015-10-02 00:54:43', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 00:54:43', '2015-10-02 00:54:43', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 00:54:43', '2015-10-02 00:54:43', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 00:54:43', '2015-10-02 00:54:43', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 00:54:43', '2015-10-02 00:54:43', 183235640, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 00:54:43', '2015-10-02 00:54:43', 809335042, 'SocialNetworking::Goal', 809335042)  (1.9ms) COMMIT  (1.8ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.7ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]]  (0.2ms) ROLLBACK  (4.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 00:55:57', '2015-10-02 00:55:57', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-02 00:55:57', '2015-10-02 00:55:57', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 00:55:57.000000', '2015-10-01', '2015-10-02 00:55:57', '2015-10-02 00:55:57', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-02 00:55:57', '2015-10-02 00:55:57', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 00:55:57', '2015-10-02 00:55:57', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 00:55:57.000000', '2015-10-01', '2015-10-02 00:55:57', '2015-10-02 00:55:57', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 00:55:57', '2015-10-02 00:55:57', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-02 00:55:57', '2015-10-02 00:55:57', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 00:55:57.000000', '2015-10-01', '2015-10-02 00:55:57', '2015-10-02 00:55:57', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-02 00:55:57', '2015-10-02 00:55:57', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 00:55:57.000000', '2015-10-01', '2015-10-02 00:55:57', '2015-10-02 00:55:57', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-02 00:55:57', '2015-10-02 00:55:57', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 00:55:57.000000', '2015-10-01', '2015-10-02 00:55:57', '2015-10-02 00:55:57', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 00:55:57', '2015-10-02 00:55:57', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:55:57.000000', '2015-10-02 00:55:57', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:55:57.000000', '2015-10-02 00:55:57', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 00:55:57.000000', '2015-10-02 00:55:57', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 00:55:57.000000', '2015-10-02 00:55:57', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 00:55:57', '2015-10-02 00:55:57', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 00:55:57', '2015-10-02 00:55:57', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 00:55:57', '2015-10-02 00:55:57', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 00:55:57', '2015-10-02 00:55:57', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 00:55:57', '2015-10-02 00:55:57', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 00:55:57', '2015-10-02 00:55:57', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 00:55:57', '2015-10-02 00:55:57', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 00:55:57', '2015-10-02 00:55:57', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 00:55:57', '2015-10-02 00:55:57', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 00:55:57', '2015-10-02 00:55:57', 809335042, 'SocialNetworking::Goal', 809335042)  (1.9ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.7ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.6ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_comments"."item_id" IN (576803333) SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."item_id" IN (576803333) Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_type" = 'SocialNetworking::Nudge' AND "social_networking_comments"."item_id" IN (366290861, 503297012) SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.1ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.5ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.7ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.6ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]]  (0.2ms) ROLLBACK  (0.3ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.5ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.8ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::OnTheMindStatement Load (0.5ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (1.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::SharedItem Load (0.6ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::OnTheMindStatement Load (0.5ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.8ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::SharedItem Load (0.6ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.5ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::SharedItem Load (0.6ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.7ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::SharedItem Load (0.6ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.6ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.6ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::OnTheMindStatement Load (0.5ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]]  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.6ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (1.0ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (1.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.6ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (8.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 01:20:27', '2015-10-02 01:20:27', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-02 01:20:27', '2015-10-02 01:20:27', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 01:20:27.000000', '2015-10-01', '2015-10-02 01:20:27', '2015-10-02 01:20:27', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-02 01:20:27', '2015-10-02 01:20:27', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 01:20:27', '2015-10-02 01:20:27', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 01:20:27.000000', '2015-10-01', '2015-10-02 01:20:27', '2015-10-02 01:20:27', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 01:20:27', '2015-10-02 01:20:27', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-02 01:20:27', '2015-10-02 01:20:27', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 01:20:27.000000', '2015-10-01', '2015-10-02 01:20:27', '2015-10-02 01:20:27', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-02 01:20:27', '2015-10-02 01:20:27', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 01:20:27.000000', '2015-10-01', '2015-10-02 01:20:27', '2015-10-02 01:20:27', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-02 01:20:27', '2015-10-02 01:20:27', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 01:20:27.000000', '2015-10-01', '2015-10-02 01:20:27', '2015-10-02 01:20:27', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 01:20:27', '2015-10-02 01:20:27', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 01:20:27.000000', '2015-10-02 01:20:27', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 01:20:27.000000', '2015-10-02 01:20:27', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 01:20:27.000000', '2015-10-02 01:20:27', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 01:20:27.000000', '2015-10-02 01:20:27', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 01:20:27', '2015-10-02 01:20:27', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 01:20:27', '2015-10-02 01:20:27', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 01:20:27', '2015-10-02 01:20:27', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 01:20:27', '2015-10-02 01:20:27', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 01:20:27', '2015-10-02 01:20:27', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 01:20:27', '2015-10-02 01:20:27', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 01:20:27', '2015-10-02 01:20:27', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 01:20:27', '2015-10-02 01:20:27', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 01:20:27', '2015-10-02 01:20:27', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 01:20:27', '2015-10-02 01:20:27', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.9ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (2.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.1ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.7ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-02 01:20:27.380036"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-10-01 23:59:59.999999')  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-25 00:00:00.000000') Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-02 01:20:27.392712"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-25 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-02 01:20:27.457539"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-10-01 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-25 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-02 01:20:27.466506"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-02 01:20:27.470047"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-25 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-10-02 01:20:27.478204"], ["updated_at", "2015-10-02 01:20:27.478204"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-10-02 01:20:27.484191"], ["updated_at", "2015-10-02 01:20:27.484191"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-10-02 01:20:27.487970"], ["updated_at", "2015-10-02 01:20:27.487970"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-10-02 01:20:27.535465"], ["updated_at", "2015-10-02 01:20:27.535465"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-10-02 01:20:27.539066"], ["updated_at", "2015-10-02 01:20:27.539066"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-02 01:20:27.711723"], ["updated_at", "2015-10-02 01:20:27.711723"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-02 01:20:27.714238"], ["updated_at", "2015-10-02 01:20:27.714238"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-02 01:20:27.719689"], ["updated_at", "2015-10-02 01:20:27.719689"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-02 01:20:27.721897"], ["updated_at", "2015-10-02 01:20:27.721897"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-02 01:20:27.739275"], ["updated_at", "2015-10-02 01:20:27.739275"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-02 01:20:27.741593"], ["updated_at", "2015-10-02 01:20:27.741593"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-02 01:20:27.746757"], ["updated_at", "2015-10-02 01:20:27.746757"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-02 01:20:27.748844"], ["updated_at", "2015-10-02 01:20:27.748844"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 20:20:29 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.0ms) Completed 200 OK in 110ms (Views: 85.6ms | ActiveRecord: 4.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-10-01 20:20:29 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-10-01 20:20:29 -0500 Started POST "/social_networking/goals" for 127.0.0.1 at 2015-10-01 20:20:30 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-10-15", "goal"=>{"description"=>"all of the things"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-10-15"], ["created_at", "2015-10-02 01:20:30.291856"], ["updated_at", "2015-10-02 01:20:30.291856"]]  (6.4ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-10-02 01:20:30.302499"], ["updated_at", "2015-10-02 01:20:30.302499"]]  (5.1ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 23ms (Views: 0.3ms | ActiveRecord: 15.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 20:20:30 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 19ms (Views: 2.1ms | ActiveRecord: 2.3ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-10-01 20:20:30 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Oct 01 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-10-02 01:20:30.605816"], ["updated_at", "2015-10-02 01:20:30.609167"], ["id", 809335042]]  (2.2ms) COMMIT  (0.4ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-10-02 01:20:30.617154"], ["updated_at", "2015-10-02 01:20:30.617154"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 18ms (Views: 0.4ms | ActiveRecord: 5.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 20:20:30 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.8ms) Completed 200 OK in 18ms (Views: 2.7ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-10-01 20:20:30 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Oct 01 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-10-02 01:20:30.884924"], ["updated_at", "2015-10-02 01:20:30.887658"], ["id", 614371357]]  (0.6ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 2.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 20:20:30 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-10-01 20:20:31 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-29", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-29"], ["updated_at", "2015-10-02 01:20:31.097476"], ["id", 53334230]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-01 20:20:31 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 15ms (Views: 2.0ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (3.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 01:20:31', '2015-10-02 01:20:31', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-01', '2015-10-02 01:20:31', '2015-10-02 01:20:31', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 01:20:31.000000', '2015-10-01', '2015-10-02 01:20:31', '2015-10-02 01:20:31', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-01', '2015-10-02 01:20:31', '2015-10-02 01:20:31', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 01:20:31', '2015-10-02 01:20:31', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 01:20:31.000000', '2015-10-01', '2015-10-02 01:20:31', '2015-10-02 01:20:31', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 01:20:31', '2015-10-02 01:20:31', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-29', '2015-10-02 01:20:31', '2015-10-02 01:20:31', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 01:20:31.000000', '2015-10-01', '2015-10-02 01:20:31', '2015-10-02 01:20:31', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-01', '2015-10-02 01:20:31', '2015-10-02 01:20:31', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 01:20:31.000000', '2015-10-01', '2015-10-02 01:20:31', '2015-10-02 01:20:31', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-01', '2015-10-02 01:20:31', '2015-10-02 01:20:31', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 01:20:31.000000', '2015-10-01', '2015-10-02 01:20:31', '2015-10-02 01:20:31', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 01:20:31', '2015-10-02 01:20:31', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 01:20:31.000000', '2015-10-02 01:20:31', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 01:20:31.000000', '2015-10-02 01:20:31', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 01:20:31.000000', '2015-10-02 01:20:31', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 01:20:31.000000', '2015-10-02 01:20:31', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 01:20:31', '2015-10-02 01:20:31', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 01:20:31', '2015-10-02 01:20:31', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 01:20:31', '2015-10-02 01:20:31', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 01:20:31', '2015-10-02 01:20:31', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 01:20:31', '2015-10-02 01:20:31', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 01:20:31', '2015-10-02 01:20:31', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 01:20:31', '2015-10-02 01:20:31', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 01:20:31', '2015-10-02 01:20:31', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 01:20:31', '2015-10-02 01:20:31', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 01:20:31', '2015-10-02 01:20:31', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" IS NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.6ms) SocialNetworking::Mailer#notify: processed outbound mail in 236.6ms Sent mail to obama@ex.co (9.3ms) Date: Thu, 01 Oct 2015 20:20:32 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <560ddbe032331_6cc33fcf448601fc4734@JohnDeere.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Like Load (0.6ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-02 01:20:32.240000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-10-01 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-25 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-02 01:20:32.249316"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-02 01:20:32.253115"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-25 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.5ms) Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-10-01 23:59:59.999999' AND created_at >= '2015-10-01 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-02 01:20:32.876629"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-10-01 23:59:59.999999' AND created_at >= '2015-10-01 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-02 01:20:32.882989"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-25 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-02 01:20:32.887934"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-02 01:20:32.890566"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-25 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-10-01 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-10-01 00:00:00.000000"], ["updated_at", "2015-10-02 01:20:32.901291"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-10-01 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-10-01 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-25 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-30 00:00:00.000000"], ["updated_at", "2015-10-02 01:20:32.907707"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-23 00:00:00.000000"], ["updated_at", "2015-10-02 01:20:32.910572"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-25 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-10-01"], ["created_at", "2015-10-02 01:20:32.918937"], ["updated_at", "2015-10-02 01:20:32.918937"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-10-02 01:20:32.923088"], ["updated_at", "2015-10-02 01:20:32.923088"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-10-01"], ["completed_at", "2015-09-29 00:00:00.000000"], ["created_at", "2015-10-02 01:20:32.927190"], ["updated_at", "2015-10-02 01:20:32.927190"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-10-02 01:20:32.931226"], ["updated_at", "2015-10-02 01:20:32.931226"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-10-02"], ["created_at", "2015-10-02 01:20:32.935008"], ["updated_at", "2015-10-02 01:20:32.935008"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-10-02 01:20:32.940078') AND ("social_networking_goals"."due_on" >= '2015-10-01 01:20:32.940115')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-10-02 01:20:32.942790') AND ("social_networking_goals"."due_on" >= '2015-10-01 01:20:32.942811') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-10-02 01:20:32.944877') AND ("social_networking_goals"."due_on" >= '2015-10-01 01:20:32.944893')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.5ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.6ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (2.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (6.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.6ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 21:22:23', '2015-10-02 21:22:23', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-02', '2015-10-02 21:22:23', '2015-10-02 21:22:23', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 21:22:23.000000', '2015-10-02', '2015-10-02 21:22:23', '2015-10-02 21:22:23', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-02', '2015-10-02 21:22:23', '2015-10-02 21:22:23', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 21:22:23', '2015-10-02 21:22:23', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 21:22:23.000000', '2015-10-02', '2015-10-02 21:22:23', '2015-10-02 21:22:23', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 21:22:23', '2015-10-02 21:22:23', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-30', '2015-10-02 21:22:23', '2015-10-02 21:22:23', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 21:22:23.000000', '2015-10-02', '2015-10-02 21:22:23', '2015-10-02 21:22:23', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-02', '2015-10-02 21:22:23', '2015-10-02 21:22:23', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 21:22:23.000000', '2015-10-02', '2015-10-02 21:22:23', '2015-10-02 21:22:23', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-02', '2015-10-02 21:22:23', '2015-10-02 21:22:23', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 21:22:23.000000', '2015-10-02', '2015-10-02 21:22:23', '2015-10-02 21:22:23', 16804933, 816972181) Fixture Delete (6.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 21:22:23', '2015-10-02 21:22:23', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.7ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 21:22:23.000000', '2015-10-02 21:22:23', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 21:22:23.000000', '2015-10-02 21:22:23', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 21:22:23.000000', '2015-10-02 21:22:23', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 21:22:23.000000', '2015-10-02 21:22:23', 316146702, 816972181, 700141617) Fixture Delete (0.6ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 21:22:23', '2015-10-02 21:22:23', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 21:22:23', '2015-10-02 21:22:23', 369066228, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 21:22:23', '2015-10-02 21:22:23', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 21:22:23', '2015-10-02 21:22:23', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 21:22:23', '2015-10-02 21:22:23', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 21:22:23', '2015-10-02 21:22:23', 781294868) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 21:22:23', '2015-10-02 21:22:23', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 21:22:23', '2015-10-02 21:22:23', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 21:22:23', '2015-10-02 21:22:23', 183235640, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 21:22:23', '2015-10-02 21:22:23', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (1.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 21:23:03', '2015-10-02 21:23:03', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-02', '2015-10-02 21:23:03', '2015-10-02 21:23:03', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 21:23:03.000000', '2015-10-02', '2015-10-02 21:23:03', '2015-10-02 21:23:03', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-02', '2015-10-02 21:23:03', '2015-10-02 21:23:03', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 21:23:03', '2015-10-02 21:23:03', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 21:23:03.000000', '2015-10-02', '2015-10-02 21:23:03', '2015-10-02 21:23:03', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 21:23:03', '2015-10-02 21:23:03', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-30', '2015-10-02 21:23:03', '2015-10-02 21:23:03', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 21:23:03.000000', '2015-10-02', '2015-10-02 21:23:03', '2015-10-02 21:23:03', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-02', '2015-10-02 21:23:03', '2015-10-02 21:23:03', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 21:23:03.000000', '2015-10-02', '2015-10-02 21:23:03', '2015-10-02 21:23:03', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-02', '2015-10-02 21:23:03', '2015-10-02 21:23:03', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 21:23:03.000000', '2015-10-02', '2015-10-02 21:23:03', '2015-10-02 21:23:03', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 21:23:03', '2015-10-02 21:23:03', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 21:23:03.000000', '2015-10-02 21:23:03', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 21:23:03.000000', '2015-10-02 21:23:03', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 21:23:03.000000', '2015-10-02 21:23:03', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 21:23:03.000000', '2015-10-02 21:23:03', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 21:23:03', '2015-10-02 21:23:03', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 21:23:03', '2015-10-02 21:23:03', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 21:23:03', '2015-10-02 21:23:03', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 21:23:03', '2015-10-02 21:23:03', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 21:23:03', '2015-10-02 21:23:03', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 21:23:03', '2015-10-02 21:23:03', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 21:23:03', '2015-10-02 21:23:03', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 21:23:03', '2015-10-02 21:23:03', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 21:23:03', '2015-10-02 21:23:03', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 21:23:03', '2015-10-02 21:23:03', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (6.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 21:24:44', '2015-10-02 21:24:44', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-02', '2015-10-02 21:24:44', '2015-10-02 21:24:44', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 21:24:43.000000', '2015-10-02', '2015-10-02 21:24:44', '2015-10-02 21:24:44', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-02', '2015-10-02 21:24:44', '2015-10-02 21:24:44', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 21:24:44', '2015-10-02 21:24:44', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 21:24:43.000000', '2015-10-02', '2015-10-02 21:24:44', '2015-10-02 21:24:44', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 21:24:44', '2015-10-02 21:24:44', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-30', '2015-10-02 21:24:44', '2015-10-02 21:24:44', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 21:24:43.000000', '2015-10-02', '2015-10-02 21:24:44', '2015-10-02 21:24:44', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-02', '2015-10-02 21:24:44', '2015-10-02 21:24:44', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 21:24:43.000000', '2015-10-02', '2015-10-02 21:24:44', '2015-10-02 21:24:44', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-02', '2015-10-02 21:24:44', '2015-10-02 21:24:44', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 21:24:43.000000', '2015-10-02', '2015-10-02 21:24:44', '2015-10-02 21:24:44', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 21:24:44', '2015-10-02 21:24:44', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 21:24:43.000000', '2015-10-02 21:24:44', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 21:24:43.000000', '2015-10-02 21:24:44', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 21:24:43.000000', '2015-10-02 21:24:44', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 21:24:43.000000', '2015-10-02 21:24:44', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 21:24:44', '2015-10-02 21:24:44', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 21:24:44', '2015-10-02 21:24:44', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 21:24:44', '2015-10-02 21:24:44', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 21:24:44', '2015-10-02 21:24:44', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 21:24:44', '2015-10-02 21:24:44', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 21:24:44', '2015-10-02 21:24:44', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 21:24:44', '2015-10-02 21:24:44', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 21:24:44', '2015-10-02 21:24:44', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 21:24:44', '2015-10-02 21:24:44', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 21:24:44', '2015-10-02 21:24:44', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (4.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 21:25:44', '2015-10-02 21:25:44', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-02', '2015-10-02 21:25:44', '2015-10-02 21:25:44', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 21:25:44.000000', '2015-10-02', '2015-10-02 21:25:44', '2015-10-02 21:25:44', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-02', '2015-10-02 21:25:44', '2015-10-02 21:25:44', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 21:25:44', '2015-10-02 21:25:44', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 21:25:44.000000', '2015-10-02', '2015-10-02 21:25:44', '2015-10-02 21:25:44', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 21:25:44', '2015-10-02 21:25:44', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-30', '2015-10-02 21:25:44', '2015-10-02 21:25:44', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 21:25:44.000000', '2015-10-02', '2015-10-02 21:25:44', '2015-10-02 21:25:44', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-02', '2015-10-02 21:25:44', '2015-10-02 21:25:44', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 21:25:44.000000', '2015-10-02', '2015-10-02 21:25:44', '2015-10-02 21:25:44', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-02', '2015-10-02 21:25:44', '2015-10-02 21:25:44', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 21:25:44.000000', '2015-10-02', '2015-10-02 21:25:44', '2015-10-02 21:25:44', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 21:25:44', '2015-10-02 21:25:44', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 21:25:44.000000', '2015-10-02 21:25:44', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 21:25:44.000000', '2015-10-02 21:25:44', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 21:25:44.000000', '2015-10-02 21:25:44', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 21:25:44.000000', '2015-10-02 21:25:44', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 21:25:44', '2015-10-02 21:25:44', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 21:25:44', '2015-10-02 21:25:44', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 21:25:44', '2015-10-02 21:25:44', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 21:25:44', '2015-10-02 21:25:44', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 21:25:44', '2015-10-02 21:25:44', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 21:25:44', '2015-10-02 21:25:44', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 21:25:44', '2015-10-02 21:25:44', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 21:25:44', '2015-10-02 21:25:44', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 21:25:44', '2015-10-02 21:25:44', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 21:25:44', '2015-10-02 21:25:44', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking" for 127.0.0.1 at 2015-10-02 16:25:44 -0500  (0.1ms) ROLLBACK  (2.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 21:25:57', '2015-10-02 21:25:57', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-02', '2015-10-02 21:25:57', '2015-10-02 21:25:57', 809335042, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 21:25:57.000000', '2015-10-02', '2015-10-02 21:25:57', '2015-10-02 21:25:57', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-02', '2015-10-02 21:25:57', '2015-10-02 21:25:57', 614371357, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 21:25:57', '2015-10-02 21:25:57', 53334230, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 21:25:57.000000', '2015-10-02', '2015-10-02 21:25:57', '2015-10-02 21:25:57', 916373174, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 21:25:57', '2015-10-02 21:25:57', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-30', '2015-10-02 21:25:57', '2015-10-02 21:25:57', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 21:25:57.000000', '2015-10-02', '2015-10-02 21:25:57', '2015-10-02 21:25:57', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-02', '2015-10-02 21:25:57', '2015-10-02 21:25:57', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 21:25:57.000000', '2015-10-02', '2015-10-02 21:25:57', '2015-10-02 21:25:57', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-02', '2015-10-02 21:25:57', '2015-10-02 21:25:57', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 21:25:57.000000', '2015-10-02', '2015-10-02 21:25:57', '2015-10-02 21:25:57', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 21:25:57', '2015-10-02 21:25:57', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 21:25:57.000000', '2015-10-02 21:25:57', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 21:25:57.000000', '2015-10-02 21:25:57', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 21:25:57.000000', '2015-10-02 21:25:57', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 21:25:57.000000', '2015-10-02 21:25:57', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 21:25:57', '2015-10-02 21:25:57', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 21:25:57', '2015-10-02 21:25:57', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 21:25:57', '2015-10-02 21:25:57', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 21:25:57', '2015-10-02 21:25:57', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 21:25:57', '2015-10-02 21:25:57', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 21:25:57', '2015-10-02 21:25:57', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 21:25:57', '2015-10-02 21:25:57', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 21:25:57', '2015-10-02 21:25:57', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 21:25:57', '2015-10-02 21:25:57', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 21:25:57', '2015-10-02 21:25:57', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/" for 127.0.0.1 at 2015-10-02 16:25:57 -0500  (0.2ms) ROLLBACK  (2.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 21:26:21', '2015-10-02 21:26:21', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-02', '2015-10-02 21:26:21', '2015-10-02 21:26:21', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 21:26:21.000000', '2015-10-02', '2015-10-02 21:26:21', '2015-10-02 21:26:21', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-02', '2015-10-02 21:26:21', '2015-10-02 21:26:21', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 21:26:21', '2015-10-02 21:26:21', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 21:26:21.000000', '2015-10-02', '2015-10-02 21:26:21', '2015-10-02 21:26:21', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 21:26:21', '2015-10-02 21:26:21', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-30', '2015-10-02 21:26:21', '2015-10-02 21:26:21', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 21:26:21.000000', '2015-10-02', '2015-10-02 21:26:21', '2015-10-02 21:26:21', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-02', '2015-10-02 21:26:21', '2015-10-02 21:26:21', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 21:26:21.000000', '2015-10-02', '2015-10-02 21:26:21', '2015-10-02 21:26:21', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-02', '2015-10-02 21:26:21', '2015-10-02 21:26:21', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 21:26:21.000000', '2015-10-02', '2015-10-02 21:26:21', '2015-10-02 21:26:21', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 21:26:21', '2015-10-02 21:26:21', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 21:26:21.000000', '2015-10-02 21:26:21', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 21:26:21.000000', '2015-10-02 21:26:21', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 21:26:21.000000', '2015-10-02 21:26:21', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 21:26:21.000000', '2015-10-02 21:26:21', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 21:26:21', '2015-10-02 21:26:21', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 21:26:21', '2015-10-02 21:26:21', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 21:26:21', '2015-10-02 21:26:21', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 21:26:21', '2015-10-02 21:26:21', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 21:26:21', '2015-10-02 21:26:21', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 21:26:21', '2015-10-02 21:26:21', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 21:26:21', '2015-10-02 21:26:21', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 21:26:21', '2015-10-02 21:26:21', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 21:26:21', '2015-10-02 21:26:21', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 21:26:21', '2015-10-02 21:26:21', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.7ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/" for 127.0.0.1 at 2015-10-02 16:26:21 -0500  (0.1ms) ROLLBACK  (1.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 21:27:23', '2015-10-02 21:27:23', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-02', '2015-10-02 21:27:23', '2015-10-02 21:27:23', 809335042, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 21:27:23.000000', '2015-10-02', '2015-10-02 21:27:23', '2015-10-02 21:27:23', 576699391, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-02', '2015-10-02 21:27:23', '2015-10-02 21:27:23', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 21:27:23', '2015-10-02 21:27:23', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 21:27:23.000000', '2015-10-02', '2015-10-02 21:27:23', '2015-10-02 21:27:23', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 21:27:23', '2015-10-02 21:27:23', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-30', '2015-10-02 21:27:23', '2015-10-02 21:27:23', 938656909, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 21:27:23.000000', '2015-10-02', '2015-10-02 21:27:23', '2015-10-02 21:27:23', 401619065, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-02', '2015-10-02 21:27:23', '2015-10-02 21:27:23', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 21:27:23.000000', '2015-10-02', '2015-10-02 21:27:23', '2015-10-02 21:27:23', 1002298878, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-02', '2015-10-02 21:27:23', '2015-10-02 21:27:23', 318784238, 816972181) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 21:27:23.000000', '2015-10-02', '2015-10-02 21:27:23', '2015-10-02 21:27:23', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 21:27:23', '2015-10-02 21:27:23', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 21:27:23.000000', '2015-10-02 21:27:23', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 21:27:23.000000', '2015-10-02 21:27:23', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 21:27:23.000000', '2015-10-02 21:27:23', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 21:27:23.000000', '2015-10-02 21:27:23', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 21:27:23', '2015-10-02 21:27:23', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 21:27:23', '2015-10-02 21:27:23', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 21:27:23', '2015-10-02 21:27:23', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 21:27:23', '2015-10-02 21:27:23', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 21:27:23', '2015-10-02 21:27:23', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 21:27:23', '2015-10-02 21:27:23', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 21:27:23', '2015-10-02 21:27:23', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 21:27:23', '2015-10-02 21:27:23', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 21:27:23', '2015-10-02 21:27:23', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 21:27:23', '2015-10-02 21:27:23', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/" for 127.0.0.1 at 2015-10-02 16:27:23 -0500  (0.1ms) ROLLBACK  (2.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 21:27:54', '2015-10-02 21:27:54', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-02', '2015-10-02 21:27:54', '2015-10-02 21:27:54', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 21:27:54.000000', '2015-10-02', '2015-10-02 21:27:54', '2015-10-02 21:27:54', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-02', '2015-10-02 21:27:54', '2015-10-02 21:27:54', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 21:27:54', '2015-10-02 21:27:54', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 21:27:54.000000', '2015-10-02', '2015-10-02 21:27:54', '2015-10-02 21:27:54', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 21:27:54', '2015-10-02 21:27:54', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-30', '2015-10-02 21:27:54', '2015-10-02 21:27:54', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 21:27:54.000000', '2015-10-02', '2015-10-02 21:27:54', '2015-10-02 21:27:54', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-02', '2015-10-02 21:27:54', '2015-10-02 21:27:54', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 21:27:54.000000', '2015-10-02', '2015-10-02 21:27:54', '2015-10-02 21:27:54', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-02', '2015-10-02 21:27:54', '2015-10-02 21:27:54', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 21:27:54.000000', '2015-10-02', '2015-10-02 21:27:54', '2015-10-02 21:27:54', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 21:27:54', '2015-10-02 21:27:54', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 21:27:54.000000', '2015-10-02 21:27:54', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 21:27:54.000000', '2015-10-02 21:27:54', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 21:27:54.000000', '2015-10-02 21:27:54', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 21:27:54.000000', '2015-10-02 21:27:54', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 21:27:54', '2015-10-02 21:27:54', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 21:27:54', '2015-10-02 21:27:54', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 21:27:54', '2015-10-02 21:27:54', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 21:27:54', '2015-10-02 21:27:54', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 21:27:54', '2015-10-02 21:27:54', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 21:27:54', '2015-10-02 21:27:54', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 21:27:54', '2015-10-02 21:27:54', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 21:27:54', '2015-10-02 21:27:54', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 21:27:54', '2015-10-02 21:27:54', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 21:27:54', '2015-10-02 21:27:54', 809335042, 'SocialNetworking::Goal', 809335042)  (1.8ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-02 16:27:56 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.9ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.1ms) Completed 200 OK in 239ms (Views: 151.9ms | ActiveRecord: 6.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-10-02 16:27:56 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-10-02 16:27:56 -0500 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-10-02 16:27:56 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Oct 02 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-10-02 21:27:56.808987"], ["updated_at", "2015-10-02 21:27:56.814843"], ["id", 614371357]]  (5.9ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 19ms (Views: 0.4ms | ActiveRecord: 9.8ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-02 16:27:56 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 16ms (Views: 1.9ms | ActiveRecord: 2.3ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-10-02 16:27:57 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-30", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.8ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-30"], ["updated_at", "2015-10-02 21:27:57.146974"], ["id", 53334230]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-02 16:27:57 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-02 16:27:57 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 17ms (Views: 1.8ms | ActiveRecord: 2.1ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-10-02 16:27:57 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-10-16", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-10-16"], ["created_at", "2015-10-02 21:27:57.515833"], ["updated_at", "2015-10-02 21:27:57.515833"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-10-02 21:27:57.529695"], ["updated_at", "2015-10-02 21:27:57.529695"]]  (6.1ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 28ms (Views: 0.3ms | ActiveRecord: 9.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-02 16:27:57 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 36ms (Views: 2.1ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-10-02 16:27:57 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Oct 02 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-10-02 21:27:57.879602"], ["updated_at", "2015-10-02 21:27:57.882017"], ["id", 809335042]]  (0.2ms) ROLLBACK  (116.8ms) COMMIT  (0.4ms) BEGIN SQL (2.8ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-10-02 21:27:58.004480"], ["updated_at", "2015-10-02 21:27:58.004480"]]  (10.7ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 145ms (Views: 0.3ms | ActiveRecord: 132.4ms)  (3.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 21:28:13', '2015-10-02 21:28:13', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-02', '2015-10-02 21:28:13', '2015-10-02 21:28:13', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 21:28:13.000000', '2015-10-02', '2015-10-02 21:28:13', '2015-10-02 21:28:13', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-02', '2015-10-02 21:28:13', '2015-10-02 21:28:13', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 21:28:13', '2015-10-02 21:28:13', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 21:28:13.000000', '2015-10-02', '2015-10-02 21:28:13', '2015-10-02 21:28:13', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 21:28:13', '2015-10-02 21:28:13', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-30', '2015-10-02 21:28:13', '2015-10-02 21:28:13', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 21:28:13.000000', '2015-10-02', '2015-10-02 21:28:13', '2015-10-02 21:28:13', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-02', '2015-10-02 21:28:13', '2015-10-02 21:28:13', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 21:28:13.000000', '2015-10-02', '2015-10-02 21:28:13', '2015-10-02 21:28:13', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-02', '2015-10-02 21:28:13', '2015-10-02 21:28:13', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 21:28:13.000000', '2015-10-02', '2015-10-02 21:28:13', '2015-10-02 21:28:13', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 21:28:13', '2015-10-02 21:28:13', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 21:28:13.000000', '2015-10-02 21:28:13', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 21:28:13.000000', '2015-10-02 21:28:13', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 21:28:13.000000', '2015-10-02 21:28:13', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 21:28:13.000000', '2015-10-02 21:28:13', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 21:28:13', '2015-10-02 21:28:13', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 21:28:13', '2015-10-02 21:28:13', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 21:28:13', '2015-10-02 21:28:13', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 21:28:13', '2015-10-02 21:28:13', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 21:28:13', '2015-10-02 21:28:13', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 21:28:13', '2015-10-02 21:28:13', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 21:28:13', '2015-10-02 21:28:13', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 21:28:13', '2015-10-02 21:28:13', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 21:28:13', '2015-10-02 21:28:13', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 21:28:13', '2015-10-02 21:28:13', 809335042, 'SocialNetworking::Goal', 809335042)  (1.7ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-02 16:28:14 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.8ms) Completed 200 OK in 146ms (Views: 68.7ms | ActiveRecord: 8.6ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-10-02 16:28:14 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-10-02 16:28:14 -0500 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-10-02 16:28:14 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Oct 02 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-10-02 21:28:14.618774"], ["updated_at", "2015-10-02 21:28:14.625167"], ["id", 614371357]]  (1.6ms) COMMIT SocialNetworking::Comment Load (0.7ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 17ms (Views: 0.4ms | ActiveRecord: 5.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-02 16:28:14 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-10-02 16:28:14 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Oct 02 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-10-02 21:28:14.820339"], ["updated_at", "2015-10-02 21:28:14.822897"], ["id", 809335042]]  (1.5ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-10-02 21:28:14.837051"], ["updated_at", "2015-10-02 21:28:14.837051"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 24ms (Views: 0.3ms | ActiveRecord: 3.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-02 16:28:14 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.8ms) Completed 200 OK in 19ms (Views: 2.7ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-10-02 16:28:15 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-10-30", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-10-30"], ["updated_at", "2015-10-02 21:28:15.135189"], ["id", 53334230]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 2.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-02 16:28:15 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 16ms (Views: 2.3ms | ActiveRecord: 1.9ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-10-02 16:28:15 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-10-16", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-10-16"], ["created_at", "2015-10-02 21:28:15.370673"], ["updated_at", "2015-10-02 21:28:15.370673"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-10-02 21:28:15.375849"], ["updated_at", "2015-10-02 21:28:15.375849"]]  (0.2ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 2.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-02 16:28:15 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 1.9ms | ActiveRecord: 1.8ms)  (0.3ms) ROLLBACK  (3.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 21:28:29', '2015-10-02 21:28:29', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-02', '2015-10-02 21:28:29', '2015-10-02 21:28:29', 809335042, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 21:28:29.000000', '2015-10-02', '2015-10-02 21:28:29', '2015-10-02 21:28:29', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-02', '2015-10-02 21:28:29', '2015-10-02 21:28:29', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 21:28:29', '2015-10-02 21:28:29', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 21:28:29.000000', '2015-10-02', '2015-10-02 21:28:29', '2015-10-02 21:28:29', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 21:28:29', '2015-10-02 21:28:29', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-30', '2015-10-02 21:28:29', '2015-10-02 21:28:29', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 21:28:29.000000', '2015-10-02', '2015-10-02 21:28:29', '2015-10-02 21:28:29', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-02', '2015-10-02 21:28:29', '2015-10-02 21:28:29', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 21:28:29.000000', '2015-10-02', '2015-10-02 21:28:29', '2015-10-02 21:28:29', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-02', '2015-10-02 21:28:29', '2015-10-02 21:28:29', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 21:28:29.000000', '2015-10-02', '2015-10-02 21:28:29', '2015-10-02 21:28:29', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 21:28:29', '2015-10-02 21:28:29', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 21:28:29.000000', '2015-10-02 21:28:29', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 21:28:29.000000', '2015-10-02 21:28:29', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 21:28:29.000000', '2015-10-02 21:28:29', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 21:28:29.000000', '2015-10-02 21:28:29', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 21:28:29', '2015-10-02 21:28:29', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 21:28:29', '2015-10-02 21:28:29', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 21:28:29', '2015-10-02 21:28:29', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 21:28:29', '2015-10-02 21:28:29', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 21:28:29', '2015-10-02 21:28:29', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 21:28:29', '2015-10-02 21:28:29', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 21:28:29', '2015-10-02 21:28:29', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 21:28:29', '2015-10-02 21:28:29', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 21:28:29', '2015-10-02 21:28:29', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 21:28:29', '2015-10-02 21:28:29', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking" for 127.0.0.1 at 2015-10-02 16:28:29 -0500  (0.1ms) ROLLBACK  (2.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 21:30:42', '2015-10-02 21:30:42', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-02', '2015-10-02 21:30:42', '2015-10-02 21:30:42', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 21:30:42.000000', '2015-10-02', '2015-10-02 21:30:42', '2015-10-02 21:30:42', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-02', '2015-10-02 21:30:42', '2015-10-02 21:30:42', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 21:30:42', '2015-10-02 21:30:42', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 21:30:42.000000', '2015-10-02', '2015-10-02 21:30:42', '2015-10-02 21:30:42', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 21:30:42', '2015-10-02 21:30:42', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-30', '2015-10-02 21:30:42', '2015-10-02 21:30:42', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 21:30:42.000000', '2015-10-02', '2015-10-02 21:30:42', '2015-10-02 21:30:42', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-02', '2015-10-02 21:30:42', '2015-10-02 21:30:42', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 21:30:42.000000', '2015-10-02', '2015-10-02 21:30:42', '2015-10-02 21:30:42', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-02', '2015-10-02 21:30:42', '2015-10-02 21:30:42', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 21:30:42.000000', '2015-10-02', '2015-10-02 21:30:42', '2015-10-02 21:30:42', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 21:30:42', '2015-10-02 21:30:42', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 21:30:42.000000', '2015-10-02 21:30:42', 503297012, 700141617, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 21:30:42.000000', '2015-10-02 21:30:42', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 21:30:42.000000', '2015-10-02 21:30:42', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 21:30:42.000000', '2015-10-02 21:30:42', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 21:30:42', '2015-10-02 21:30:42', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 21:30:42', '2015-10-02 21:30:42', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 21:30:42', '2015-10-02 21:30:42', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 21:30:42', '2015-10-02 21:30:42', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 21:30:42', '2015-10-02 21:30:42', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 21:30:42', '2015-10-02 21:30:42', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 21:30:42', '2015-10-02 21:30:42', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 21:30:42', '2015-10-02 21:30:42', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 21:30:42', '2015-10-02 21:30:42', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 21:30:42', '2015-10-02 21:30:42', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/home" for 127.0.0.1 at 2015-10-02 16:30:42 -0500 Processing by SocialNetworking::HomesController#show as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/_action_items.html.erb (0.3ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.4ms) CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/show.html.erb within layouts/tool (13.7ms) Completed 200 OK in 124ms (Views: 100.6ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (3.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.6ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-02 21:30:58', '2015-10-02 21:30:58', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-02', '2015-10-02 21:30:58', '2015-10-02 21:30:58', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-02 21:30:58.000000', '2015-10-02', '2015-10-02 21:30:58', '2015-10-02 21:30:58', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-02', '2015-10-02 21:30:58', '2015-10-02 21:30:58', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-02 21:30:58', '2015-10-02 21:30:58', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-02 21:30:58.000000', '2015-10-02', '2015-10-02 21:30:58', '2015-10-02 21:30:58', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-01', '2015-10-02 21:30:58', '2015-10-02 21:30:58', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-09-30', '2015-10-02 21:30:58', '2015-10-02 21:30:58', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-02 21:30:58.000000', '2015-10-02', '2015-10-02 21:30:58', '2015-10-02 21:30:58', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-02', '2015-10-02 21:30:58', '2015-10-02 21:30:58', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-02 21:30:58.000000', '2015-10-02', '2015-10-02 21:30:58', '2015-10-02 21:30:58', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-02', '2015-10-02 21:30:58', '2015-10-02 21:30:58', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-02 21:30:58.000000', '2015-10-02', '2015-10-02 21:30:58', '2015-10-02 21:30:58', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-02 21:30:58', '2015-10-02 21:30:58', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 21:30:58.000000', '2015-10-02 21:30:58', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 21:30:58.000000', '2015-10-02 21:30:58', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-01 21:30:58.000000', '2015-10-02 21:30:58', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-02 21:30:58.000000', '2015-10-02 21:30:58', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-02 21:30:58', '2015-10-02 21:30:58', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-02 21:30:58', '2015-10-02 21:30:58', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-02 21:30:58', '2015-10-02 21:30:58', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-02 21:30:58', '2015-10-02 21:30:58', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-02 21:30:58', '2015-10-02 21:30:58', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-02 21:30:58', '2015-10-02 21:30:58', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-02 21:30:58', '2015-10-02 21:30:58', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-02 21:30:58', '2015-10-02 21:30:58', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-02 21:30:58', '2015-10-02 21:30:58', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-02 21:30:58', '2015-10-02 21:30:58', 809335042, 'SocialNetworking::Goal', 809335042)  (1.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/home" for 127.0.0.1 at 2015-10-02 16:30:58 -0500 Processing by SocialNetworking::HomesController#show as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] Participant Load (0.5ms) SELECT "participants".* FROM "participants" SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/_action_items.html.erb (0.2ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.3ms) CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/show.html.erb within layouts/tool (11.1ms) Completed 200 OK in 97ms (Views: 70.5ms | ActiveRecord: 1.6ms) Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (5.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL  (0.5ms) BEGIN Fixture Delete (13.0ms) DELETE FROM "participants" Fixture Insert (0.5ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-10-05 16:27:38', '2015-10-05 16:27:38', 700141617) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-10-05 16:27:38', '2015-10-05 16:27:38', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-10-05 16:27:38', '2015-10-05 16:27:38', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (15.8ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL  (3.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.2ms) BEGIN  (15.0ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (6.1ms) COMMIT Migrating to AddParticipantFields (2)  (5.9ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.2ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (6.2ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (19.6ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (5.2ms) COMMIT Migrating to AddNullFalseToArms (5)  (6.0ms) BEGIN  (0.3ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.2ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (5.9ms) COMMIT Migrating to AddHasWozToArm (6)  (0.1ms) BEGIN  (14.7ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (7.2ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.3ms) BEGIN  (0.5ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (5.8ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.2ms) BEGIN  (8.2ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.5ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (0.7ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (5.9ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (5.9ms) BEGIN  (14.4ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (2.3ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (6.0ms) BEGIN  (13.5ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.1ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (1.8ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (11.4ms) BEGIN  (14.3ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (2.3ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (5.6ms) BEGIN  (14.8ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (5.1ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (6.0ms) BEGIN  (14.5ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (0.9ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (4.5ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (6.0ms) BEGIN  (7.7ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (6.1ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (5.9ms) BEGIN  (14.9ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (4.4ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (6.0ms) BEGIN  (13.9ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (1.3ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (6.0ms) BEGIN  (0.7ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (2.3ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (8.8ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (9.8ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.2ms) BEGIN  (6.9ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (6.3ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (14.1ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (6.6ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.1ms) BEGIN  (14.0ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (6.4ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (5.8ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.1ms) BEGIN  (12.1ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (6.1ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.3ms) BEGIN  (8.0ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (6.0ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (5.7ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2015-10-05 16:27:47.283480"], ["updated_at", "2015-10-05 16:27:47.283480"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2015-10-05 16:27:47.285616"], ["updated_at", "2015-10-05 16:27:47.285616"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2015-10-05 16:27:47.286637"], ["updated_at", "2015-10-05 16:27:47.286637"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2015-10-05 16:27:47.287668"], ["updated_at", "2015-10-05 16:27:47.287668"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2015-10-05 16:27:47.288717"], ["updated_at", "2015-10-05 16:27:47.288717"]] SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (5.8ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.2ms) BEGIN  (0.7ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (6.3ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (5.6ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.1ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (5.7ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (6.6ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (5.7ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (5.8ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.2ms) BEGIN  (7.2ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (5.7ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (5.9ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (6.3ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (5.9ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (5.6ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (5.7ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (5.9ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.2ms) BEGIN  (0.8ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (6.3ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.2ms) BEGIN  (6.7ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (5.4ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.1ms) BEGIN  (6.7ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (6.1ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.1ms) BEGIN  (6.2ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (6.4ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (5.9ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.1ms) BEGIN  (6.2ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (6.7ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (5.9ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.6ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.2ms) BEGIN  (7.0ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (5.9ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.7ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-05 16:28:39', '2015-10-05 16:28:39', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-05', '2015-10-05 16:28:39', '2015-10-05 16:28:39', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-05 16:28:39.000000', '2015-10-05', '2015-10-05 16:28:39', '2015-10-05 16:28:39', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-05', '2015-10-05 16:28:39', '2015-10-05 16:28:39', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-05 16:28:39', '2015-10-05 16:28:39', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-05 16:28:39.000000', '2015-10-05', '2015-10-05 16:28:39', '2015-10-05 16:28:39', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-04', '2015-10-05 16:28:39', '2015-10-05 16:28:39', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-10-03', '2015-10-05 16:28:39', '2015-10-05 16:28:39', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-05 16:28:39.000000', '2015-10-05', '2015-10-05 16:28:39', '2015-10-05 16:28:39', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-05', '2015-10-05 16:28:39', '2015-10-05 16:28:39', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-05 16:28:39.000000', '2015-10-05', '2015-10-05 16:28:39', '2015-10-05 16:28:39', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-05', '2015-10-05 16:28:39', '2015-10-05 16:28:39', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-05 16:28:39.000000', '2015-10-05', '2015-10-05 16:28:39', '2015-10-05 16:28:39', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-05 16:28:39', '2015-10-05 16:28:39', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.7ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.6ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 16:28:39.000000', '2015-10-05 16:28:39', 503297012, 700141617, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 16:28:39.000000', '2015-10-05 16:28:39', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 16:28:39.000000', '2015-10-05 16:28:39', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 16:28:39.000000', '2015-10-05 16:28:39', 316146702, 816972181, 700141617) Fixture Delete (0.5ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-05 16:28:39', '2015-10-05 16:28:39', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-05 16:28:39', '2015-10-05 16:28:39', 369066228, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.5ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-05 16:28:39', '2015-10-05 16:28:39', 465319974, 333620620) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-05 16:28:39', '2015-10-05 16:28:39', 45443486, 333620620) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-05 16:28:39', '2015-10-05 16:28:39', 10484799, 183235640) Fixture Delete (0.5ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-05 16:28:39', '2015-10-05 16:28:39', 781294868) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-05 16:28:39', '2015-10-05 16:28:39', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-05 16:28:39', '2015-10-05 16:28:39', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-05 16:28:39', '2015-10-05 16:28:39', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-05 16:28:39', '2015-10-05 16:28:39', 809335042, 'SocialNetworking::Goal', 809335042)  (1.9ms) COMMIT  (2.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.2ms) BEGIN Started GET "/social_networking/home" for 127.0.0.1 at 2015-10-05 11:28:40 -0500 Processing by SocialNetworking::HomesController#show as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/_action_items.html.erb (0.3ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.6ms) CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/show.html.erb within layouts/tool (15.2ms) Completed 200 OK in 149ms (Views: 119.2ms | ActiveRecord: 4.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-10-05 11:28:40 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-10-05 11:28:40 -0500 Started GET "/social_networking/profiles" for 127.0.0.1 at 2015-10-05 11:28:41 -0500 Processing by SocialNetworking::ProfilesController#index as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) SELECT "participants"."id" FROM "participants" SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" IN (700141617, 816972181, 129315074) Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Completed 200 OK in 26ms (Views: 0.3ms | ActiveRecord: 1.9ms) Started GET "/assets/social_networking/_profile_icon_admin.png" for 127.0.0.1 at 2015-10-05 11:28:41 -0500  (0.3ms) ROLLBACK  (2.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-05 16:30:46', '2015-10-05 16:30:46', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-05', '2015-10-05 16:30:46', '2015-10-05 16:30:46', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-05 16:30:46.000000', '2015-10-05', '2015-10-05 16:30:46', '2015-10-05 16:30:46', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-05', '2015-10-05 16:30:46', '2015-10-05 16:30:46', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-05 16:30:46', '2015-10-05 16:30:46', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-05 16:30:46.000000', '2015-10-05', '2015-10-05 16:30:46', '2015-10-05 16:30:46', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-04', '2015-10-05 16:30:46', '2015-10-05 16:30:46', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-10-03', '2015-10-05 16:30:46', '2015-10-05 16:30:46', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-05 16:30:46.000000', '2015-10-05', '2015-10-05 16:30:46', '2015-10-05 16:30:46', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-05', '2015-10-05 16:30:46', '2015-10-05 16:30:46', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-05 16:30:46.000000', '2015-10-05', '2015-10-05 16:30:46', '2015-10-05 16:30:46', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-05', '2015-10-05 16:30:46', '2015-10-05 16:30:46', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-05 16:30:46.000000', '2015-10-05', '2015-10-05 16:30:46', '2015-10-05 16:30:46', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.7ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-05 16:30:46', '2015-10-05 16:30:46', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.7ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 16:30:46.000000', '2015-10-05 16:30:46', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 16:30:46.000000', '2015-10-05 16:30:46', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 16:30:46.000000', '2015-10-05 16:30:46', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 16:30:46.000000', '2015-10-05 16:30:46', 316146702, 816972181, 700141617) Fixture Delete (0.5ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-05 16:30:46', '2015-10-05 16:30:46', 576803333, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-05 16:30:46', '2015-10-05 16:30:46', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-05 16:30:46', '2015-10-05 16:30:46', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-05 16:30:46', '2015-10-05 16:30:46', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-05 16:30:46', '2015-10-05 16:30:46', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-05 16:30:46', '2015-10-05 16:30:46', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-05 16:30:46', '2015-10-05 16:30:46', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-05 16:30:46', '2015-10-05 16:30:46', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-05 16:30:46', '2015-10-05 16:30:46', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-05 16:30:46', '2015-10-05 16:30:46', 809335042, 'SocialNetworking::Goal', 809335042)  (1.5ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/home" for 127.0.0.1 at 2015-10-05 11:30:47 -0500 Processing by SocialNetworking::HomesController#show as HTML Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] Participant Load (0.5ms) SELECT "participants".* FROM "participants" SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/_action_items.html.erb (0.3ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.4ms) CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/show.html.erb within layouts/tool (11.3ms) Completed 200 OK in 112ms (Views: 75.2ms | ActiveRecord: 5.6ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-10-05 11:30:47 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-10-05 11:30:47 -0500 Started GET "/social_networking/profiles" for 127.0.0.1 at 2015-10-05 11:30:47 -0500 Processing by SocialNetworking::ProfilesController#index as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) SELECT "participants"."id" FROM "participants" SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" IN (700141617, 816972181, 129315074) Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Completed 200 OK in 22ms (Views: 0.3ms | ActiveRecord: 2.0ms) Started GET "/assets/social_networking/_profile_icon_admin.png" for 127.0.0.1 at 2015-10-05 11:30:47 -0500 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) ROLLBACK  (2.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-05 16:34:08', '2015-10-05 16:34:08', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-05', '2015-10-05 16:34:08', '2015-10-05 16:34:08', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-05 16:34:08.000000', '2015-10-05', '2015-10-05 16:34:08', '2015-10-05 16:34:08', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-05', '2015-10-05 16:34:08', '2015-10-05 16:34:08', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-05 16:34:08', '2015-10-05 16:34:08', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-05 16:34:08.000000', '2015-10-05', '2015-10-05 16:34:08', '2015-10-05 16:34:08', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-04', '2015-10-05 16:34:08', '2015-10-05 16:34:08', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-10-03', '2015-10-05 16:34:08', '2015-10-05 16:34:08', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-05 16:34:08.000000', '2015-10-05', '2015-10-05 16:34:08', '2015-10-05 16:34:08', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-05', '2015-10-05 16:34:08', '2015-10-05 16:34:08', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-05 16:34:08.000000', '2015-10-05', '2015-10-05 16:34:08', '2015-10-05 16:34:08', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-05', '2015-10-05 16:34:08', '2015-10-05 16:34:08', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-05 16:34:08.000000', '2015-10-05', '2015-10-05 16:34:08', '2015-10-05 16:34:08', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-05 16:34:08', '2015-10-05 16:34:08', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 16:34:08.000000', '2015-10-05 16:34:08', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 16:34:08.000000', '2015-10-05 16:34:08', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 16:34:08.000000', '2015-10-05 16:34:08', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 16:34:08.000000', '2015-10-05 16:34:08', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-05 16:34:08', '2015-10-05 16:34:08', 576803333, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-05 16:34:08', '2015-10-05 16:34:08', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-05 16:34:08', '2015-10-05 16:34:08', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-05 16:34:08', '2015-10-05 16:34:08', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-05 16:34:08', '2015-10-05 16:34:08', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-05 16:34:08', '2015-10-05 16:34:08', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-05 16:34:08', '2015-10-05 16:34:08', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-05 16:34:08', '2015-10-05 16:34:08', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-05 16:34:08', '2015-10-05 16:34:08', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-05 16:34:08', '2015-10-05 16:34:08', 809335042, 'SocialNetworking::Goal', 809335042)  (1.5ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/home" for 127.0.0.1 at 2015-10-05 11:34:09 -0500 Processing by SocialNetworking::HomesController#show as HTML Participant Load (0.9ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/_action_items.html.erb (0.3ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.4ms) CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/show.html.erb within layouts/tool (11.6ms) Completed 200 OK in 111ms (Views: 76.9ms | ActiveRecord: 4.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-10-05 11:34:09 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-10-05 11:34:09 -0500 Started GET "/social_networking/profiles" for 127.0.0.1 at 2015-10-05 11:34:09 -0500 Processing by SocialNetworking::ProfilesController#index as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) SELECT "participants"."id" FROM "participants" SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" IN (700141617, 816972181, 129315074) Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Completed 200 OK in 23ms (Views: 0.4ms | ActiveRecord: 1.8ms) Started GET "/assets/social_networking/_profile_icon_admin.png" for 127.0.0.1 at 2015-10-05 11:34:09 -0500 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) ROLLBACK  (2.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-05 16:39:18', '2015-10-05 16:39:18', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.5ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-05', '2015-10-05 16:39:18', '2015-10-05 16:39:18', 809335042, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-05 16:39:18.000000', '2015-10-05', '2015-10-05 16:39:18', '2015-10-05 16:39:18', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-05', '2015-10-05 16:39:18', '2015-10-05 16:39:18', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-05 16:39:18', '2015-10-05 16:39:18', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-05 16:39:18.000000', '2015-10-05', '2015-10-05 16:39:18', '2015-10-05 16:39:18', 916373174, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-04', '2015-10-05 16:39:18', '2015-10-05 16:39:18', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-10-03', '2015-10-05 16:39:18', '2015-10-05 16:39:18', 938656909, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-05 16:39:18.000000', '2015-10-05', '2015-10-05 16:39:18', '2015-10-05 16:39:18', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-05', '2015-10-05 16:39:18', '2015-10-05 16:39:18', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-05 16:39:18.000000', '2015-10-05', '2015-10-05 16:39:18', '2015-10-05 16:39:18', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-05', '2015-10-05 16:39:18', '2015-10-05 16:39:18', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-05 16:39:18.000000', '2015-10-05', '2015-10-05 16:39:18', '2015-10-05 16:39:18', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-05 16:39:18', '2015-10-05 16:39:18', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 16:39:18.000000', '2015-10-05 16:39:18', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 16:39:18.000000', '2015-10-05 16:39:18', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 16:39:18.000000', '2015-10-05 16:39:18', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 16:39:18.000000', '2015-10-05 16:39:18', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-05 16:39:18', '2015-10-05 16:39:18', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-05 16:39:18', '2015-10-05 16:39:18', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-05 16:39:18', '2015-10-05 16:39:18', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-05 16:39:18', '2015-10-05 16:39:18', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-05 16:39:18', '2015-10-05 16:39:18', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-05 16:39:18', '2015-10-05 16:39:18', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-05 16:39:18', '2015-10-05 16:39:18', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-05 16:39:18', '2015-10-05 16:39:18', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-05 16:39:18', '2015-10-05 16:39:18', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-05 16:39:18', '2015-10-05 16:39:18', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.0ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/home" for 127.0.0.1 at 2015-10-05 11:39:19 -0500 Processing by SocialNetworking::HomesController#show as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Profile Load (0.6ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/_action_items.html.erb (0.3ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.4ms) CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/show.html.erb within layouts/tool (14.6ms) Completed 200 OK in 153ms (Views: 114.1ms | ActiveRecord: 4.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-10-05 11:39:19 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-10-05 11:39:19 -0500 Started GET "/social_networking/profiles" for 127.0.0.1 at 2015-10-05 11:39:19 -0500 Processing by SocialNetworking::ProfilesController#index as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) SELECT "participants"."id" FROM "participants" SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" IN (700141617, 816972181, 129315074) Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Completed 200 OK in 24ms (Views: 0.3ms | ActiveRecord: 2.0ms) Started GET "/assets/social_networking/_profile_icon_admin.png" for 127.0.0.1 at 2015-10-05 11:39:19 -0500 Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) ROLLBACK  (2.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-05 16:45:28', '2015-10-05 16:45:28', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-05', '2015-10-05 16:45:28', '2015-10-05 16:45:28', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-05 16:45:28.000000', '2015-10-05', '2015-10-05 16:45:28', '2015-10-05 16:45:28', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-05', '2015-10-05 16:45:28', '2015-10-05 16:45:28', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-05 16:45:28', '2015-10-05 16:45:28', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-05 16:45:28.000000', '2015-10-05', '2015-10-05 16:45:28', '2015-10-05 16:45:28', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-04', '2015-10-05 16:45:28', '2015-10-05 16:45:28', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-10-03', '2015-10-05 16:45:28', '2015-10-05 16:45:28', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-05 16:45:28.000000', '2015-10-05', '2015-10-05 16:45:28', '2015-10-05 16:45:28', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-05', '2015-10-05 16:45:28', '2015-10-05 16:45:28', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-05 16:45:28.000000', '2015-10-05', '2015-10-05 16:45:28', '2015-10-05 16:45:28', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-05', '2015-10-05 16:45:28', '2015-10-05 16:45:28', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-05 16:45:28.000000', '2015-10-05', '2015-10-05 16:45:28', '2015-10-05 16:45:28', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-05 16:45:28', '2015-10-05 16:45:28', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 16:45:28.000000', '2015-10-05 16:45:28', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 16:45:28.000000', '2015-10-05 16:45:28', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 16:45:28.000000', '2015-10-05 16:45:28', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 16:45:28.000000', '2015-10-05 16:45:28', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-05 16:45:28', '2015-10-05 16:45:28', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-05 16:45:28', '2015-10-05 16:45:28', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-05 16:45:28', '2015-10-05 16:45:28', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-05 16:45:28', '2015-10-05 16:45:28', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-05 16:45:28', '2015-10-05 16:45:28', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-05 16:45:28', '2015-10-05 16:45:28', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-05 16:45:28', '2015-10-05 16:45:28', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-05 16:45:28', '2015-10-05 16:45:28', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-05 16:45:28', '2015-10-05 16:45:28', 183235640, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-05 16:45:28', '2015-10-05 16:45:28', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.0ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/home" for 127.0.0.1 at 2015-10-05 11:45:28 -0500 Processing by SocialNetworking::HomesController#show as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/_action_items.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.4ms) CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/show.html.erb within layouts/tool (13.9ms) Completed 200 OK in 158ms (Views: 116.5ms | ActiveRecord: 4.6ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-10-05 11:45:29 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-10-05 11:45:29 -0500 Started GET "/social_networking/profiles" for 127.0.0.1 at 2015-10-05 11:45:29 -0500 Processing by SocialNetworking::ProfilesController#index as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) SELECT "participants"."id" FROM "participants" SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" IN (700141617, 816972181, 129315074) Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Completed 200 OK in 24ms (Views: 0.3ms | ActiveRecord: 2.1ms) Started GET "/assets/social_networking/_profile_icon_admin.png" for 127.0.0.1 at 2015-10-05 11:45:29 -0500 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) ROLLBACK  (2.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-05 16:46:27', '2015-10-05 16:46:27', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.5ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-05', '2015-10-05 16:46:27', '2015-10-05 16:46:27', 809335042, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-05 16:46:27.000000', '2015-10-05', '2015-10-05 16:46:27', '2015-10-05 16:46:27', 576699391, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-05', '2015-10-05 16:46:27', '2015-10-05 16:46:27', 614371357, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-05 16:46:27', '2015-10-05 16:46:27', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-05 16:46:27.000000', '2015-10-05', '2015-10-05 16:46:27', '2015-10-05 16:46:27', 916373174, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-04', '2015-10-05 16:46:27', '2015-10-05 16:46:27', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-10-03', '2015-10-05 16:46:27', '2015-10-05 16:46:27', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-05 16:46:27.000000', '2015-10-05', '2015-10-05 16:46:27', '2015-10-05 16:46:27', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-05', '2015-10-05 16:46:27', '2015-10-05 16:46:27', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-05 16:46:27.000000', '2015-10-05', '2015-10-05 16:46:27', '2015-10-05 16:46:27', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-05', '2015-10-05 16:46:27', '2015-10-05 16:46:27', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-05 16:46:27.000000', '2015-10-05', '2015-10-05 16:46:27', '2015-10-05 16:46:27', 16804933, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-05 16:46:27', '2015-10-05 16:46:27', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 16:46:27.000000', '2015-10-05 16:46:27', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 16:46:27.000000', '2015-10-05 16:46:27', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 16:46:27.000000', '2015-10-05 16:46:27', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 16:46:27.000000', '2015-10-05 16:46:27', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-05 16:46:27', '2015-10-05 16:46:27', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-05 16:46:27', '2015-10-05 16:46:27', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-05 16:46:27', '2015-10-05 16:46:27', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-05 16:46:27', '2015-10-05 16:46:27', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-05 16:46:27', '2015-10-05 16:46:27', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-05 16:46:27', '2015-10-05 16:46:27', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-05 16:46:27', '2015-10-05 16:46:27', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-05 16:46:27', '2015-10-05 16:46:27', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-05 16:46:27', '2015-10-05 16:46:27', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-05 16:46:27', '2015-10-05 16:46:27', 809335042, 'SocialNetworking::Goal', 809335042)  (1.7ms) COMMIT  (1.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/home" for 127.0.0.1 at 2015-10-05 11:46:28 -0500 Processing by SocialNetworking::HomesController#show as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Profile Load (0.7ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/_action_items.html.erb (0.3ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.4ms) CACHE (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/show.html.erb within layouts/tool (14.4ms) Completed 200 OK in 128ms (Views: 94.0ms | ActiveRecord: 6.5ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-10-05 11:46:28 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-10-05 11:46:28 -0500 Started GET "/social_networking/profiles" for 127.0.0.1 at 2015-10-05 11:46:28 -0500 Processing by SocialNetworking::ProfilesController#index as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) SELECT "participants"."id" FROM "participants" SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" IN (700141617, 816972181, 129315074) Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Completed 200 OK in 21ms (Views: 0.3ms | ActiveRecord: 1.9ms) Started GET "/assets/social_networking/_profile_icon_admin.png" for 127.0.0.1 at 2015-10-05 11:46:28 -0500 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) ROLLBACK  (2.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-05 16:48:34', '2015-10-05 16:48:34', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-05', '2015-10-05 16:48:34', '2015-10-05 16:48:34', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-05 16:48:33.000000', '2015-10-05', '2015-10-05 16:48:34', '2015-10-05 16:48:34', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-05', '2015-10-05 16:48:34', '2015-10-05 16:48:34', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-05 16:48:34', '2015-10-05 16:48:34', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-05 16:48:33.000000', '2015-10-05', '2015-10-05 16:48:34', '2015-10-05 16:48:34', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-04', '2015-10-05 16:48:34', '2015-10-05 16:48:34', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-10-03', '2015-10-05 16:48:34', '2015-10-05 16:48:34', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-05 16:48:33.000000', '2015-10-05', '2015-10-05 16:48:34', '2015-10-05 16:48:34', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-05', '2015-10-05 16:48:34', '2015-10-05 16:48:34', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-05 16:48:33.000000', '2015-10-05', '2015-10-05 16:48:34', '2015-10-05 16:48:34', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-05', '2015-10-05 16:48:34', '2015-10-05 16:48:34', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-05 16:48:33.000000', '2015-10-05', '2015-10-05 16:48:34', '2015-10-05 16:48:34', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-05 16:48:34', '2015-10-05 16:48:34', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 16:48:34.000000', '2015-10-05 16:48:34', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 16:48:34.000000', '2015-10-05 16:48:34', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 16:48:34.000000', '2015-10-05 16:48:34', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 16:48:34.000000', '2015-10-05 16:48:34', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-05 16:48:34', '2015-10-05 16:48:34', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-05 16:48:34', '2015-10-05 16:48:34', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-05 16:48:34', '2015-10-05 16:48:34', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-05 16:48:34', '2015-10-05 16:48:34', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-05 16:48:34', '2015-10-05 16:48:34', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-05 16:48:34', '2015-10-05 16:48:34', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-05 16:48:34', '2015-10-05 16:48:34', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-05 16:48:34', '2015-10-05 16:48:34', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-05 16:48:34', '2015-10-05 16:48:34', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-05 16:48:34', '2015-10-05 16:48:34', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/home" for 127.0.0.1 at 2015-10-05 11:48:34 -0500 Processing by SocialNetworking::HomesController#show as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/_action_items.html.erb (0.4ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.3ms) CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/show.html.erb within layouts/tool (14.0ms) Completed 200 OK in 150ms (Views: 117.2ms | ActiveRecord: 4.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-10-05 11:48:34 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-10-05 11:48:34 -0500 Started GET "/social_networking/profiles" for 127.0.0.1 at 2015-10-05 11:48:34 -0500 Processing by SocialNetworking::ProfilesController#index as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) SELECT "participants"."id" FROM "participants" SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" IN (700141617, 816972181, 129315074) Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Completed 200 OK in 25ms (Views: 0.3ms | ActiveRecord: 1.9ms) Started GET "/assets/social_networking/_profile_icon_admin.png" for 127.0.0.1 at 2015-10-05 11:48:34 -0500 Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]]  (0.4ms) ROLLBACK  (4.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-05 16:49:29', '2015-10-05 16:49:29', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-05', '2015-10-05 16:49:29', '2015-10-05 16:49:29', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-05 16:49:29.000000', '2015-10-05', '2015-10-05 16:49:29', '2015-10-05 16:49:29', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-05', '2015-10-05 16:49:29', '2015-10-05 16:49:29', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-05 16:49:29', '2015-10-05 16:49:29', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-05 16:49:29.000000', '2015-10-05', '2015-10-05 16:49:29', '2015-10-05 16:49:29', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-04', '2015-10-05 16:49:29', '2015-10-05 16:49:29', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-10-03', '2015-10-05 16:49:29', '2015-10-05 16:49:29', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-05 16:49:29.000000', '2015-10-05', '2015-10-05 16:49:29', '2015-10-05 16:49:29', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-05', '2015-10-05 16:49:29', '2015-10-05 16:49:29', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-05 16:49:29.000000', '2015-10-05', '2015-10-05 16:49:29', '2015-10-05 16:49:29', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-05', '2015-10-05 16:49:29', '2015-10-05 16:49:29', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-05 16:49:29.000000', '2015-10-05', '2015-10-05 16:49:29', '2015-10-05 16:49:29', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-05 16:49:29', '2015-10-05 16:49:29', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 16:49:29.000000', '2015-10-05 16:49:29', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 16:49:29.000000', '2015-10-05 16:49:29', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 16:49:29.000000', '2015-10-05 16:49:29', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 16:49:29.000000', '2015-10-05 16:49:29', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-05 16:49:29', '2015-10-05 16:49:29', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-05 16:49:29', '2015-10-05 16:49:29', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-05 16:49:29', '2015-10-05 16:49:29', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-05 16:49:29', '2015-10-05 16:49:29', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-05 16:49:29', '2015-10-05 16:49:29', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-05 16:49:29', '2015-10-05 16:49:29', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-05 16:49:29', '2015-10-05 16:49:29', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-05 16:49:29', '2015-10-05 16:49:29', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-05 16:49:29', '2015-10-05 16:49:29', 183235640, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-05 16:49:29', '2015-10-05 16:49:29', 1038927011, 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.6ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-05 16:49:29', '2015-10-05 16:49:29', 809335042, 'SocialNetworking::Goal', 809335042)  (1.5ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/home" for 127.0.0.1 at 2015-10-05 11:49:30 -0500 Processing by SocialNetworking::HomesController#show as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/_action_items.html.erb (0.3ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.4ms) CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/show.html.erb within layouts/tool (12.2ms) Completed 200 OK in 108ms (Views: 81.6ms | ActiveRecord: 4.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-10-05 11:49:30 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-10-05 11:49:30 -0500 Started GET "/social_networking/profiles" for 127.0.0.1 at 2015-10-05 11:49:30 -0500 Processing by SocialNetworking::ProfilesController#index as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) SELECT "participants"."id" FROM "participants" SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" IN (700141617, 816972181, 129315074) Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 129315074]] Completed 200 OK in 24ms (Views: 0.4ms | ActiveRecord: 2.1ms) Started GET "/assets/social_networking/_profile_icon_admin.png" for 127.0.0.1 at 2015-10-05 11:49:30 -0500 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 129315074]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 129315074]]  (0.3ms) ROLLBACK  (1.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Insert (5.9ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "is_admin", "id") VALUES ('Social-44', 'p4@example.com', '16305150179', 'email', 't', 433169571) PG::UndefinedColumn: ERROR: column "is_admin" of relation "participants" does not exist LINE 1: ...", "email", "phone_number", "contact_preference", "is_admin"... ^ : INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "is_admin", "id") VALUES ('Social-44', 'p4@example.com', '16305150179', 'email', 't', 433169571)  (0.1ms) ROLLBACK  (9.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (1.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-44', 'p4@example.com', '16305150179', 'email', 433169571) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-05 16:54:00', '2015-10-05 16:54:00', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-05', '2015-10-05 16:54:00', '2015-10-05 16:54:00', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-05 16:54:00.000000', '2015-10-05', '2015-10-05 16:54:00', '2015-10-05 16:54:00', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-05', '2015-10-05 16:54:00', '2015-10-05 16:54:00', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-05 16:54:00', '2015-10-05 16:54:00', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-05 16:54:00.000000', '2015-10-05', '2015-10-05 16:54:00', '2015-10-05 16:54:00', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-04', '2015-10-05 16:54:00', '2015-10-05 16:54:00', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-10-03', '2015-10-05 16:54:00', '2015-10-05 16:54:00', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-05 16:54:00.000000', '2015-10-05', '2015-10-05 16:54:00', '2015-10-05 16:54:00', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-05', '2015-10-05 16:54:00', '2015-10-05 16:54:00', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-05 16:54:00.000000', '2015-10-05', '2015-10-05 16:54:00', '2015-10-05 16:54:00', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-05', '2015-10-05 16:54:00', '2015-10-05 16:54:00', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-05 16:54:00.000000', '2015-10-05', '2015-10-05 16:54:00', '2015-10-05 16:54:00', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-05 16:54:00', '2015-10-05 16:54:00', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (1.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 16:54:00.000000', '2015-10-05 16:54:00', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 16:54:00.000000', '2015-10-05 16:54:00', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 16:54:00.000000', '2015-10-05 16:54:00', 931788854, 816972181, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 16:54:00.000000', '2015-10-05 16:54:00', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-05 16:54:00', '2015-10-05 16:54:00', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-05 16:54:00', '2015-10-05 16:54:00', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-05 16:54:00', '2015-10-05 16:54:00', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-05 16:54:00', '2015-10-05 16:54:00', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-05 16:54:00', '2015-10-05 16:54:00', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-05 16:54:00', '2015-10-05 16:54:00', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-05 16:54:00', '2015-10-05 16:54:00', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-05 16:54:00', '2015-10-05 16:54:00', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-05 16:54:00', '2015-10-05 16:54:00', 183235640, 816972181) Fixture Insert (0.6ms) INSERT INTO "social_networking_profiles" ("active", "is_admin", "created_at", "updated_at", "id", "participant_id") VALUES ('t', 't', '2015-10-05 16:54:00', '2015-10-05 16:54:00', 596136196, 433169571) PG::UndefinedColumn: ERROR: column "is_admin" of relation "social_networking_profiles" does not exist LINE 1: ...SERT INTO "social_networking_profiles" ("active", "is_admin"... ^ : INSERT INTO "social_networking_profiles" ("active", "is_admin", "created_at", "updated_at", "id", "participant_id") VALUES ('t', 't', '2015-10-05 16:54:00', '2015-10-05 16:54:00', 596136196, 433169571)  (0.1ms) ROLLBACK  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (1.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Insert (6.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "is_admin", "id") VALUES ('Social-44', 'p4@example.com', '16305150179', 'email', 't', 433169571) PG::UndefinedColumn: ERROR: column "is_admin" of relation "participants" does not exist LINE 1: ...", "email", "phone_number", "contact_preference", "is_admin"... ^ : INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "is_admin", "id") VALUES ('Social-44', 'p4@example.com', '16305150179', 'email', 't', 433169571)  (0.1ms) ROLLBACK  (9.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (19.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (18.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.2ms) BEGIN  (22.0ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (6.4ms) COMMIT Migrating to AddParticipantFields (2)  (5.7ms) BEGIN  (0.5ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.4ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (11.5ms) COMMIT Migrating to CreateArms (3)  (0.2ms) BEGIN  (15.2ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (5.0ms) COMMIT Migrating to AddNullFalseToArms (5)  (5.6ms) BEGIN  (0.7ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.2ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (6.1ms) COMMIT Migrating to AddHasWozToArm (6)  (0.1ms) BEGIN  (21.4ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (0.9ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (5.9ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.1ms) BEGIN  (12.7ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.5ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (0.7ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (6.4ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (6.0ms) BEGIN  (18.6ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (6.0ms) BEGIN  (18.2ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (0.8ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (5.8ms) BEGIN  (19.6ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.7ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (5.9ms) BEGIN  (19.0ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (5.9ms) BEGIN  (19.4ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (2.2ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (6.0ms) BEGIN  (14.8ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (5.6ms) BEGIN  (19.9ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (5.9ms) BEGIN  (19.5ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (0.5ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (6.0ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (0.9ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (6.2ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (5.0ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.1ms) BEGIN  (6.5ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (11.7ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (14.6ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (11.1ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.2ms) BEGIN  (14.0ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (34.9ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.1ms) BEGIN  (0.6ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (11.9ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.1ms) BEGIN  (6.7ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (6.2ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.1ms) BEGIN  (12.1ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (5.8ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (6.1ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2015-10-05 16:56:40.332026"], ["updated_at", "2015-10-05 16:56:40.332026"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2015-10-05 16:56:40.333795"], ["updated_at", "2015-10-05 16:56:40.333795"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2015-10-05 16:56:40.334956"], ["updated_at", "2015-10-05 16:56:40.334956"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2015-10-05 16:56:40.336045"], ["updated_at", "2015-10-05 16:56:40.336045"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2015-10-05 16:56:40.337688"], ["updated_at", "2015-10-05 16:56:40.337688"]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (5.1ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (205.7ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.3ms) BEGIN  (0.6ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (6.2ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.2ms) BEGIN SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (5.4ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (6.7ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (11.3ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.2ms) BEGIN SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (6.2ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.1ms) BEGIN  (13.1ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (6.2ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (5.6ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (12.1ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (6.2ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.2ms) BEGIN  (0.8ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (5.5ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.2ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (6.5ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.2ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (6.0ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (11.7ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.1ms) BEGIN  (6.9ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (6.1ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.1ms) BEGIN  (11.8ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (6.1ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.2ms) BEGIN  (13.4ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (5.6ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (0.3ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.1ms) BEGIN  (6.5ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (11.9ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (5.3ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.4ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.1ms) BEGIN  (6.3ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (11.4ms) COMMIT Migrating to AddIsAdminToParticipant (20151005165524)  (0.2ms) BEGIN  (0.7ms) ALTER TABLE "participants" ADD "is_admin" boolean SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151005165524"]]  (6.0ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "is_admin", "id") VALUES ('Social-44', 'p4@example.com', '16305150179', 'email', 't', 433169571) Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.5ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-05 16:56:48', '2015-10-05 16:56:48', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_goals" Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-05', '2015-10-05 16:56:48', '2015-10-05 16:56:48', 809335042, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-05 16:56:48.000000', '2015-10-05', '2015-10-05 16:56:48', '2015-10-05 16:56:48', 576699391, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-05', '2015-10-05 16:56:48', '2015-10-05 16:56:48', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-05 16:56:48', '2015-10-05 16:56:48', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-05 16:56:48.000000', '2015-10-05', '2015-10-05 16:56:48', '2015-10-05 16:56:48', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-04', '2015-10-05 16:56:48', '2015-10-05 16:56:48', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-10-03', '2015-10-05 16:56:48', '2015-10-05 16:56:48', 938656909, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-05 16:56:48.000000', '2015-10-05', '2015-10-05 16:56:48', '2015-10-05 16:56:48', 401619065, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-05', '2015-10-05 16:56:48', '2015-10-05 16:56:48', 128166899, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-05 16:56:48.000000', '2015-10-05', '2015-10-05 16:56:48', '2015-10-05 16:56:48', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-05', '2015-10-05 16:56:48', '2015-10-05 16:56:48', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-05 16:56:48.000000', '2015-10-05', '2015-10-05 16:56:48', '2015-10-05 16:56:48', 16804933, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-05 16:56:48', '2015-10-05 16:56:48', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.5ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 16:56:48.000000', '2015-10-05 16:56:48', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 16:56:48.000000', '2015-10-05 16:56:48', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 16:56:48.000000', '2015-10-05 16:56:48', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 16:56:48.000000', '2015-10-05 16:56:48', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-05 16:56:48', '2015-10-05 16:56:48', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-05 16:56:48', '2015-10-05 16:56:48', 369066228, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-05 16:56:48', '2015-10-05 16:56:48', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-05 16:56:48', '2015-10-05 16:56:48', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-05 16:56:48', '2015-10-05 16:56:48', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-05 16:56:48', '2015-10-05 16:56:48', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-05 16:56:48', '2015-10-05 16:56:48', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-05 16:56:48', '2015-10-05 16:56:48', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-05 16:56:48', '2015-10-05 16:56:48', 183235640, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-05 16:56:48', '2015-10-05 16:56:48', 596136196, 433169571) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-05 16:56:48', '2015-10-05 16:56:48', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/home" for 127.0.0.1 at 2015-10-05 11:56:49 -0500 Processing by SocialNetworking::HomesController#show as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/_action_items.html.erb (0.3ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.4ms) CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/show.html.erb within layouts/tool (14.3ms) Completed 200 OK in 139ms (Views: 105.7ms | ActiveRecord: 4.5ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-10-05 11:56:49 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-10-05 11:56:49 -0500 Started GET "/social_networking/profiles" for 127.0.0.1 at 2015-10-05 11:56:49 -0500 Processing by SocialNetworking::ProfilesController#index as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) SELECT "participants"."id" FROM "participants" SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" IN (700141617, 816972181, 129315074, 433169571) Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 433169571]] Completed 200 OK in 30ms (Views: 0.5ms | ActiveRecord: 2.5ms) Started GET "/assets/social_networking/_profile_icon_admin.png" for 127.0.0.1 at 2015-10-05 11:56:49 -0500 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 129315074]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 129315074]]  (0.3ms) ROLLBACK  (2.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "is_admin", "id") VALUES ('Social-44', 'p4@example.com', '16305150179', 'email', 't', 433169571) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-05 16:58:16', '2015-10-05 16:58:16', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-05', '2015-10-05 16:58:16', '2015-10-05 16:58:16', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-05 16:58:16.000000', '2015-10-05', '2015-10-05 16:58:16', '2015-10-05 16:58:16', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-05', '2015-10-05 16:58:16', '2015-10-05 16:58:16', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-05 16:58:16', '2015-10-05 16:58:16', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-05 16:58:16.000000', '2015-10-05', '2015-10-05 16:58:16', '2015-10-05 16:58:16', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-04', '2015-10-05 16:58:16', '2015-10-05 16:58:16', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-10-03', '2015-10-05 16:58:16', '2015-10-05 16:58:16', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-05 16:58:16.000000', '2015-10-05', '2015-10-05 16:58:16', '2015-10-05 16:58:16', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-05', '2015-10-05 16:58:16', '2015-10-05 16:58:16', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-05 16:58:16.000000', '2015-10-05', '2015-10-05 16:58:16', '2015-10-05 16:58:16', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-05', '2015-10-05 16:58:16', '2015-10-05 16:58:16', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-05 16:58:16.000000', '2015-10-05', '2015-10-05 16:58:16', '2015-10-05 16:58:16', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-05 16:58:16', '2015-10-05 16:58:16', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 16:58:16.000000', '2015-10-05 16:58:16', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 16:58:16.000000', '2015-10-05 16:58:16', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 16:58:16.000000', '2015-10-05 16:58:16', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 16:58:16.000000', '2015-10-05 16:58:16', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-05 16:58:16', '2015-10-05 16:58:16', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-05 16:58:16', '2015-10-05 16:58:16', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-05 16:58:16', '2015-10-05 16:58:16', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-05 16:58:16', '2015-10-05 16:58:16', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-05 16:58:16', '2015-10-05 16:58:16', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-05 16:58:16', '2015-10-05 16:58:16', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-05 16:58:16', '2015-10-05 16:58:16', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-05 16:58:16', '2015-10-05 16:58:16', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-05 16:58:16', '2015-10-05 16:58:16', 183235640, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-05 16:58:16', '2015-10-05 16:58:16', 596136196, 433169571) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-05 16:58:16', '2015-10-05 16:58:16', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/home" for 127.0.0.1 at 2015-10-05 11:58:17 -0500 Processing by SocialNetworking::HomesController#show as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Profile Load (0.7ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/_action_items.html.erb (0.3ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.3ms) CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/show.html.erb within layouts/tool (14.1ms) Completed 200 OK in 156ms (Views: 119.6ms | ActiveRecord: 4.6ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-10-05 11:58:17 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-10-05 11:58:17 -0500 Started GET "/social_networking/profiles" for 127.0.0.1 at 2015-10-05 11:58:17 -0500 Processing by SocialNetworking::ProfilesController#index as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) SELECT "participants"."id" FROM "participants" SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" IN (700141617, 816972181, 129315074, 433169571) Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 433169571]] Completed 200 OK in 24ms (Views: 0.4ms | ActiveRecord: 2.1ms) Started GET "/assets/social_networking/_profile_icon_admin.png" for 127.0.0.1 at 2015-10-05 11:58:17 -0500 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 433169571]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 433169571]]  (0.3ms) ROLLBACK  (1.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "is_admin", "id") VALUES ('Social-44', 'p4@example.com', '16305150179', 'email', 't', 433169571) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-05 16:59:24', '2015-10-05 16:59:24', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-05', '2015-10-05 16:59:24', '2015-10-05 16:59:24', 809335042, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-05 16:59:24.000000', '2015-10-05', '2015-10-05 16:59:24', '2015-10-05 16:59:24', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-05', '2015-10-05 16:59:24', '2015-10-05 16:59:24', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-05 16:59:24', '2015-10-05 16:59:24', 53334230, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-05 16:59:24.000000', '2015-10-05', '2015-10-05 16:59:24', '2015-10-05 16:59:24', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-04', '2015-10-05 16:59:24', '2015-10-05 16:59:24', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-10-03', '2015-10-05 16:59:24', '2015-10-05 16:59:24', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-05 16:59:24.000000', '2015-10-05', '2015-10-05 16:59:24', '2015-10-05 16:59:24', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-05', '2015-10-05 16:59:24', '2015-10-05 16:59:24', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-05 16:59:24.000000', '2015-10-05', '2015-10-05 16:59:24', '2015-10-05 16:59:24', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-05', '2015-10-05 16:59:24', '2015-10-05 16:59:24', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-05 16:59:24.000000', '2015-10-05', '2015-10-05 16:59:24', '2015-10-05 16:59:24', 16804933, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-05 16:59:24', '2015-10-05 16:59:24', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 16:59:24.000000', '2015-10-05 16:59:24', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 16:59:24.000000', '2015-10-05 16:59:24', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 16:59:24.000000', '2015-10-05 16:59:24', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 16:59:24.000000', '2015-10-05 16:59:24', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-05 16:59:24', '2015-10-05 16:59:24', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-05 16:59:24', '2015-10-05 16:59:24', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-05 16:59:24', '2015-10-05 16:59:24', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-05 16:59:24', '2015-10-05 16:59:24', 45443486, 333620620) Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-05 16:59:24', '2015-10-05 16:59:24', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-05 16:59:24', '2015-10-05 16:59:24', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-05 16:59:24', '2015-10-05 16:59:24', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-05 16:59:24', '2015-10-05 16:59:24', 10484799) Fixture Delete (0.6ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-05 16:59:24', '2015-10-05 16:59:24', 183235640, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-05 16:59:24', '2015-10-05 16:59:24', 596136196, 433169571) Fixture Delete (0.5ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-05 16:59:24', '2015-10-05 16:59:24', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/home" for 127.0.0.1 at 2015-10-05 11:59:25 -0500 Processing by SocialNetworking::HomesController#show as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/_action_items.html.erb (0.5ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.5ms) CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/show.html.erb within layouts/tool (15.5ms) Completed 200 OK in 152ms (Views: 118.9ms | ActiveRecord: 4.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-10-05 11:59:25 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-10-05 11:59:25 -0500 Started GET "/social_networking/profiles" for 127.0.0.1 at 2015-10-05 11:59:25 -0500 Processing by SocialNetworking::ProfilesController#index as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) SELECT "participants"."id" FROM "participants" SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" IN (700141617, 816972181, 129315074, 433169571) Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 433169571]] Completed 200 OK in 24ms (Views: 0.4ms | ActiveRecord: 2.1ms) Started GET "/assets/social_networking/_profile_icon_admin.png" for 127.0.0.1 at 2015-10-05 11:59:25 -0500 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]]  (0.3ms) ROLLBACK  (6.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.5ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-10-05 17:02:34', '2015-10-05 17:02:34', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-10-05 17:02:34', '2015-10-05 17:02:34', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-10-05 17:02:34', '2015-10-05 17:02:34', 129315074) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "is_admin", "created_at", "updated_at", "id") VALUES ('Social-44', 'p4@example.com', '16305150179', 'email', 't', '2015-10-05 17:02:34', '2015-10-05 17:02:34', 433169571) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (19.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (4.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.1ms) BEGIN  (15.9ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (6.3ms) COMMIT Migrating to AddParticipantFields (2)  (5.8ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.2ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (11.1ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (14.6ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (6.2ms) COMMIT Migrating to AddNullFalseToArms (5)  (6.0ms) BEGIN  (0.3ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.2ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (6.2ms) COMMIT Migrating to AddHasWozToArm (6)  (0.1ms) BEGIN  (21.3ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (5.5ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.3ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (11.6ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.1ms) BEGIN  (7.7ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.6ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (0.8ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (11.2ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (5.8ms) BEGIN  (19.7ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.0ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.3ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (6.0ms) BEGIN  (19.1ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.1ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (5.9ms) BEGIN  (19.8ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (6.0ms) BEGIN  (19.5ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (5.8ms) BEGIN  (19.3ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (0.9ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (5.9ms) BEGIN  (7.5ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.0ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (11.3ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (6.2ms) BEGIN  (16.1ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (11.0ms) BEGIN  (13.4ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (0.5ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (11.1ms) BEGIN  (0.6ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (1.6ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (6.2ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (6.1ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.1ms) BEGIN  (6.2ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (12.1ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.5ms) BEGIN  (0.5ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (5.5ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (1.5ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.2ms) BEGIN  (14.6ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (12.5ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (5.8ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.1ms) BEGIN  (7.0ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (6.0ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.1ms) BEGIN  (12.9ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (6.1ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (5.9ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2015-10-05 17:02:51.469458"], ["updated_at", "2015-10-05 17:02:51.469458"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2015-10-05 17:02:51.471433"], ["updated_at", "2015-10-05 17:02:51.471433"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2015-10-05 17:02:51.472758"], ["updated_at", "2015-10-05 17:02:51.472758"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2015-10-05 17:02:51.474018"], ["updated_at", "2015-10-05 17:02:51.474018"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2015-10-05 17:02:51.475215"], ["updated_at", "2015-10-05 17:02:51.475215"]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (5.9ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (11.4ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (5.7ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.2ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (5.9ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (1.3ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (5.3ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.2ms) BEGIN SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (5.8ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.1ms) BEGIN  (13.9ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (6.3ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (5.9ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (12.1ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (5.8ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.1ms) BEGIN  (0.5ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (12.0ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.1ms) BEGIN  (0.6ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (5.6ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (11.8ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (5.5ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.1ms) BEGIN  (6.4ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (11.1ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.1ms) BEGIN  (6.6ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (6.1ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.1ms) BEGIN  (12.1ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (7.5ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (0.5ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.2ms) BEGIN  (12.9ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (6.7ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (0.8ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.4ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.1ms) BEGIN  (11.8ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (6.1ms) COMMIT Migrating to AddIsAdminToParticipant (20151005165524)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "participants" ADD "is_admin" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151005165524"]]  (6.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (3.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "is_admin", "id") VALUES ('Social-44', 'p4@example.com', '16305150179', 'email', 't', 433169571) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-05 17:02:57', '2015-10-05 17:02:57', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-05', '2015-10-05 17:02:57', '2015-10-05 17:02:57', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-05 17:02:57.000000', '2015-10-05', '2015-10-05 17:02:57', '2015-10-05 17:02:57', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-05', '2015-10-05 17:02:57', '2015-10-05 17:02:57', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-05 17:02:57', '2015-10-05 17:02:57', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-05 17:02:57.000000', '2015-10-05', '2015-10-05 17:02:57', '2015-10-05 17:02:57', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-04', '2015-10-05 17:02:57', '2015-10-05 17:02:57', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-10-03', '2015-10-05 17:02:57', '2015-10-05 17:02:57', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-05 17:02:57.000000', '2015-10-05', '2015-10-05 17:02:57', '2015-10-05 17:02:57', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-05', '2015-10-05 17:02:57', '2015-10-05 17:02:57', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-05 17:02:57.000000', '2015-10-05', '2015-10-05 17:02:57', '2015-10-05 17:02:57', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-05', '2015-10-05 17:02:57', '2015-10-05 17:02:57', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-05 17:02:57.000000', '2015-10-05', '2015-10-05 17:02:57', '2015-10-05 17:02:57', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-05 17:02:57', '2015-10-05 17:02:57', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 17:02:57.000000', '2015-10-05 17:02:57', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 17:02:57.000000', '2015-10-05 17:02:57', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 17:02:57.000000', '2015-10-05 17:02:57', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 17:02:57.000000', '2015-10-05 17:02:57', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-05 17:02:57', '2015-10-05 17:02:57', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-05 17:02:57', '2015-10-05 17:02:57', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-05 17:02:57', '2015-10-05 17:02:57', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-05 17:02:57', '2015-10-05 17:02:57', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-05 17:02:57', '2015-10-05 17:02:57', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-05 17:02:57', '2015-10-05 17:02:57', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-05 17:02:57', '2015-10-05 17:02:57', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-05 17:02:57', '2015-10-05 17:02:57', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-05 17:02:57', '2015-10-05 17:02:57', 183235640, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-05 17:02:57', '2015-10-05 17:02:57', 596136196, 433169571) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-05 17:02:57', '2015-10-05 17:02:57', 809335042, 'SocialNetworking::Goal', 809335042)  (1.6ms) COMMIT  (2.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/home" for 127.0.0.1 at 2015-10-05 12:02:58 -0500 Processing by SocialNetworking::HomesController#show as HTML Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/_action_items.html.erb (0.6ms) Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/shared/_infinite_feed.html.erb (0.7ms) CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/homes/show.html.erb within layouts/tool (21.1ms) Completed 200 OK in 166ms (Views: 128.0ms | ActiveRecord: 7.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-10-05 12:02:58 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-10-05 12:02:58 -0500 Started GET "/social_networking/profiles" for 127.0.0.1 at 2015-10-05 12:02:58 -0500 Processing by SocialNetworking::ProfilesController#index as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) SELECT "participants"."id" FROM "participants" SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" IN (700141617, 816972181, 129315074, 433169571) Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 433169571]] Completed 200 OK in 25ms (Views: 0.4ms | ActiveRecord: 2.2ms) Started GET "/assets/social_networking/_profile_icon_admin.png" for 127.0.0.1 at 2015-10-05 12:02:59 -0500 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 816972181]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 433169571]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 433169571]]  (0.3ms) ROLLBACK  (1.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "is_admin", "id") VALUES ('Social-44', 'p4@example.com', '16305150179', 'email', 't', 433169571) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-05 17:05:14', '2015-10-05 17:05:14', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-05', '2015-10-05 17:05:14', '2015-10-05 17:05:14', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-05 17:05:14.000000', '2015-10-05', '2015-10-05 17:05:14', '2015-10-05 17:05:14', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-05', '2015-10-05 17:05:14', '2015-10-05 17:05:14', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-05 17:05:14', '2015-10-05 17:05:14', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-05 17:05:14.000000', '2015-10-05', '2015-10-05 17:05:14', '2015-10-05 17:05:14', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-04', '2015-10-05 17:05:14', '2015-10-05 17:05:14', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-10-03', '2015-10-05 17:05:14', '2015-10-05 17:05:14', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-05 17:05:14.000000', '2015-10-05', '2015-10-05 17:05:14', '2015-10-05 17:05:14', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-05', '2015-10-05 17:05:14', '2015-10-05 17:05:14', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-05 17:05:14.000000', '2015-10-05', '2015-10-05 17:05:14', '2015-10-05 17:05:14', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-05', '2015-10-05 17:05:14', '2015-10-05 17:05:14', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-05 17:05:14.000000', '2015-10-05', '2015-10-05 17:05:14', '2015-10-05 17:05:14', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-05 17:05:14', '2015-10-05 17:05:14', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 17:05:14.000000', '2015-10-05 17:05:14', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 17:05:14.000000', '2015-10-05 17:05:14', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 17:05:14.000000', '2015-10-05 17:05:14', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 17:05:14.000000', '2015-10-05 17:05:14', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-05 17:05:14', '2015-10-05 17:05:14', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-05 17:05:14', '2015-10-05 17:05:14', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-05 17:05:14', '2015-10-05 17:05:14', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-05 17:05:14', '2015-10-05 17:05:14', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-05 17:05:14', '2015-10-05 17:05:14', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-05 17:05:14', '2015-10-05 17:05:14', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-05 17:05:14', '2015-10-05 17:05:14', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-05 17:05:14', '2015-10-05 17:05:14', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-05 17:05:14', '2015-10-05 17:05:14', 183235640, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-05 17:05:14', '2015-10-05 17:05:14', 596136196, 433169571) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-05 17:05:14', '2015-10-05 17:05:14', 809335042, 'SocialNetworking::Goal', 809335042)  (1.4ms) COMMIT  (1.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 433169571]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 ORDER BY "social_networking_profiles"."id" ASC LIMIT 1 [["participant_id", 433169571]] Started GET "/social_networking/profile_page/596136196" for 127.0.0.1 at 2015-10-05 12:05:15 -0500 Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"596136196"} SocialNetworking::Profile Load (0.6ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 596136196]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 500 Internal Server Error in 8ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 ORDER BY "social_networking_profiles"."id" ASC LIMIT 1 [["participant_id", 700141617]]  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "is_admin", "id") VALUES ('Social-44', 'p4@example.com', '16305150179', 'email', 't', 433169571) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-05 17:42:39', '2015-10-05 17:42:39', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-05', '2015-10-05 17:42:39', '2015-10-05 17:42:39', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-05 17:42:39.000000', '2015-10-05', '2015-10-05 17:42:39', '2015-10-05 17:42:39', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-05', '2015-10-05 17:42:39', '2015-10-05 17:42:39', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-05 17:42:39', '2015-10-05 17:42:39', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-05 17:42:39.000000', '2015-10-05', '2015-10-05 17:42:39', '2015-10-05 17:42:39', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-04', '2015-10-05 17:42:39', '2015-10-05 17:42:39', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-10-03', '2015-10-05 17:42:39', '2015-10-05 17:42:39', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-05 17:42:39.000000', '2015-10-05', '2015-10-05 17:42:39', '2015-10-05 17:42:39', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-05', '2015-10-05 17:42:39', '2015-10-05 17:42:39', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-05 17:42:39.000000', '2015-10-05', '2015-10-05 17:42:39', '2015-10-05 17:42:39', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-05', '2015-10-05 17:42:39', '2015-10-05 17:42:39', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-05 17:42:39.000000', '2015-10-05', '2015-10-05 17:42:39', '2015-10-05 17:42:39', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-05 17:42:39', '2015-10-05 17:42:39', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 17:42:39.000000', '2015-10-05 17:42:39', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 17:42:39.000000', '2015-10-05 17:42:39', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 17:42:39.000000', '2015-10-05 17:42:39', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 17:42:39.000000', '2015-10-05 17:42:39', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-05 17:42:39', '2015-10-05 17:42:39', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-05 17:42:39', '2015-10-05 17:42:39', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-05 17:42:39', '2015-10-05 17:42:39', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-05 17:42:39', '2015-10-05 17:42:39', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-05 17:42:39', '2015-10-05 17:42:39', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-05 17:42:39', '2015-10-05 17:42:39', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-05 17:42:39', '2015-10-05 17:42:39', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-05 17:42:39', '2015-10-05 17:42:39', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-05 17:42:39', '2015-10-05 17:42:39', 183235640, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-05 17:42:39', '2015-10-05 17:42:39', 596136196, 433169571) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-05 17:42:39', '2015-10-05 17:42:39', 809335042, 'SocialNetworking::Goal', 809335042)  (0.7ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 433169571]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 ORDER BY "social_networking_profiles"."id" ASC LIMIT 1 [["participant_id", 433169571]] Started GET "/social_networking/profile_page/596136196" for 127.0.0.1 at 2015-10-05 12:42:40 -0500 Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"596136196"} SocialNetworking::Profile Load (0.9ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 596136196]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Completed 500 Internal Server Error in 7ms  (0.4ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 ORDER BY "social_networking_profiles"."id" ASC LIMIT 1 [["participant_id", 700141617]]  (0.1ms) ROLLBACK  (2.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "is_admin", "id") VALUES ('Social-44', 'p4@example.com', '16305150179', 'email', 't', 433169571) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-05 17:48:46', '2015-10-05 17:48:46', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-05', '2015-10-05 17:48:46', '2015-10-05 17:48:46', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-05 17:48:46.000000', '2015-10-05', '2015-10-05 17:48:46', '2015-10-05 17:48:46', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-05', '2015-10-05 17:48:46', '2015-10-05 17:48:46', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-05 17:48:46', '2015-10-05 17:48:46', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-05 17:48:46.000000', '2015-10-05', '2015-10-05 17:48:46', '2015-10-05 17:48:46', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-04', '2015-10-05 17:48:46', '2015-10-05 17:48:46', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-10-03', '2015-10-05 17:48:46', '2015-10-05 17:48:46', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-05 17:48:46.000000', '2015-10-05', '2015-10-05 17:48:46', '2015-10-05 17:48:46', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-05', '2015-10-05 17:48:46', '2015-10-05 17:48:46', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-05 17:48:46.000000', '2015-10-05', '2015-10-05 17:48:46', '2015-10-05 17:48:46', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-05', '2015-10-05 17:48:46', '2015-10-05 17:48:46', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-05 17:48:46.000000', '2015-10-05', '2015-10-05 17:48:46', '2015-10-05 17:48:46', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-05 17:48:46', '2015-10-05 17:48:46', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 17:48:46.000000', '2015-10-05 17:48:46', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 17:48:46.000000', '2015-10-05 17:48:46', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 17:48:46.000000', '2015-10-05 17:48:46', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 17:48:46.000000', '2015-10-05 17:48:46', 316146702, 816972181, 700141617) Fixture Delete (0.6ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-05 17:48:46', '2015-10-05 17:48:46', 576803333, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-05 17:48:46', '2015-10-05 17:48:46', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-05 17:48:46', '2015-10-05 17:48:46', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-05 17:48:46', '2015-10-05 17:48:46', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-05 17:48:46', '2015-10-05 17:48:46', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-05 17:48:46', '2015-10-05 17:48:46', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-05 17:48:46', '2015-10-05 17:48:46', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-05 17:48:46', '2015-10-05 17:48:46', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-05 17:48:46', '2015-10-05 17:48:46', 183235640, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-05 17:48:46', '2015-10-05 17:48:46', 596136196, 433169571) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-05 17:48:46', '2015-10-05 17:48:46', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 10ms (Views: 0.3ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (2.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (6.5ms) DELETE FROM "participants" Fixture Insert (0.5ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (6.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-05 19:36:23', '2015-10-05 19:36:23', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-05', '2015-10-05 19:36:23', '2015-10-05 19:36:23', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-05 19:36:23.000000', '2015-10-05', '2015-10-05 19:36:23', '2015-10-05 19:36:23', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-05', '2015-10-05 19:36:23', '2015-10-05 19:36:23', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-05 19:36:23', '2015-10-05 19:36:23', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-05 19:36:23.000000', '2015-10-05', '2015-10-05 19:36:23', '2015-10-05 19:36:23', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-04', '2015-10-05 19:36:23', '2015-10-05 19:36:23', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-10-03', '2015-10-05 19:36:23', '2015-10-05 19:36:23', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-05 19:36:23.000000', '2015-10-05', '2015-10-05 19:36:23', '2015-10-05 19:36:23', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-05', '2015-10-05 19:36:23', '2015-10-05 19:36:23', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-05 19:36:23.000000', '2015-10-05', '2015-10-05 19:36:23', '2015-10-05 19:36:23', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-05', '2015-10-05 19:36:23', '2015-10-05 19:36:23', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-05 19:36:23.000000', '2015-10-05', '2015-10-05 19:36:23', '2015-10-05 19:36:23', 16804933, 816972181) Fixture Delete (1.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-05 19:36:23', '2015-10-05 19:36:23', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.9ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 19:36:23.000000', '2015-10-05 19:36:23', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 19:36:23.000000', '2015-10-05 19:36:23', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 19:36:23.000000', '2015-10-05 19:36:23', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 19:36:23.000000', '2015-10-05 19:36:23', 316146702, 816972181, 700141617) Fixture Delete (1.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-05 19:36:23', '2015-10-05 19:36:23', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-05 19:36:23', '2015-10-05 19:36:23', 369066228, 816972181) Fixture Delete (0.7ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-05 19:36:23', '2015-10-05 19:36:23', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-05 19:36:23', '2015-10-05 19:36:23', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-05 19:36:23', '2015-10-05 19:36:23', 10484799, 183235640) Fixture Delete (0.5ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-05 19:36:23', '2015-10-05 19:36:23', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-05 19:36:23', '2015-10-05 19:36:23', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-05 19:36:23', '2015-10-05 19:36:23', 10484799) Fixture Delete (0.5ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-05 19:36:23', '2015-10-05 19:36:23', 183235640, 816972181) Fixture Delete (0.8ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-05 19:36:23', '2015-10-05 19:36:23', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (2.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.8ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-05 14:36:25 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.7ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (6.7ms) Completed 200 OK in 216ms (Views: 138.4ms | ActiveRecord: 9.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-10-05 14:36:25 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-10-05 14:36:25 -0500 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-10-05 14:36:25 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Oct 05 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-10-05 19:36:25.971315"], ["updated_at", "2015-10-05 19:36:25.983858"], ["id", 809335042]]  (6.2ms) COMMIT  (0.7ms) BEGIN SQL (1.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-10-05 19:36:26.015851"], ["updated_at", "2015-10-05 19:36:26.015851"]]  (6.1ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 64ms (Views: 0.6ms | ActiveRecord: 20.4ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-05 14:36:26 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.9ms) Completed 200 OK in 32ms (Views: 5.4ms | ActiveRecord: 4.1ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-10-05 14:36:26 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Oct 05 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (1.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-10-05 19:36:26.349303"], ["updated_at", "2015-10-05 19:36:26.353851"], ["id", 614371357]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 19ms (Views: 0.3ms | ActiveRecord: 5.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-05 14:36:26 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.1ms) Completed 200 OK in 28ms (Views: 3.1ms | ActiveRecord: 3.6ms)  (0.7ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-05 14:36:26 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.3ms) Completed 200 OK in 30ms (Views: 3.8ms | ActiveRecord: 3.7ms) SocialNetworking::Goal Load (0.8ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-10-05 14:36:26 -0500 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2015-11-02", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2015-11-02"], ["updated_at", "2015-10-05 19:36:27.006795"], ["id", 53334230]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.4ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-10-05 14:36:27 -0500 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.8ms) Completed 200 OK in 23ms (Views: 2.7ms | ActiveRecord: 2.8ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-10-05 14:36:27 -0500 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-10-19", "goal"=>{"description"=>"all of the things"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.9ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-10-19"], ["created_at", "2015-10-05 19:36:27.455717"], ["updated_at", "2015-10-05 19:36:27.455717"]]  (1.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-10-05 19:36:27.462911"], ["updated_at", "2015-10-05 19:36:27.462911"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 4.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (2.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-10-05 19:36:27', '2015-10-05 19:36:27', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-10-05', '2015-10-05 19:36:27', '2015-10-05 19:36:27', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-10-05 19:36:27.000000', '2015-10-05', '2015-10-05 19:36:27', '2015-10-05 19:36:27', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-10-05', '2015-10-05 19:36:27', '2015-10-05 19:36:27', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-10-05 19:36:27', '2015-10-05 19:36:27', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-10-05 19:36:27.000000', '2015-10-05', '2015-10-05 19:36:27', '2015-10-05 19:36:27', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-10-04', '2015-10-05 19:36:27', '2015-10-05 19:36:27', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-10-03', '2015-10-05 19:36:27', '2015-10-05 19:36:27', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-10-05 19:36:27.000000', '2015-10-05', '2015-10-05 19:36:27', '2015-10-05 19:36:27', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-10-05', '2015-10-05 19:36:27', '2015-10-05 19:36:27', 128166899, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-10-05 19:36:27.000000', '2015-10-05', '2015-10-05 19:36:27', '2015-10-05 19:36:27', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-10-05', '2015-10-05 19:36:27', '2015-10-05 19:36:27', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-10-05 19:36:27.000000', '2015-10-05', '2015-10-05 19:36:27', '2015-10-05 19:36:27', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-10-05 19:36:27', '2015-10-05 19:36:27', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 19:36:27.000000', '2015-10-05 19:36:27', 503297012, 700141617, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 19:36:27.000000', '2015-10-05 19:36:27', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-04 19:36:27.000000', '2015-10-05 19:36:27', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-10-05 19:36:27.000000', '2015-10-05 19:36:27', 316146702, 816972181, 700141617) Fixture Delete (0.5ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-10-05 19:36:27', '2015-10-05 19:36:27', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-10-05 19:36:27', '2015-10-05 19:36:27', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-10-05 19:36:27', '2015-10-05 19:36:27', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-10-05 19:36:27', '2015-10-05 19:36:27', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-10-05 19:36:27', '2015-10-05 19:36:27', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-10-05 19:36:27', '2015-10-05 19:36:27', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-10-05 19:36:27', '2015-10-05 19:36:27', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-10-05 19:36:27', '2015-10-05 19:36:27', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-10-05 19:36:27', '2015-10-05 19:36:27', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-10-05 19:36:27', '2015-10-05 19:36:27', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.7ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-10-05 19:36:27.693634"], ["updated_at", "2015-10-05 19:36:27.693634"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-10-05 19:36:27.697853"], ["updated_at", "2015-10-05 19:36:27.697853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.3ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.6ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Nudge Load (0.6ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-10-05 19:36:27.855747"], ["updated_at", "2015-10-05 19:36:27.855747"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-10-05 19:36:27.863283"], ["updated_at", "2015-10-05 19:36:27.863283"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-10-05 19:36:27.867120"], ["updated_at", "2015-10-05 19:36:27.867120"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (5.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.8ms) SocialNetworking::Mailer#notify: processed outbound mail in 327.2ms Sent mail to obama@ex.co (12.5ms) Date: Mon, 05 Oct 2015 14:36:28 -0500 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <5612d13c816dc_933a3ffeb8c60204198a7@dhcp-10-105-1-77.wireless.northwestern.private.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.2ms) ROLLBACK  (0.1ms) BEGIN  (2.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-28 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-10-04 00:00:00.000000"], ["updated_at", "2015-10-05 19:36:28.551591"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-09-28 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-10-05 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-10-05 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-10-05 00:00:00.000000"], ["updated_at", "2015-10-05 19:36:28.572897"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-10-05 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-10-05 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (3.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-28 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-10-04 00:00:00.000000"], ["updated_at", "2015-10-05 19:36:29.162283"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-09-27 00:00:00.000000"], ["updated_at", "2015-10-05 19:36:29.166773"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-09-28 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-10-04 00:00:00.000000"], ["updated_at", "2015-10-05 19:36:29.174193"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-10-05 23:59:59.999999' AND created_at >= '2015-10-05 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-10-05 00:00:00.000000"], ["updated_at", "2015-10-05 19:36:29.182348"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-10-05 23:59:59.999999' AND created_at >= '2015-10-05 00:00:00.000000')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-10-05 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-10-05 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-10-05 00:00:00.000000"], ["updated_at", "2015-10-05 19:36:29.193741"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-10-05 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-10-05 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-28 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-10-04 00:00:00.000000"], ["updated_at", "2015-10-05 19:36:29.210428"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-09-27 00:00:00.000000"], ["updated_at", "2015-10-05 19:36:29.214800"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-09-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-10-05 19:36:29.223859') AND ("social_networking_goals"."due_on" >= '2015-10-04 19:36:29.223913') SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-10-05 19:36:29.228052') AND ("social_networking_goals"."due_on" >= '2015-10-04 19:36:29.228079')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-10-05 19:36:29.230630') AND ("social_networking_goals"."due_on" >= '2015-10-04 19:36:29.230659')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-10-05 19:36:29.235618"], ["updated_at", "2015-10-05 19:36:29.235618"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-10-06"], ["created_at", "2015-10-05 19:36:29.246956"], ["updated_at", "2015-10-05 19:36:29.246956"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-10-05"], ["completed_at", "2015-10-03 00:00:00.000000"], ["created_at", "2015-10-05 19:36:29.255168"], ["updated_at", "2015-10-05 19:36:29.255168"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-10-05 19:36:29.261785"], ["updated_at", "2015-10-05 19:36:29.261785"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-10-05"], ["created_at", "2015-10-05 19:36:29.267632"], ["updated_at", "2015-10-05 19:36:29.267632"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-28 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-10-04 00:00:00.000000"], ["updated_at", "2015-10-05 19:36:29.495320"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-09-27 00:00:00.000000"], ["updated_at", "2015-10-05 19:36:29.502498"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-09-28 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-10-05 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-10-05 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-10-05 00:00:00.000000"], ["updated_at", "2015-10-05 19:36:29.513140"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-10-05 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-10-05 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-05 19:36:29.536415"], ["updated_at", "2015-10-05 19:36:29.536415"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-05 19:36:29.539835"], ["updated_at", "2015-10-05 19:36:29.539835"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-05 19:36:29.549025"], ["updated_at", "2015-10-05 19:36:29.549025"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-05 19:36:29.552551"], ["updated_at", "2015-10-05 19:36:29.552551"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-05 19:36:29.560936"], ["updated_at", "2015-10-05 19:36:29.560936"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-05 19:36:29.564855"], ["updated_at", "2015-10-05 19:36:29.564855"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-10-05 19:36:29.581878"], ["updated_at", "2015-10-05 19:36:29.581878"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-10-05 19:36:29.585477"], ["updated_at", "2015-10-05 19:36:29.585477"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-28 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.6ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-10-04 00:00:00.000000"], ["updated_at", "2015-10-05 19:36:29.941584"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-09-27 00:00:00.000000"], ["updated_at", "2015-10-05 19:36:29.948077"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-09-28 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-10-05 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-10-05 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.6ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-10-05 00:00:00.000000"], ["updated_at", "2015-10-05 19:36:29.958871"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-10-05 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-10-05 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.5ms) Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.6ms) Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.5ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_profiles" does not exist LINE 5: WHERE a.attrelid = '"social_networking_profil... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_profiles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.1ms) BEGIN  (16.2ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (11.8ms) COMMIT Migrating to AddParticipantFields (2)  (5.8ms) BEGIN  (0.4ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.3ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (4.9ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (3.8ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (0.4ms) COMMIT Migrating to AddNullFalseToArms (5)  (0.2ms) BEGIN  (0.2ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.2ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (0.3ms) COMMIT Migrating to AddHasWozToArm (6)  (0.1ms) BEGIN  (4.5ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (0.8ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (0.2ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.1ms) BEGIN  (2.2ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.6ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (0.7ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.1ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (0.3ms) BEGIN  (3.6ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.4ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (0.2ms) BEGIN  (3.2ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (1.4ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (0.2ms) BEGIN  (3.6ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (0.1ms) BEGIN  (3.1ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.2ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (0.2ms) BEGIN  (2.2ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.0ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (0.5ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (0.3ms) BEGIN  (0.5ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (1.2ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (0.4ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (0.3ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.1ms) BEGIN  (1.1ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (0.3ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (3.1ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (0.8ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.1ms) BEGIN  (3.5ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (0.9ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (0.3ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.1ms) BEGIN  (1.3ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (0.3ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.1ms) BEGIN  (1.4ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (0.3ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (0.3ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2015-11-03 15:21:57.698050"], ["updated_at", "2015-11-03 15:21:57.698050"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2015-11-03 15:21:57.700257"], ["updated_at", "2015-11-03 15:21:57.700257"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2015-11-03 15:21:57.701537"], ["updated_at", "2015-11-03 15:21:57.701537"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2015-11-03 15:21:57.702713"], ["updated_at", "2015-11-03 15:21:57.702713"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2015-11-03 15:21:57.704112"], ["updated_at", "2015-11-03 15:21:57.704112"]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (0.3ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (0.4ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (0.3ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.1ms) BEGIN SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (0.3ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (0.9ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (0.3ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.2ms) BEGIN SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (5.8ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.1ms) BEGIN  (7.4ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (3.6ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (0.3ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (0.3ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (0.3ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (0.3ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (0.3ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (0.2ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.1ms) BEGIN  (0.9ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (0.3ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.1ms) BEGIN  (1.1ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (0.3ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.1ms) BEGIN  (1.1ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (0.9ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (0.3ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.1ms) BEGIN  (0.9ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (0.7ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (0.8ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.4ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.2ms) BEGIN  (1.6ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (0.4ms) COMMIT ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 27ms (Views: 18.9ms | ActiveRecord: 1.4ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.2ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (5.8ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb (51.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb (2.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb (52.6ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb (3.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb (2.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb (2.4ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb (2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb (2.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb (2.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb (2.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb (2.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb (2.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb (3.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb (2.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb (2.2ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb (2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb (2.5ms)  (0.2ms) ROLLBACK  (2.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-12-11 20:46:41', '2015-12-11 20:46:41', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-11', '2015-12-11 20:46:41', '2015-12-11 20:46:41', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-11 20:46:41.000000', '2015-12-11', '2015-12-11 20:46:41', '2015-12-11 20:46:41', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-11', '2015-12-11 20:46:41', '2015-12-11 20:46:41', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-11 20:46:41', '2015-12-11 20:46:41', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-11 20:46:41.000000', '2015-12-11', '2015-12-11 20:46:41', '2015-12-11 20:46:41', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-10', '2015-12-11 20:46:41', '2015-12-11 20:46:41', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-09', '2015-12-11 20:46:41', '2015-12-11 20:46:41', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-11 20:46:41.000000', '2015-12-11', '2015-12-11 20:46:41', '2015-12-11 20:46:41', 401619065, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-11', '2015-12-11 20:46:41', '2015-12-11 20:46:41', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-11 20:46:41.000000', '2015-12-11', '2015-12-11 20:46:41', '2015-12-11 20:46:41', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-11', '2015-12-11 20:46:41', '2015-12-11 20:46:41', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-11 20:46:41.000000', '2015-12-11', '2015-12-11 20:46:41', '2015-12-11 20:46:41', 16804933, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_likes" Fixture Insert (0.5ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-12-11 20:46:41', '2015-12-11 20:46:41', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.5ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-10 20:46:41.000000', '2015-12-11 20:46:41', 503297012, 700141617, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-11 20:46:41.000000', '2015-12-11 20:46:41', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-10 20:46:41.000000', '2015-12-11 20:46:41', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-11 20:46:41.000000', '2015-12-11 20:46:41', 316146702, 816972181, 700141617) Fixture Delete (0.5ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-11 20:46:41', '2015-12-11 20:46:41', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-11 20:46:41', '2015-12-11 20:46:41', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-12-11 20:46:41', '2015-12-11 20:46:41', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-12-11 20:46:41', '2015-12-11 20:46:41', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-12-11 20:46:41', '2015-12-11 20:46:41', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-12-11 20:46:41', '2015-12-11 20:46:41', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-12-11 20:46:41', '2015-12-11 20:46:41', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-12-11 20:46:41', '2015-12-11 20:46:41', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-12-11 20:46:41', '2015-12-11 20:46:41', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-12-11 20:46:41', '2015-12-11 20:46:41', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-12-11 14:46:43 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.8ms) Completed 200 OK in 149ms (Views: 99.4ms | ActiveRecord: 5.5ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-12-11 14:46:43 -0600 Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-11 14:46:43 -0600 SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-12-11 14:46:43 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Dec 11 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-12-11 20:46:43.729451"], ["updated_at", "2015-12-11 20:46:43.732559"], ["id", 809335042]]  (6.2ms) COMMIT  (0.2ms) BEGIN SQL (0.8ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-12-11 20:46:43.750796"], ["updated_at", "2015-12-11 20:46:43.750796"]]  (5.8ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 35ms (Views: 0.5ms | ActiveRecord: 16.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-12-11 14:46:43 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 16ms (Views: 2.2ms | ActiveRecord: 2.0ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-12-11 14:46:44 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-12-25", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (1.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.9ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-12-25"], ["created_at", "2015-12-11 20:46:44.070422"], ["updated_at", "2015-12-11 20:46:44.070422"]]  (0.5ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-12-11 20:46:44.077536"], ["updated_at", "2015-12-11 20:46:44.077536"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 18ms (Views: 0.5ms | ActiveRecord: 4.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-12-11 14:46:44 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 16ms (Views: 2.2ms | ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-12-11 14:46:44 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 1.9ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-12-11 14:46:44 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2016-01-08", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2016-01-08"], ["updated_at", "2015-12-11 20:46:44.433965"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-12-11 14:46:44 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.6ms) Completed 200 OK in 18ms (Views: 3.8ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-12-11 14:46:44 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Dec 11 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-12-11 20:46:44.767375"], ["updated_at", "2015-12-11 20:46:44.770333"], ["id", 614371357]]  (1.6ms) COMMIT SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.4ms | ActiveRecord: 3.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-12-11 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-12-11 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-12-11 00:00:00.000000"], ["updated_at", "2015-12-11 20:46:44.884108"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-12-11 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-12-11 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-12-04 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-12-10 00:00:00.000000"], ["updated_at", "2015-12-11 20:46:44.891856"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-12-03 00:00:00.000000"], ["updated_at", "2015-12-11 20:46:44.896017"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-12-04 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-10 00:00:00.000000"], ["updated_at", "2015-12-11 20:46:45.001348"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-11 23:59:59.999999' AND created_at >= '2015-12-11 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-11 00:00:00.000000"], ["updated_at", "2015-12-11 20:46:45.008814"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-11 23:59:59.999999' AND created_at >= '2015-12-11 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-04 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-10 00:00:00.000000"], ["updated_at", "2015-12-11 20:46:45.015501"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-03 00:00:00.000000"], ["updated_at", "2015-12-11 20:46:45.018988"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-04 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (1.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-12-11 20:46:45', '2015-12-11 20:46:45', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-11', '2015-12-11 20:46:45', '2015-12-11 20:46:45', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-11 20:46:45.000000', '2015-12-11', '2015-12-11 20:46:45', '2015-12-11 20:46:45', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-11', '2015-12-11 20:46:45', '2015-12-11 20:46:45', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-11 20:46:45', '2015-12-11 20:46:45', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-11 20:46:45.000000', '2015-12-11', '2015-12-11 20:46:45', '2015-12-11 20:46:45', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-10', '2015-12-11 20:46:45', '2015-12-11 20:46:45', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-09', '2015-12-11 20:46:45', '2015-12-11 20:46:45', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-11 20:46:45.000000', '2015-12-11', '2015-12-11 20:46:45', '2015-12-11 20:46:45', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-11', '2015-12-11 20:46:45', '2015-12-11 20:46:45', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-11 20:46:45.000000', '2015-12-11', '2015-12-11 20:46:45', '2015-12-11 20:46:45', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-11', '2015-12-11 20:46:45', '2015-12-11 20:46:45', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-11 20:46:45.000000', '2015-12-11', '2015-12-11 20:46:45', '2015-12-11 20:46:45', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-12-11 20:46:45', '2015-12-11 20:46:45', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-10 20:46:45.000000', '2015-12-11 20:46:45', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-11 20:46:45.000000', '2015-12-11 20:46:45', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-10 20:46:45.000000', '2015-12-11 20:46:45', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-11 20:46:45.000000', '2015-12-11 20:46:45', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-11 20:46:45', '2015-12-11 20:46:45', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-11 20:46:45', '2015-12-11 20:46:45', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-12-11 20:46:45', '2015-12-11 20:46:45', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-12-11 20:46:45', '2015-12-11 20:46:45', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-12-11 20:46:45', '2015-12-11 20:46:45', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-12-11 20:46:45', '2015-12-11 20:46:45', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-12-11 20:46:45', '2015-12-11 20:46:45', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-12-11 20:46:45', '2015-12-11 20:46:45', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-12-11 20:46:45', '2015-12-11 20:46:45', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-12-11 20:46:45', '2015-12-11 20:46:45', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-12-11 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-12-11 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-12-11 00:00:00.000000"], ["updated_at", "2015-12-11 20:46:45.217057"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-12-11 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-12-11 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (4.8ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-12-04 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-12-10 00:00:00.000000"], ["updated_at", "2015-12-11 20:46:45.241423"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-12-03 00:00:00.000000"], ["updated_at", "2015-12-11 20:46:45.246024"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-12-04 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-12-11 20:46:45.252291"], ["updated_at", "2015-12-11 20:46:45.252291"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-12-11"], ["completed_at", "2015-12-09 00:00:00.000000"], ["created_at", "2015-12-11 20:46:45.258747"], ["updated_at", "2015-12-11 20:46:45.258747"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-12-12"], ["created_at", "2015-12-11 20:46:45.267676"], ["updated_at", "2015-12-11 20:46:45.267676"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-12-11"], ["created_at", "2015-12-11 20:46:45.272470"], ["updated_at", "2015-12-11 20:46:45.272470"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-12-11 20:46:45.277086"], ["updated_at", "2015-12-11 20:46:45.277086"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-12-11 20:46:45.280157') AND ("social_networking_goals"."due_on" >= '2015-12-10 20:46:45.280189')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-12-11 20:46:45.282862') AND ("social_networking_goals"."due_on" >= '2015-12-10 20:46:45.282879') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-12-11 20:46:45.285163') AND ("social_networking_goals"."due_on" >= '2015-12-10 20:46:45.285179')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 20ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-12-11 20:46:45.377854"], ["updated_at", "2015-12-11 20:46:45.377854"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-12-11 20:46:45.381536"], ["updated_at", "2015-12-11 20:46:45.381536"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" IS NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-12-11 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-12-11 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-12-11 00:00:00.000000"], ["updated_at", "2015-12-11 20:46:45.509906"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-12-11 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-12-11 23:59:59.999999')  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-12-04 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-12-10 00:00:00.000000"], ["updated_at", "2015-12-11 20:46:45.522871"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-12-04 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-12-11 20:46:45.648560"], ["updated_at", "2015-12-11 20:46:45.648560"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-12-11 20:46:45.653098"], ["updated_at", "2015-12-11 20:46:45.653098"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-12-11 20:46:45.655846"], ["updated_at", "2015-12-11 20:46:45.655846"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.5ms) SocialNetworking::Mailer#notify: processed outbound mail in 207.3ms Sent mail to obama@ex.co (8.6ms) Date: Fri, 11 Dec 2015 14:46:45 -0600 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <566b3635dac4f_f4653fe1bdc60208618c1@vpn-165-124-163-13.vpn.northwestern.edu.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-12-11 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-12-11 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.7ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-12-11 00:00:00.000000"], ["updated_at", "2015-12-11 20:46:46.518462"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-12-11 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-12-11 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-12-04 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-12-10 00:00:00.000000"], ["updated_at", "2015-12-11 20:46:46.527067"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-12-03 00:00:00.000000"], ["updated_at", "2015-12-11 20:46:46.530866"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-12-04 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-12-11 20:46:46.763630"], ["updated_at", "2015-12-11 20:46:46.763630"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-12-11 20:46:46.766205"], ["updated_at", "2015-12-11 20:46:46.766205"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-12-11 20:46:46.772230"], ["updated_at", "2015-12-11 20:46:46.772230"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-12-11 20:46:46.774520"], ["updated_at", "2015-12-11 20:46:46.774520"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-12-11 20:46:46.785804"], ["updated_at", "2015-12-11 20:46:46.785804"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-12-11 20:46:46.787826"], ["updated_at", "2015-12-11 20:46:46.787826"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-12-11 20:46:46.792601"], ["updated_at", "2015-12-11 20:46:46.792601"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-12-11 20:46:46.794630"], ["updated_at", "2015-12-11 20:46:46.794630"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (13.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.1ms) BEGIN  (3.3ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (0.5ms) COMMIT Migrating to AddParticipantFields (2)  (0.3ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.2ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (0.4ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (2.7ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (0.5ms) COMMIT Migrating to AddNullFalseToArms (5)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.2ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (0.3ms) COMMIT Migrating to AddHasWozToArm (6)  (0.1ms) BEGIN  (3.5ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (0.8ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.1ms) BEGIN  (2.5ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.6ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (0.7ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (0.2ms) BEGIN  (2.7ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.2ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (0.2ms) BEGIN  (3.2ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.1ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (0.2ms) BEGIN  (3.1ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (0.2ms) BEGIN  (2.5ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (0.2ms) BEGIN  (2.7ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (0.8ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (0.2ms) BEGIN  (2.2ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (0.2ms) BEGIN  (3.4ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (0.2ms) BEGIN  (2.7ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (0.9ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (0.5ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (1.1ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (0.4ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (0.4ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.1ms) BEGIN  (0.8ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (0.5ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.2ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (3.2ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (0.8ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.2ms) BEGIN  (3.4ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (0.7ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (0.3ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.1ms) BEGIN  (1.0ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (0.3ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.1ms) BEGIN  (1.9ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (0.5ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (0.3ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2015-12-11 20:56:07.017813"], ["updated_at", "2015-12-11 20:56:07.017813"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2015-12-11 20:56:07.020259"], ["updated_at", "2015-12-11 20:56:07.020259"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2015-12-11 20:56:07.021808"], ["updated_at", "2015-12-11 20:56:07.021808"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2015-12-11 20:56:07.023212"], ["updated_at", "2015-12-11 20:56:07.023212"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2015-12-11 20:56:07.024484"], ["updated_at", "2015-12-11 20:56:07.024484"]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (0.5ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (0.5ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (0.3ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.1ms) BEGIN SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (0.3ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (0.8ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (0.2ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.6ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (0.3ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (0.4ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (0.3ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (0.3ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (0.3ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (0.2ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (0.2ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (0.4ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.1ms) BEGIN  (0.9ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (0.4ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.1ms) BEGIN  (0.9ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (0.3ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.1ms) BEGIN  (0.9ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (1.0ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (0.3ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.1ms) BEGIN  (0.7ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (0.6ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (0.8ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.4ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.1ms) BEGIN  (0.7ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (0.3ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (7.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL  (16.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.2ms) BEGIN  (17.3ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (6.3ms) COMMIT Migrating to AddParticipantFields (2)  (5.6ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.2ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (5.7ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (14.0ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (6.4ms) COMMIT Migrating to AddNullFalseToArms (5)  (5.6ms) BEGIN  (0.3ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.2ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (6.0ms) COMMIT Migrating to AddHasWozToArm (6)  (0.2ms) BEGIN  (20.3ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (1.0ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (6.2ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.1ms) BEGIN  (7.7ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (2.1ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (0.7ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (6.1ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (5.8ms) BEGIN  (14.2ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (4.6ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (6.0ms) BEGIN  (14.1ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.6ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (5.5ms) BEGIN  (14.0ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (5.0ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (5.9ms) BEGIN  (13.4ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (4.6ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (5.4ms) BEGIN  (18.8ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (5.9ms) BEGIN  (13.1ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.1ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (5.0ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (5.9ms) BEGIN  (14.4ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (4.8ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (5.4ms) BEGIN  (13.7ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.1ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (4.9ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (0.9ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (0.3ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (6.0ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.1ms) BEGIN  (6.6ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (5.8ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (14.6ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (6.6ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.2ms) BEGIN  (13.6ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (6.3ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (5.9ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.1ms) BEGIN  (12.3ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (6.0ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.1ms) BEGIN  (7.1ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (11.3ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (6.0ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2015-12-15 15:29:01.092788"], ["updated_at", "2015-12-15 15:29:01.092788"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2015-12-15 15:29:01.095118"], ["updated_at", "2015-12-15 15:29:01.095118"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2015-12-15 15:29:01.096518"], ["updated_at", "2015-12-15 15:29:01.096518"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2015-12-15 15:29:01.097703"], ["updated_at", "2015-12-15 15:29:01.097703"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2015-12-15 15:29:01.099022"], ["updated_at", "2015-12-15 15:29:01.099022"]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (6.0ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (6.0ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (6.0ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.1ms) BEGIN SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (6.1ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (6.1ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (5.6ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (5.9ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.1ms) BEGIN  (8.5ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (6.0ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (5.8ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (0.3ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (6.0ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (5.9ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (6.1ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (5.7ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (5.9ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.1ms) BEGIN  (6.5ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (5.9ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.1ms) BEGIN  (7.0ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (6.0ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.1ms) BEGIN  (6.2ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (6.4ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (6.0ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.1ms) BEGIN  (6.6ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (6.1ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (6.5ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.4ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.1ms) BEGIN  (6.4ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (5.8ms) COMMIT Migrating to ChangeColumnDefaultSocialNetworkingProfilesActiveToFalse (20151211204425)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ALTER COLUMN "active" SET DEFAULT 'f' SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."active" IS NULL  (0.2ms) ALTER TABLE "social_networking_profiles" ALTER "active" SET NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151211204425"]]  (5.4ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-15', '2015-12-15 15:29:08', '2015-12-15 15:29:08', 809335042, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-15 15:29:08.000000', '2015-12-15', '2015-12-15 15:29:08', '2015-12-15 15:29:08', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-15', '2015-12-15 15:29:08', '2015-12-15 15:29:08', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-15 15:29:08', '2015-12-15 15:29:08', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-15 15:29:08.000000', '2015-12-15', '2015-12-15 15:29:08', '2015-12-15 15:29:08', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-14', '2015-12-15 15:29:08', '2015-12-15 15:29:08', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-13', '2015-12-15 15:29:08', '2015-12-15 15:29:08', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-15 15:29:08.000000', '2015-12-15', '2015-12-15 15:29:08', '2015-12-15 15:29:08', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-15', '2015-12-15 15:29:08', '2015-12-15 15:29:08', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-15 15:29:08.000000', '2015-12-15', '2015-12-15 15:29:08', '2015-12-15 15:29:08', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-15', '2015-12-15 15:29:08', '2015-12-15 15:29:08', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-15 15:29:08.000000', '2015-12-15', '2015-12-15 15:29:08', '2015-12-15 15:29:08', 16804933, 816972181)  (0.5ms) COMMIT  (1.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes"  (0.1ms) ROLLBACK  (1.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.5ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-15', '2015-12-15 15:29:30', '2015-12-15 15:29:30', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-15 15:29:30.000000', '2015-12-15', '2015-12-15 15:29:30', '2015-12-15 15:29:30', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-15', '2015-12-15 15:29:30', '2015-12-15 15:29:30', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-15 15:29:30', '2015-12-15 15:29:30', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-15 15:29:30.000000', '2015-12-15', '2015-12-15 15:29:30', '2015-12-15 15:29:30', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-14', '2015-12-15 15:29:30', '2015-12-15 15:29:30', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-13', '2015-12-15 15:29:30', '2015-12-15 15:29:30', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-15 15:29:30.000000', '2015-12-15', '2015-12-15 15:29:30', '2015-12-15 15:29:30', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-15', '2015-12-15 15:29:30', '2015-12-15 15:29:30', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-15 15:29:30.000000', '2015-12-15', '2015-12-15 15:29:30', '2015-12-15 15:29:30', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-15', '2015-12-15 15:29:30', '2015-12-15 15:29:30', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-15 15:29:30.000000', '2015-12-15', '2015-12-15 15:29:30', '2015-12-15 15:29:30', 16804933, 816972181)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes"  (0.1ms) ROLLBACK  (2.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-15', '2015-12-15 15:29:59', '2015-12-15 15:29:59', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-15 15:29:59.000000', '2015-12-15', '2015-12-15 15:29:59', '2015-12-15 15:29:59', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-15', '2015-12-15 15:29:59', '2015-12-15 15:29:59', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-15 15:29:59', '2015-12-15 15:29:59', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-15 15:29:59.000000', '2015-12-15', '2015-12-15 15:29:59', '2015-12-15 15:29:59', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-14', '2015-12-15 15:29:59', '2015-12-15 15:29:59', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-13', '2015-12-15 15:29:59', '2015-12-15 15:29:59', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-15 15:29:59.000000', '2015-12-15', '2015-12-15 15:29:59', '2015-12-15 15:29:59', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-15', '2015-12-15 15:29:59', '2015-12-15 15:29:59', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-15 15:29:59.000000', '2015-12-15', '2015-12-15 15:29:59', '2015-12-15 15:29:59', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-15', '2015-12-15 15:29:59', '2015-12-15 15:29:59', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-15 15:29:59.000000', '2015-12-15', '2015-12-15 15:29:59', '2015-12-15 15:29:59', 16804933, 816972181)  (0.5ms) COMMIT  (1.7ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes"  (0.1ms) ROLLBACK  (2.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-15', '2015-12-15 15:30:34', '2015-12-15 15:30:34', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-15 15:30:34.000000', '2015-12-15', '2015-12-15 15:30:34', '2015-12-15 15:30:34', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-15', '2015-12-15 15:30:34', '2015-12-15 15:30:34', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-15 15:30:34', '2015-12-15 15:30:34', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-15 15:30:34.000000', '2015-12-15', '2015-12-15 15:30:34', '2015-12-15 15:30:34', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-14', '2015-12-15 15:30:34', '2015-12-15 15:30:34', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-13', '2015-12-15 15:30:34', '2015-12-15 15:30:34', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-15 15:30:34.000000', '2015-12-15', '2015-12-15 15:30:34', '2015-12-15 15:30:34', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-15', '2015-12-15 15:30:34', '2015-12-15 15:30:34', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-15 15:30:34.000000', '2015-12-15', '2015-12-15 15:30:34', '2015-12-15 15:30:34', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-15', '2015-12-15 15:30:34', '2015-12-15 15:30:34', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-15 15:30:34.000000', '2015-12-15', '2015-12-15 15:30:34', '2015-12-15 15:30:34', 16804933, 816972181)  (0.6ms) COMMIT  (2.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes"  (0.1ms) ROLLBACK  (4.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (1.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (2.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-15', '2015-12-15 15:30:59', '2015-12-15 15:30:59', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-15 15:30:59.000000', '2015-12-15', '2015-12-15 15:30:59', '2015-12-15 15:30:59', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-15', '2015-12-15 15:30:59', '2015-12-15 15:30:59', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-15 15:30:59', '2015-12-15 15:30:59', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-15 15:30:59.000000', '2015-12-15', '2015-12-15 15:30:59', '2015-12-15 15:30:59', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-14', '2015-12-15 15:30:59', '2015-12-15 15:30:59', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-13', '2015-12-15 15:30:59', '2015-12-15 15:30:59', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-15 15:30:59.000000', '2015-12-15', '2015-12-15 15:30:59', '2015-12-15 15:30:59', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-15', '2015-12-15 15:30:59', '2015-12-15 15:30:59', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-15 15:30:59.000000', '2015-12-15', '2015-12-15 15:30:59', '2015-12-15 15:30:59', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-15', '2015-12-15 15:30:59', '2015-12-15 15:30:59', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-15 15:30:59.000000', '2015-12-15', '2015-12-15 15:30:59', '2015-12-15 15:30:59', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-15 15:30:59', '2015-12-15 15:30:59', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-15 15:30:59', '2015-12-15 15:30:59', 369066228, 816972181)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (0.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-15 15:30:59.472810"], ["updated_at", "2015-12-15 15:30:59.472810"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes"  (0.2ms) ROLLBACK  (3.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-15', '2015-12-15 15:31:09', '2015-12-15 15:31:09', 809335042, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-15 15:31:09.000000', '2015-12-15', '2015-12-15 15:31:09', '2015-12-15 15:31:09', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-15', '2015-12-15 15:31:09', '2015-12-15 15:31:09', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-15 15:31:09', '2015-12-15 15:31:09', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-15 15:31:09.000000', '2015-12-15', '2015-12-15 15:31:09', '2015-12-15 15:31:09', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-14', '2015-12-15 15:31:09', '2015-12-15 15:31:09', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-13', '2015-12-15 15:31:09', '2015-12-15 15:31:09', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-15 15:31:09.000000', '2015-12-15', '2015-12-15 15:31:09', '2015-12-15 15:31:09', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-15', '2015-12-15 15:31:09', '2015-12-15 15:31:09', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-15 15:31:09.000000', '2015-12-15', '2015-12-15 15:31:09', '2015-12-15 15:31:09', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-15', '2015-12-15 15:31:09', '2015-12-15 15:31:09', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-15 15:31:09.000000', '2015-12-15', '2015-12-15 15:31:09', '2015-12-15 15:31:09', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-15 15:31:09', '2015-12-15 15:31:09', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-15 15:31:09', '2015-12-15 15:31:09', 369066228, 816972181)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes"  (0.1ms) ROLLBACK  (2.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-15', '2015-12-15 15:31:29', '2015-12-15 15:31:29', 809335042, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-15 15:31:29.000000', '2015-12-15', '2015-12-15 15:31:29', '2015-12-15 15:31:29', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-15', '2015-12-15 15:31:29', '2015-12-15 15:31:29', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-15 15:31:29', '2015-12-15 15:31:29', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-15 15:31:29.000000', '2015-12-15', '2015-12-15 15:31:29', '2015-12-15 15:31:29', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-14', '2015-12-15 15:31:29', '2015-12-15 15:31:29', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-13', '2015-12-15 15:31:29', '2015-12-15 15:31:29', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-15 15:31:29.000000', '2015-12-15', '2015-12-15 15:31:29', '2015-12-15 15:31:29', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-15', '2015-12-15 15:31:29', '2015-12-15 15:31:29', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-15 15:31:29.000000', '2015-12-15', '2015-12-15 15:31:29', '2015-12-15 15:31:29', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-15', '2015-12-15 15:31:29', '2015-12-15 15:31:29', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-15 15:31:29.000000', '2015-12-15', '2015-12-15 15:31:29', '2015-12-15 15:31:29', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-15 15:31:29', '2015-12-15 15:31:29', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-15 15:31:29', '2015-12-15 15:31:29', 369066228, 816972181)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-14 00:00:00.000000"], ["updated_at", "2015-12-15 15:31:29.779180"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (4.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-15', '2015-12-15 15:31:41', '2015-12-15 15:31:41', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-15 15:31:41.000000', '2015-12-15', '2015-12-15 15:31:41', '2015-12-15 15:31:41', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-15', '2015-12-15 15:31:41', '2015-12-15 15:31:41', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-15 15:31:41', '2015-12-15 15:31:41', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-15 15:31:41.000000', '2015-12-15', '2015-12-15 15:31:41', '2015-12-15 15:31:41', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-14', '2015-12-15 15:31:41', '2015-12-15 15:31:41', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-13', '2015-12-15 15:31:41', '2015-12-15 15:31:41', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-15 15:31:41.000000', '2015-12-15', '2015-12-15 15:31:41', '2015-12-15 15:31:41', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-15', '2015-12-15 15:31:41', '2015-12-15 15:31:41', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-15 15:31:41.000000', '2015-12-15', '2015-12-15 15:31:41', '2015-12-15 15:31:41', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-15', '2015-12-15 15:31:41', '2015-12-15 15:31:41', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-15 15:31:41.000000', '2015-12-15', '2015-12-15 15:31:41', '2015-12-15 15:31:41', 16804933, 816972181) Fixture Delete (0.8ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-15 15:31:41', '2015-12-15 15:31:41', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-15 15:31:41', '2015-12-15 15:31:41', 369066228, 816972181)  (0.6ms) COMMIT  (1.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" SocialNetworking::OnTheMindStatement Load (0.6ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (0.7ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (1.2ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-15 15:31:41.162866"], ["updated_at", "2015-12-15 15:31:41.162866"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes"  (0.2ms) ROLLBACK  (4.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-15', '2015-12-15 15:32:58', '2015-12-15 15:32:58', 809335042, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-15 15:32:58.000000', '2015-12-15', '2015-12-15 15:32:58', '2015-12-15 15:32:58', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-15', '2015-12-15 15:32:58', '2015-12-15 15:32:58', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-15 15:32:58', '2015-12-15 15:32:58', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-15 15:32:58.000000', '2015-12-15', '2015-12-15 15:32:58', '2015-12-15 15:32:58', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-14', '2015-12-15 15:32:58', '2015-12-15 15:32:58', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-13', '2015-12-15 15:32:58', '2015-12-15 15:32:58', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-15 15:32:58.000000', '2015-12-15', '2015-12-15 15:32:58', '2015-12-15 15:32:58', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-15', '2015-12-15 15:32:58', '2015-12-15 15:32:58', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-15 15:32:58.000000', '2015-12-15', '2015-12-15 15:32:58', '2015-12-15 15:32:58', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-15', '2015-12-15 15:32:58', '2015-12-15 15:32:58', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-15 15:32:58.000000', '2015-12-15', '2015-12-15 15:32:58', '2015-12-15 15:32:58', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-15 15:32:58', '2015-12-15 15:32:58', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-15 15:32:58', '2015-12-15 15:32:58', 369066228, 816972181)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (1.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (1.2ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-15 15:32:58.370361"], ["updated_at", "2015-12-15 15:32:58.370361"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (3.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-15', '2015-12-15 15:33:12', '2015-12-15 15:33:12', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-15 15:33:12.000000', '2015-12-15', '2015-12-15 15:33:12', '2015-12-15 15:33:12', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-15', '2015-12-15 15:33:12', '2015-12-15 15:33:12', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-15 15:33:12', '2015-12-15 15:33:12', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-15 15:33:12.000000', '2015-12-15', '2015-12-15 15:33:12', '2015-12-15 15:33:12', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-14', '2015-12-15 15:33:12', '2015-12-15 15:33:12', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-13', '2015-12-15 15:33:12', '2015-12-15 15:33:12', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-15 15:33:12.000000', '2015-12-15', '2015-12-15 15:33:12', '2015-12-15 15:33:12', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-15', '2015-12-15 15:33:12', '2015-12-15 15:33:12', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-15 15:33:12.000000', '2015-12-15', '2015-12-15 15:33:12', '2015-12-15 15:33:12', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-15', '2015-12-15 15:33:12', '2015-12-15 15:33:12', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-15 15:33:12.000000', '2015-12-15', '2015-12-15 15:33:12', '2015-12-15 15:33:12', 16804933, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-15 15:33:12', '2015-12-15 15:33:12', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-15 15:33:12', '2015-12-15 15:33:12', 369066228, 816972181)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (0.8ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.9ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-15 15:33:12.149268"], ["updated_at", "2015-12-15 15:33:12.149268"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (3.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-15', '2015-12-15 15:33:53', '2015-12-15 15:33:53', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-15 15:33:53.000000', '2015-12-15', '2015-12-15 15:33:53', '2015-12-15 15:33:53', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-15', '2015-12-15 15:33:53', '2015-12-15 15:33:53', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-15 15:33:53', '2015-12-15 15:33:53', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-15 15:33:53.000000', '2015-12-15', '2015-12-15 15:33:53', '2015-12-15 15:33:53', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-14', '2015-12-15 15:33:53', '2015-12-15 15:33:53', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-13', '2015-12-15 15:33:53', '2015-12-15 15:33:53', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-15 15:33:53.000000', '2015-12-15', '2015-12-15 15:33:53', '2015-12-15 15:33:53', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-15', '2015-12-15 15:33:53', '2015-12-15 15:33:53', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-15 15:33:53.000000', '2015-12-15', '2015-12-15 15:33:53', '2015-12-15 15:33:53', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-15', '2015-12-15 15:33:53', '2015-12-15 15:33:53', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-15 15:33:53.000000', '2015-12-15', '2015-12-15 15:33:53', '2015-12-15 15:33:53', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-15 15:33:53', '2015-12-15 15:33:53', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-15 15:33:53', '2015-12-15 15:33:53', 369066228, 816972181)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (0.9ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-15 15:33:53.622074"], ["updated_at", "2015-12-15 15:33:53.622074"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (4.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-15', '2015-12-15 15:35:23', '2015-12-15 15:35:23', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-15 15:35:23.000000', '2015-12-15', '2015-12-15 15:35:23', '2015-12-15 15:35:23', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-15', '2015-12-15 15:35:23', '2015-12-15 15:35:23', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-15 15:35:23', '2015-12-15 15:35:23', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-15 15:35:23.000000', '2015-12-15', '2015-12-15 15:35:23', '2015-12-15 15:35:23', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-14', '2015-12-15 15:35:23', '2015-12-15 15:35:23', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-13', '2015-12-15 15:35:23', '2015-12-15 15:35:23', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-15 15:35:23.000000', '2015-12-15', '2015-12-15 15:35:23', '2015-12-15 15:35:23', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-15', '2015-12-15 15:35:23', '2015-12-15 15:35:23', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-15 15:35:23.000000', '2015-12-15', '2015-12-15 15:35:23', '2015-12-15 15:35:23', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-15', '2015-12-15 15:35:23', '2015-12-15 15:35:23', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-15 15:35:23.000000', '2015-12-15', '2015-12-15 15:35:23', '2015-12-15 15:35:23', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-15 15:35:23', '2015-12-15 15:35:23', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-15 15:35:23', '2015-12-15 15:35:23', 369066228, 816972181)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.5ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (0.8ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-15 15:35:23.968283"], ["updated_at", "2015-12-15 15:35:23.968283"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 LIMIT 1 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (3.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-15', '2015-12-15 15:35:33', '2015-12-15 15:35:33', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-15 15:35:33.000000', '2015-12-15', '2015-12-15 15:35:33', '2015-12-15 15:35:33', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-15', '2015-12-15 15:35:33', '2015-12-15 15:35:33', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-15 15:35:33', '2015-12-15 15:35:33', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-15 15:35:33.000000', '2015-12-15', '2015-12-15 15:35:33', '2015-12-15 15:35:33', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-14', '2015-12-15 15:35:33', '2015-12-15 15:35:33', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-13', '2015-12-15 15:35:33', '2015-12-15 15:35:33', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-15 15:35:33.000000', '2015-12-15', '2015-12-15 15:35:33', '2015-12-15 15:35:33', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-15', '2015-12-15 15:35:33', '2015-12-15 15:35:33', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-15 15:35:33.000000', '2015-12-15', '2015-12-15 15:35:33', '2015-12-15 15:35:33', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-15', '2015-12-15 15:35:33', '2015-12-15 15:35:33', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-15 15:35:33.000000', '2015-12-15', '2015-12-15 15:35:33', '2015-12-15 15:35:33', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-15 15:35:33', '2015-12-15 15:35:33', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-15 15:35:33', '2015-12-15 15:35:33', 369066228, 816972181)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (1.0ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.7ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-15 15:35:33.660052"], ["updated_at", "2015-12-15 15:35:33.660052"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Exists (0.5ms) SELECT 1 AS one FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 LIMIT 1 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (4.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-15', '2015-12-15 15:36:10', '2015-12-15 15:36:10', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-15 15:36:10.000000', '2015-12-15', '2015-12-15 15:36:10', '2015-12-15 15:36:10', 576699391, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-15', '2015-12-15 15:36:10', '2015-12-15 15:36:10', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-15 15:36:10', '2015-12-15 15:36:10', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-15 15:36:10.000000', '2015-12-15', '2015-12-15 15:36:10', '2015-12-15 15:36:10', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-14', '2015-12-15 15:36:10', '2015-12-15 15:36:10', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-13', '2015-12-15 15:36:10', '2015-12-15 15:36:10', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-15 15:36:10.000000', '2015-12-15', '2015-12-15 15:36:10', '2015-12-15 15:36:10', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-15', '2015-12-15 15:36:10', '2015-12-15 15:36:10', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-15 15:36:10.000000', '2015-12-15', '2015-12-15 15:36:10', '2015-12-15 15:36:10', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-15', '2015-12-15 15:36:10', '2015-12-15 15:36:10', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-15 15:36:10.000000', '2015-12-15', '2015-12-15 15:36:10', '2015-12-15 15:36:10', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-15 15:36:10', '2015-12-15 15:36:10', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-15 15:36:10', '2015-12-15 15:36:10', 369066228, 816972181)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (0.9ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-15 15:36:10.542507"], ["updated_at", "2015-12-15 15:36:10.542507"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Comment Exists (0.4ms) SELECT 1 AS one FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 LIMIT 1 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.7ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (3.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-15', '2015-12-15 15:37:43', '2015-12-15 15:37:43', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-15 15:37:43.000000', '2015-12-15', '2015-12-15 15:37:43', '2015-12-15 15:37:43', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-15', '2015-12-15 15:37:43', '2015-12-15 15:37:43', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-15 15:37:43', '2015-12-15 15:37:43', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-15 15:37:43.000000', '2015-12-15', '2015-12-15 15:37:43', '2015-12-15 15:37:43', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-14', '2015-12-15 15:37:43', '2015-12-15 15:37:43', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-13', '2015-12-15 15:37:43', '2015-12-15 15:37:43', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-15 15:37:43.000000', '2015-12-15', '2015-12-15 15:37:43', '2015-12-15 15:37:43', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-15', '2015-12-15 15:37:43', '2015-12-15 15:37:43', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-15 15:37:43.000000', '2015-12-15', '2015-12-15 15:37:43', '2015-12-15 15:37:43', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-15', '2015-12-15 15:37:43', '2015-12-15 15:37:43', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-15 15:37:43.000000', '2015-12-15', '2015-12-15 15:37:43', '2015-12-15 15:37:43', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-15 15:37:43', '2015-12-15 15:37:43', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-15 15:37:43', '2015-12-15 15:37:43', 369066228, 816972181)  (0.4ms) COMMIT  (1.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.6ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (0.9ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-15 15:37:43.858744"], ["updated_at", "2015-12-15 15:37:43.858744"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Exists (0.3ms) SELECT 1 AS one FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 LIMIT 1 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.6ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (3.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-15', '2015-12-15 15:38:15', '2015-12-15 15:38:15', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-15 15:38:15.000000', '2015-12-15', '2015-12-15 15:38:15', '2015-12-15 15:38:15', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-15', '2015-12-15 15:38:15', '2015-12-15 15:38:15', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-15 15:38:15', '2015-12-15 15:38:15', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-15 15:38:15.000000', '2015-12-15', '2015-12-15 15:38:15', '2015-12-15 15:38:15', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-14', '2015-12-15 15:38:15', '2015-12-15 15:38:15', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-13', '2015-12-15 15:38:15', '2015-12-15 15:38:15', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-15 15:38:15.000000', '2015-12-15', '2015-12-15 15:38:15', '2015-12-15 15:38:15', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-15', '2015-12-15 15:38:15', '2015-12-15 15:38:15', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-15 15:38:15.000000', '2015-12-15', '2015-12-15 15:38:15', '2015-12-15 15:38:15', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-15', '2015-12-15 15:38:15', '2015-12-15 15:38:15', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-15 15:38:15.000000', '2015-12-15', '2015-12-15 15:38:15', '2015-12-15 15:38:15', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-15 15:38:15', '2015-12-15 15:38:15', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-15 15:38:15', '2015-12-15 15:38:15', 369066228, 816972181)  (0.5ms) COMMIT  (1.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (0.8ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-15 15:38:15.904564"], ["updated_at", "2015-12-15 15:38:15.904564"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Comment Exists (0.3ms) SELECT 1 AS one FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 LIMIT 1 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (7.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-15', '2015-12-15 15:38:47', '2015-12-15 15:38:47', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-15 15:38:47.000000', '2015-12-15', '2015-12-15 15:38:47', '2015-12-15 15:38:47', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-15', '2015-12-15 15:38:47', '2015-12-15 15:38:47', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-15 15:38:47', '2015-12-15 15:38:47', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-15 15:38:47.000000', '2015-12-15', '2015-12-15 15:38:47', '2015-12-15 15:38:47', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-14', '2015-12-15 15:38:47', '2015-12-15 15:38:47', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-13', '2015-12-15 15:38:47', '2015-12-15 15:38:47', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-15 15:38:47.000000', '2015-12-15', '2015-12-15 15:38:47', '2015-12-15 15:38:47', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-15', '2015-12-15 15:38:47', '2015-12-15 15:38:47', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-15 15:38:47.000000', '2015-12-15', '2015-12-15 15:38:47', '2015-12-15 15:38:47', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-15', '2015-12-15 15:38:47', '2015-12-15 15:38:47', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-15 15:38:47.000000', '2015-12-15', '2015-12-15 15:38:47', '2015-12-15 15:38:47', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-15 15:38:47', '2015-12-15 15:38:47', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-15 15:38:47', '2015-12-15 15:38:47', 369066228, 816972181)  (0.6ms) COMMIT  (1.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.5ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (0.8ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-15 15:38:47.762379"], ["updated_at", "2015-12-15 15:38:47.762379"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Exists (0.4ms) SELECT 1 AS one FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 LIMIT 1 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (1.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (7.0ms) DELETE FROM "participants" Fixture Insert (0.5ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.6ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-15', '2015-12-15 21:35:19', '2015-12-15 21:35:19', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-15 21:35:19.000000', '2015-12-15', '2015-12-15 21:35:19', '2015-12-15 21:35:19', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-15', '2015-12-15 21:35:19', '2015-12-15 21:35:19', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-15 21:35:19', '2015-12-15 21:35:19', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-15 21:35:19.000000', '2015-12-15', '2015-12-15 21:35:19', '2015-12-15 21:35:19', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-14', '2015-12-15 21:35:19', '2015-12-15 21:35:19', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-13', '2015-12-15 21:35:19', '2015-12-15 21:35:19', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-15 21:35:19.000000', '2015-12-15', '2015-12-15 21:35:19', '2015-12-15 21:35:19', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-15', '2015-12-15 21:35:19', '2015-12-15 21:35:19', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-15 21:35:19.000000', '2015-12-15', '2015-12-15 21:35:19', '2015-12-15 21:35:19', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-15', '2015-12-15 21:35:19', '2015-12-15 21:35:19', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-15 21:35:19.000000', '2015-12-15', '2015-12-15 21:35:19', '2015-12-15 21:35:19', 16804933, 816972181)  (0.5ms) COMMIT  (1.7ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (2.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-15 23:59:59.999999' AND created_at >= '2015-12-15 00:00:00.000000') Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-15 00:00:00.000000"], ["updated_at", "2015-12-15 21:35:19.455113"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-15 23:59:59.999999' AND created_at >= '2015-12-15 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-08 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-14 00:00:00.000000"], ["updated_at", "2015-12-15 21:35:19.464299"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-07 00:00:00.000000"], ["updated_at", "2015-12-15 21:35:19.468178"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-08 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-14 00:00:00.000000"], ["updated_at", "2015-12-15 21:35:19.473372"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (5.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-15', '2015-12-15 21:35:57', '2015-12-15 21:35:57', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-15 21:35:57.000000', '2015-12-15', '2015-12-15 21:35:57', '2015-12-15 21:35:57', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-15', '2015-12-15 21:35:57', '2015-12-15 21:35:57', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-15 21:35:57', '2015-12-15 21:35:57', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-15 21:35:57.000000', '2015-12-15', '2015-12-15 21:35:57', '2015-12-15 21:35:57', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-14', '2015-12-15 21:35:57', '2015-12-15 21:35:57', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-13', '2015-12-15 21:35:57', '2015-12-15 21:35:57', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-15 21:35:57.000000', '2015-12-15', '2015-12-15 21:35:57', '2015-12-15 21:35:57', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-15', '2015-12-15 21:35:57', '2015-12-15 21:35:57', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-15 21:35:57.000000', '2015-12-15', '2015-12-15 21:35:57', '2015-12-15 21:35:57', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-15', '2015-12-15 21:35:57', '2015-12-15 21:35:57', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-15 21:35:57.000000', '2015-12-15', '2015-12-15 21:35:57', '2015-12-15 21:35:57', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-15 21:35:57', '2015-12-15 21:35:57', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-15 21:35:57', '2015-12-15 21:35:57', 369066228, 816972181)  (0.6ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-15 23:59:59.999999' AND created_at >= '2015-12-15 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-15 00:00:00.000000"], ["updated_at", "2015-12-15 21:35:57.840777"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-15 23:59:59.999999' AND created_at >= '2015-12-15 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-14 00:00:00.000000"], ["updated_at", "2015-12-15 21:35:57.850817"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-08 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-14 00:00:00.000000"], ["updated_at", "2015-12-15 21:35:57.856990"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-07 00:00:00.000000"], ["updated_at", "2015-12-15 21:35:57.859737"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-08 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (1.1ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-15 21:35:57.912880"], ["updated_at", "2015-12-15 21:35:57.912880"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (4.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-15', '2015-12-15 21:36:59', '2015-12-15 21:36:59', 809335042, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-15 21:36:59.000000', '2015-12-15', '2015-12-15 21:36:59', '2015-12-15 21:36:59', 576699391, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-15', '2015-12-15 21:36:59', '2015-12-15 21:36:59', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-15 21:36:59', '2015-12-15 21:36:59', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-15 21:36:59.000000', '2015-12-15', '2015-12-15 21:36:59', '2015-12-15 21:36:59', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-14', '2015-12-15 21:36:59', '2015-12-15 21:36:59', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-13', '2015-12-15 21:36:59', '2015-12-15 21:36:59', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-15 21:36:59.000000', '2015-12-15', '2015-12-15 21:36:59', '2015-12-15 21:36:59', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-15', '2015-12-15 21:36:59', '2015-12-15 21:36:59', 128166899, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-15 21:36:59.000000', '2015-12-15', '2015-12-15 21:36:59', '2015-12-15 21:36:59', 1002298878, 816972181) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-15', '2015-12-15 21:36:59', '2015-12-15 21:36:59', 318784238, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-15 21:36:59.000000', '2015-12-15', '2015-12-15 21:36:59', '2015-12-15 21:36:59', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-15 21:36:59', '2015-12-15 21:36:59', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-15 21:36:59', '2015-12-15 21:36:59', 369066228, 816972181)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-15 23:59:59.999999' AND created_at >= '2015-12-15 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-15 00:00:00.000000"], ["updated_at", "2015-12-15 21:36:59.734836"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-15 23:59:59.999999' AND created_at >= '2015-12-15 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-14 00:00:00.000000"], ["updated_at", "2015-12-15 21:36:59.744138"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-08 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-14 00:00:00.000000"], ["updated_at", "2015-12-15 21:36:59.749055"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-07 00:00:00.000000"], ["updated_at", "2015-12-15 21:36:59.751489"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-08 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (1.0ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-15 21:36:59.803084"], ["updated_at", "2015-12-15 21:36:59.803084"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (2.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.6ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-15', '2015-12-15 21:38:05', '2015-12-15 21:38:05', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-15 21:38:05.000000', '2015-12-15', '2015-12-15 21:38:05', '2015-12-15 21:38:05', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-15', '2015-12-15 21:38:05', '2015-12-15 21:38:05', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-15 21:38:05', '2015-12-15 21:38:05', 53334230, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-15 21:38:05.000000', '2015-12-15', '2015-12-15 21:38:05', '2015-12-15 21:38:05', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-14', '2015-12-15 21:38:05', '2015-12-15 21:38:05', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-13', '2015-12-15 21:38:05', '2015-12-15 21:38:05', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-15 21:38:05.000000', '2015-12-15', '2015-12-15 21:38:05', '2015-12-15 21:38:05', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-15', '2015-12-15 21:38:05', '2015-12-15 21:38:05', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-15 21:38:05.000000', '2015-12-15', '2015-12-15 21:38:05', '2015-12-15 21:38:05', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-15', '2015-12-15 21:38:05', '2015-12-15 21:38:05', 318784238, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-15 21:38:05.000000', '2015-12-15', '2015-12-15 21:38:05', '2015-12-15 21:38:05', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-15 21:38:05', '2015-12-15 21:38:05', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-15 21:38:05', '2015-12-15 21:38:05', 369066228, 816972181)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-15 23:59:59.999999' AND created_at >= '2015-12-15 00:00:00.000000') Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-15 00:00:00.000000"], ["updated_at", "2015-12-15 21:38:05.535659"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-15 23:59:59.999999' AND created_at >= '2015-12-15 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-14 00:00:00.000000"], ["updated_at", "2015-12-15 21:38:05.542719"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-08 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-14 00:00:00.000000"], ["updated_at", "2015-12-15 21:38:05.548190"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-07 00:00:00.000000"], ["updated_at", "2015-12-15 21:38:05.550850"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-08 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (0.9ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (1.0ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-15 21:38:05.596279"], ["updated_at", "2015-12-15 21:38:05.596279"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (5.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-15', '2015-12-15 21:38:28', '2015-12-15 21:38:28', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-15 21:38:28.000000', '2015-12-15', '2015-12-15 21:38:28', '2015-12-15 21:38:28', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-15', '2015-12-15 21:38:28', '2015-12-15 21:38:28', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-15 21:38:28', '2015-12-15 21:38:28', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-15 21:38:28.000000', '2015-12-15', '2015-12-15 21:38:28', '2015-12-15 21:38:28', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-14', '2015-12-15 21:38:28', '2015-12-15 21:38:28', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-13', '2015-12-15 21:38:28', '2015-12-15 21:38:28', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-15 21:38:28.000000', '2015-12-15', '2015-12-15 21:38:28', '2015-12-15 21:38:28', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-15', '2015-12-15 21:38:28', '2015-12-15 21:38:28', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-15 21:38:28.000000', '2015-12-15', '2015-12-15 21:38:28', '2015-12-15 21:38:28', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-15', '2015-12-15 21:38:28', '2015-12-15 21:38:28', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-15 21:38:28.000000', '2015-12-15', '2015-12-15 21:38:28', '2015-12-15 21:38:28', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-15 21:38:28', '2015-12-15 21:38:28', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-15 21:38:28', '2015-12-15 21:38:28', 369066228, 816972181)  (0.7ms) COMMIT  (1.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-08 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.9ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-14 00:00:00.000000"], ["updated_at", "2015-12-15 21:38:28.718417"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-07 00:00:00.000000"], ["updated_at", "2015-12-15 21:38:28.722944"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-08 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-15 23:59:59.999999' AND created_at >= '2015-12-15 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-15 00:00:00.000000"], ["updated_at", "2015-12-15 21:38:28.731803"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-15 23:59:59.999999' AND created_at >= '2015-12-15 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-14 00:00:00.000000"], ["updated_at", "2015-12-15 21:38:28.736467"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SQL (1.1ms) INSERT INTO "social_networking_comments" ("participant_id", "text", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["text", "foo"], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-15 21:38:28.773216"], ["updated_at", "2015-12-15 21:38:28.773216"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 LIMIT 1 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.8ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-15 21:38:28.803280"], ["updated_at", "2015-12-15 21:38:28.803280"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (2.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-15', '2015-12-15 21:38:43', '2015-12-15 21:38:43', 809335042, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-15 21:38:43.000000', '2015-12-15', '2015-12-15 21:38:43', '2015-12-15 21:38:43', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-15', '2015-12-15 21:38:43', '2015-12-15 21:38:43', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-15 21:38:43', '2015-12-15 21:38:43', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-15 21:38:43.000000', '2015-12-15', '2015-12-15 21:38:43', '2015-12-15 21:38:43', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-14', '2015-12-15 21:38:43', '2015-12-15 21:38:43', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-13', '2015-12-15 21:38:43', '2015-12-15 21:38:43', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-15 21:38:43.000000', '2015-12-15', '2015-12-15 21:38:43', '2015-12-15 21:38:43', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-15', '2015-12-15 21:38:43', '2015-12-15 21:38:43', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-15 21:38:43.000000', '2015-12-15', '2015-12-15 21:38:43', '2015-12-15 21:38:43', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-15', '2015-12-15 21:38:43', '2015-12-15 21:38:43', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-15 21:38:43.000000', '2015-12-15', '2015-12-15 21:38:43', '2015-12-15 21:38:43', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-15 21:38:43', '2015-12-15 21:38:43', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-15 21:38:43', '2015-12-15 21:38:43', 369066228, 816972181)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-15 23:59:59.999999' AND created_at >= '2015-12-15 00:00:00.000000') Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-15 00:00:00.000000"], ["updated_at", "2015-12-15 21:38:43.798959"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-15 23:59:59.999999' AND created_at >= '2015-12-15 00:00:00.000000')  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-14 00:00:00.000000"], ["updated_at", "2015-12-15 21:38:43.809398"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-08 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-14 00:00:00.000000"], ["updated_at", "2015-12-15 21:38:43.818216"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-07 00:00:00.000000"], ["updated_at", "2015-12-15 21:38:43.821385"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-08 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (0.7ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-15 21:38:43.849135"], ["updated_at", "2015-12-15 21:38:43.849135"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Comment Exists (0.5ms) SELECT 1 AS one FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 LIMIT 1 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SQL (0.6ms) INSERT INTO "social_networking_comments" ("participant_id", "text", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["text", "foo"], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-15 21:38:43.879268"], ["updated_at", "2015-12-15 21:38:43.879268"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (9.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (9.1ms) DELETE FROM "participants" Fixture Insert (20.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (1.7ms) DELETE FROM "social_networking_goals" Fixture Insert (1.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-16', '2015-12-16 15:47:43', '2015-12-16 15:47:43', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-16 15:47:43.000000', '2015-12-16', '2015-12-16 15:47:43', '2015-12-16 15:47:43', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-16', '2015-12-16 15:47:43', '2015-12-16 15:47:43', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-16 15:47:43', '2015-12-16 15:47:43', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-16 15:47:43.000000', '2015-12-16', '2015-12-16 15:47:43', '2015-12-16 15:47:43', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-15', '2015-12-16 15:47:43', '2015-12-16 15:47:43', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-14', '2015-12-16 15:47:43', '2015-12-16 15:47:43', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-16 15:47:43.000000', '2015-12-16', '2015-12-16 15:47:43', '2015-12-16 15:47:43', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-16', '2015-12-16 15:47:43', '2015-12-16 15:47:43', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-16 15:47:43.000000', '2015-12-16', '2015-12-16 15:47:43', '2015-12-16 15:47:43', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-16', '2015-12-16 15:47:43', '2015-12-16 15:47:43', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-16 15:47:43.000000', '2015-12-16', '2015-12-16 15:47:43', '2015-12-16 15:47:43', 16804933, 816972181) Fixture Delete (2.0ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (1.8ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-16 15:47:43', '2015-12-16 15:47:43', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-16 15:47:43', '2015-12-16 15:47:43', 369066228, 816972181)  (0.3ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (2.0ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-15 00:00:00.000000"], ["updated_at", "2015-12-16 15:47:43.762578"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (20.1ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-09 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-15 00:00:00.000000"], ["updated_at", "2015-12-16 15:47:43.795598"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-08 00:00:00.000000"], ["updated_at", "2015-12-16 15:47:43.799487"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-09 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-16 23:59:59.999999' AND created_at >= '2015-12-16 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-16 00:00:00.000000"], ["updated_at", "2015-12-16 15:47:43.807138"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-16 23:59:59.999999' AND created_at >= '2015-12-16 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (29.0ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (1.9ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-16 15:47:43.883398"], ["updated_at", "2015-12-16 15:47:43.883398"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SQL (14.5ms) INSERT INTO "social_networking_comments" ("participant_id", "text", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["text", "foo"], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-16 15:47:43.907201"], ["updated_at", "2015-12-16 15:47:43.907201"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (3.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-16', '2015-12-16 15:47:59', '2015-12-16 15:47:59', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-16 15:47:59.000000', '2015-12-16', '2015-12-16 15:47:59', '2015-12-16 15:47:59', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-16', '2015-12-16 15:47:59', '2015-12-16 15:47:59', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-16 15:47:59', '2015-12-16 15:47:59', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-16 15:47:59.000000', '2015-12-16', '2015-12-16 15:47:59', '2015-12-16 15:47:59', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-15', '2015-12-16 15:47:59', '2015-12-16 15:47:59', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-14', '2015-12-16 15:47:59', '2015-12-16 15:47:59', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-16 15:47:59.000000', '2015-12-16', '2015-12-16 15:47:59', '2015-12-16 15:47:59', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-16', '2015-12-16 15:47:59', '2015-12-16 15:47:59', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-16 15:47:59.000000', '2015-12-16', '2015-12-16 15:47:59', '2015-12-16 15:47:59', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-16', '2015-12-16 15:47:59', '2015-12-16 15:47:59', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-16 15:47:59.000000', '2015-12-16', '2015-12-16 15:47:59', '2015-12-16 15:47:59', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-16 15:47:59', '2015-12-16 15:47:59', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-16 15:47:59', '2015-12-16 15:47:59', 369066228, 816972181)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-15 00:00:00.000000"], ["updated_at", "2015-12-16 15:47:59.066225"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-09 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-15 00:00:00.000000"], ["updated_at", "2015-12-16 15:47:59.076652"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-08 00:00:00.000000"], ["updated_at", "2015-12-16 15:47:59.079740"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-09 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-16 23:59:59.999999' AND created_at >= '2015-12-16 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-16 00:00:00.000000"], ["updated_at", "2015-12-16 15:47:59.085285"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-16 23:59:59.999999' AND created_at >= '2015-12-16 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (0.9ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-16 15:47:59.131286"], ["updated_at", "2015-12-16 15:47:59.131286"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "text", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["text", "foo"], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-16 15:47:59.148486"], ["updated_at", "2015-12-16 15:47:59.148486"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (5.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-16', '2015-12-16 15:48:16', '2015-12-16 15:48:16', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-16 15:48:16.000000', '2015-12-16', '2015-12-16 15:48:16', '2015-12-16 15:48:16', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-16', '2015-12-16 15:48:16', '2015-12-16 15:48:16', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-16 15:48:16', '2015-12-16 15:48:16', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-16 15:48:16.000000', '2015-12-16', '2015-12-16 15:48:16', '2015-12-16 15:48:16', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-15', '2015-12-16 15:48:16', '2015-12-16 15:48:16', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-14', '2015-12-16 15:48:16', '2015-12-16 15:48:16', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-16 15:48:16.000000', '2015-12-16', '2015-12-16 15:48:16', '2015-12-16 15:48:16', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-16', '2015-12-16 15:48:16', '2015-12-16 15:48:16', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-16 15:48:16.000000', '2015-12-16', '2015-12-16 15:48:16', '2015-12-16 15:48:16', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-16', '2015-12-16 15:48:16', '2015-12-16 15:48:16', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-16 15:48:16.000000', '2015-12-16', '2015-12-16 15:48:16', '2015-12-16 15:48:16', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-16 15:48:16', '2015-12-16 15:48:16', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-16 15:48:16', '2015-12-16 15:48:16', 369066228, 816972181)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-15 00:00:00.000000"], ["updated_at", "2015-12-16 15:48:16.945936"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-16 23:59:59.999999' AND created_at >= '2015-12-16 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-16 00:00:00.000000"], ["updated_at", "2015-12-16 15:48:16.953767"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-16 23:59:59.999999' AND created_at >= '2015-12-16 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-09 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-15 00:00:00.000000"], ["updated_at", "2015-12-16 15:48:16.960076"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-08 00:00:00.000000"], ["updated_at", "2015-12-16 15:48:16.962613"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-09 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (1.0ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-16 15:48:17.007790"], ["updated_at", "2015-12-16 15:48:17.007790"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 19]] SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "text", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["text", "foo"], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-16 15:48:17.031946"], ["updated_at", "2015-12-16 15:48:17.031946"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 5]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]]  (0.2ms) ROLLBACK  (2.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (0.4ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-12-09 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-12-15 00:00:00.000000"], ["updated_at", "2015-12-16 15:58:36.374288"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-12-08 00:00:00.000000"], ["updated_at", "2015-12-16 15:58:36.378925"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-12-09 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (6.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-12-16 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-12-16 23:59:59.999999') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-12-16 00:00:00.000000"], ["updated_at", "2015-12-16 15:58:36.426169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-12-16 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-12-16 23:59:59.999999')  (0.1ms) ROLLBACK  (3.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-12-16 15:58:36', '2015-12-16 15:58:36', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-16', '2015-12-16 15:58:36', '2015-12-16 15:58:36', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-16 15:58:36.000000', '2015-12-16', '2015-12-16 15:58:36', '2015-12-16 15:58:36', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-16', '2015-12-16 15:58:36', '2015-12-16 15:58:36', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-16 15:58:36', '2015-12-16 15:58:36', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-16 15:58:36.000000', '2015-12-16', '2015-12-16 15:58:36', '2015-12-16 15:58:36', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-15', '2015-12-16 15:58:36', '2015-12-16 15:58:36', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-14', '2015-12-16 15:58:36', '2015-12-16 15:58:36', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-16 15:58:36.000000', '2015-12-16', '2015-12-16 15:58:36', '2015-12-16 15:58:36', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-16', '2015-12-16 15:58:36', '2015-12-16 15:58:36', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-16 15:58:36.000000', '2015-12-16', '2015-12-16 15:58:36', '2015-12-16 15:58:36', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-16', '2015-12-16 15:58:36', '2015-12-16 15:58:36', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-16 15:58:36.000000', '2015-12-16', '2015-12-16 15:58:36', '2015-12-16 15:58:36', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-12-16 15:58:36', '2015-12-16 15:58:36', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-15 15:58:36.000000', '2015-12-16 15:58:36', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-16 15:58:36.000000', '2015-12-16 15:58:36', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-15 15:58:36.000000', '2015-12-16 15:58:36', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-16 15:58:36.000000', '2015-12-16 15:58:36', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-16 15:58:36', '2015-12-16 15:58:36', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-16 15:58:36', '2015-12-16 15:58:36', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-12-16 15:58:36', '2015-12-16 15:58:36', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-12-16 15:58:36', '2015-12-16 15:58:36', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-12-16 15:58:36', '2015-12-16 15:58:36', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-12-16 15:58:36', '2015-12-16 15:58:36', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-12-16 15:58:36', '2015-12-16 15:58:36', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-12-16 15:58:36', '2015-12-16 15:58:36', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-12-16 15:58:36', '2015-12-16 15:58:36', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-12-16 15:58:36', '2015-12-16 15:58:36', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-12-16 15:58:36.502003') AND ("social_networking_goals"."due_on" >= '2015-12-15 15:58:36.502037') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-12-16 15:58:36.506009') AND ("social_networking_goals"."due_on" >= '2015-12-15 15:58:36.506028')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-12-16 15:58:36.507900') AND ("social_networking_goals"."due_on" >= '2015-12-15 15:58:36.507918')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-12-16 15:58:36.511644"], ["updated_at", "2015-12-16 15:58:36.511644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-12-16"], ["created_at", "2015-12-16 15:58:36.515422"], ["updated_at", "2015-12-16 15:58:36.515422"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-12-17"], ["created_at", "2015-12-16 15:58:36.519292"], ["updated_at", "2015-12-16 15:58:36.519292"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-12-16"], ["completed_at", "2015-12-14 00:00:00.000000"], ["created_at", "2015-12-16 15:58:36.525573"], ["updated_at", "2015-12-16 15:58:36.525573"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-12-16 15:58:36.529610"], ["updated_at", "2015-12-16 15:58:36.529610"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-09 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-15 00:00:00.000000"], ["updated_at", "2015-12-16 15:58:36.564575"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-08 00:00:00.000000"], ["updated_at", "2015-12-16 15:58:36.567691"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-09 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-16 23:59:59.999999' AND created_at >= '2015-12-16 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-16 00:00:00.000000"], ["updated_at", "2015-12-16 15:58:36.576986"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-16 23:59:59.999999' AND created_at >= '2015-12-16 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-15 00:00:00.000000"], ["updated_at", "2015-12-16 15:58:36.582876"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "text", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["text", "foo"], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-16 15:58:36.600257"], ["updated_at", "2015-12-16 15:58:36.600257"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187877]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.5ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-16 15:58:36.635413"], ["updated_at", "2015-12-16 15:58:36.635413"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093909]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-12-16 15:58:36.770243"], ["updated_at", "2015-12-16 15:58:36.770243"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-12-16 15:58:36.775935"], ["updated_at", "2015-12-16 15:58:36.775935"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-12-16 15:58:36.778977"], ["updated_at", "2015-12-16 15:58:36.778977"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (3.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-12-09 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-12-15 00:00:00.000000"], ["updated_at", "2015-12-16 15:58:37.192063"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-12-09 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-12-16 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-12-16 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-12-16 00:00:00.000000"], ["updated_at", "2015-12-16 15:58:37.216985"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-12-16 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-12-16 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-12-16 09:58:38 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.3ms) Completed 200 OK in 165ms (Views: 140.3ms | ActiveRecord: 5.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-12-16 09:58:38 -0600 Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-16 09:58:38 -0600 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-12-16 09:58:38 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Dec 16 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-12-16 15:58:38.550951"], ["updated_at", "2015-12-16 15:58:38.554520"], ["id", 614371357]]  (5.8ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 19ms (Views: 0.3ms | ActiveRecord: 8.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-12-16 09:58:38 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.4ms) Completed 200 OK in 22ms (Views: 3.3ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-12-16 09:58:38 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 17ms (Views: 2.3ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-12-16 09:58:38 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2016-01-13", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.7ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2016-01-13"], ["updated_at", "2015-12-16 15:58:39.007619"], ["id", 53334230]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 2.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-12-16 09:58:39 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.9ms) Completed 200 OK in 25ms (Views: 2.9ms | ActiveRecord: 2.6ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-12-16 09:58:39 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2015-12-30", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (1.0ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2015-12-30"], ["created_at", "2015-12-16 15:58:39.372695"], ["updated_at", "2015-12-16 15:58:39.372695"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298884], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-12-16 15:58:39.378489"], ["updated_at", "2015-12-16 15:58:39.378489"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298884], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 4.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-12-16 09:58:39 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298884], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 16ms (Views: 2.1ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-12-16 09:58:39 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Dec 16 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-12-16 15:58:39.601226"], ["updated_at", "2015-12-16 15:58:39.604034"], ["id", 809335042]]  (1.3ms) COMMIT  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-12-16 15:58:39.609158"], ["updated_at", "2015-12-16 15:58:39.609158"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.4ms | ActiveRecord: 4.1ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" IS NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (2.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.8ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (1.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-12-16 15:58:39', '2015-12-16 15:58:39', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-16', '2015-12-16 15:58:39', '2015-12-16 15:58:39', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-16 15:58:39.000000', '2015-12-16', '2015-12-16 15:58:39', '2015-12-16 15:58:39', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-16', '2015-12-16 15:58:39', '2015-12-16 15:58:39', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-16 15:58:39', '2015-12-16 15:58:39', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-16 15:58:39.000000', '2015-12-16', '2015-12-16 15:58:39', '2015-12-16 15:58:39', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-15', '2015-12-16 15:58:39', '2015-12-16 15:58:39', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-14', '2015-12-16 15:58:39', '2015-12-16 15:58:39', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-16 15:58:39.000000', '2015-12-16', '2015-12-16 15:58:39', '2015-12-16 15:58:39', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-16', '2015-12-16 15:58:39', '2015-12-16 15:58:39', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-16 15:58:39.000000', '2015-12-16', '2015-12-16 15:58:39', '2015-12-16 15:58:39', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-16', '2015-12-16 15:58:39', '2015-12-16 15:58:39', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-16 15:58:39.000000', '2015-12-16', '2015-12-16 15:58:39', '2015-12-16 15:58:39', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-12-16 15:58:39', '2015-12-16 15:58:39', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-15 15:58:39.000000', '2015-12-16 15:58:39', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-16 15:58:39.000000', '2015-12-16 15:58:39', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-15 15:58:39.000000', '2015-12-16 15:58:39', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-16 15:58:39.000000', '2015-12-16 15:58:39', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-16 15:58:39', '2015-12-16 15:58:39', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-16 15:58:39', '2015-12-16 15:58:39', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-12-16 15:58:39', '2015-12-16 15:58:39', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-12-16 15:58:39', '2015-12-16 15:58:39', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-12-16 15:58:39', '2015-12-16 15:58:39', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-12-16 15:58:39', '2015-12-16 15:58:39', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-12-16 15:58:39', '2015-12-16 15:58:39', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-12-16 15:58:39', '2015-12-16 15:58:39', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-12-16 15:58:39', '2015-12-16 15:58:39', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-12-16 15:58:39', '2015-12-16 15:58:39', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-12-09 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-12-15 00:00:00.000000"], ["updated_at", "2015-12-16 15:58:40.004400"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-12-08 00:00:00.000000"], ["updated_at", "2015-12-16 15:58:40.007965"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-12-09 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-12-16 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-12-16 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.9ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-12-16 00:00:00.000000"], ["updated_at", "2015-12-16 15:58:40.015645"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-12-16 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-12-16 23:59:59.999999')  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 369066228], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 369066228], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-12-16 15:58:40.326191"], ["updated_at", "2015-12-16 15:58:40.326191"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-12-16 15:58:40.329086"], ["updated_at", "2015-12-16 15:58:40.329086"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-12-16 15:58:40.335263"], ["updated_at", "2015-12-16 15:58:40.335263"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-12-16 15:58:40.337581"], ["updated_at", "2015-12-16 15:58:40.337581"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-12-16 15:58:40.342378"], ["updated_at", "2015-12-16 15:58:40.342378"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-12-16 15:58:40.344288"], ["updated_at", "2015-12-16 15:58:40.344288"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-12-16 15:58:40.353351"], ["updated_at", "2015-12-16 15:58:40.353351"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-12-16 15:58:40.355510"], ["updated_at", "2015-12-16 15:58:40.355510"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (2.3ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.8ms) SocialNetworking::Mailer#notify: processed outbound mail in 224.1ms Sent mail to obama@ex.co (8.6ms) Date: Wed, 16 Dec 2015 09:58:40 -0600 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <56718a30a7b71_4c863ffa5cc60200936a5@FSMC02GN1YSDV7N.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-12-16 15:58:40.756138"], ["updated_at", "2015-12-16 15:58:40.756138"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-12-16 15:58:40.759028"], ["updated_at", "2015-12-16 15:58:40.759028"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-12-09 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.6ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-12-15 00:00:00.000000"], ["updated_at", "2015-12-16 15:58:40.776146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-12-08 00:00:00.000000"], ["updated_at", "2015-12-16 15:58:40.780660"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-12-09 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-12-16 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-12-16 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-12-16 00:00:00.000000"], ["updated_at", "2015-12-16 15:58:40.787786"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-12-16 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-12-16 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.1ms)  (0.2ms) ROLLBACK  (9.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "participants" Fixture Insert (0.6ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-12-16 21:08:59', '2015-12-16 21:08:59', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-12-16 21:08:59', '2015-12-16 21:08:59', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-12-16 21:08:59', '2015-12-16 21:08:59', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (17.0ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (3.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-12-16 21:08:59', '2015-12-16 21:08:59', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-12-16 21:08:59', '2015-12-16 21:08:59', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-12-16 21:08:59', '2015-12-16 21:08:59', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (3.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-12-16 21:08:59', '2015-12-16 21:08:59', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-12-16 21:08:59', '2015-12-16 21:08:59', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-12-16 21:08:59', '2015-12-16 21:08:59', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (3.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-12-16 21:08:59', '2015-12-16 21:08:59', 700141617) Fixture Insert (0.5ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-12-16 21:08:59', '2015-12-16 21:08:59', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-12-16 21:08:59', '2015-12-16 21:08:59', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (3.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (3.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-12-16 21:08:59', '2015-12-16 21:08:59', 700141617) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-12-16 21:08:59', '2015-12-16 21:08:59', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-12-16 21:08:59', '2015-12-16 21:08:59', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_goals" does not exist LINE 5: WHERE a.attrelid = '"social_networking_goals"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_goals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (3.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (5.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (2.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.1ms) BEGIN  (15.3ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (11.0ms) COMMIT Migrating to AddParticipantFields (2)  (5.5ms) BEGIN  (0.4ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.3ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (6.0ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (19.7ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (5.0ms) COMMIT Migrating to AddNullFalseToArms (5)  (5.5ms) BEGIN  (0.3ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.2ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (11.8ms) COMMIT Migrating to AddHasWozToArm (6)  (0.2ms) BEGIN  (15.0ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (33.6ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.3ms) BEGIN  (0.7ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (5.7ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.2ms) BEGIN  (8.4ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (2.0ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (1.1ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (5.7ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (6.0ms) BEGIN  (19.6ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.0ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (5.6ms) BEGIN  (18.6ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.1ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (6.0ms) BEGIN  (19.6ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (2.2ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.7ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (6.0ms) BEGIN  (18.4ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (5.8ms) BEGIN  (18.5ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (6.0ms) BEGIN  (7.6ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (10.8ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (5.9ms) BEGIN  (18.9ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (5.8ms) BEGIN  (18.6ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.1ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (0.6ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (5.9ms) BEGIN  (0.6ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (2.2ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (12.0ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (0.4ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.1ms) BEGIN  (6.1ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (5.7ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (14.4ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (12.7ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.3ms) BEGIN  (16.5ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (0.8ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (12.0ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.2ms) BEGIN  (7.4ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (11.2ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.1ms) BEGIN  (6.8ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (5.8ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (11.3ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.1ms) BEGIN SQL (0.7ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2015-12-16 21:09:12.211933"], ["updated_at", "2015-12-16 21:09:12.211933"]] SQL (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2015-12-16 21:09:12.215232"], ["updated_at", "2015-12-16 21:09:12.215232"]] SQL (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2015-12-16 21:09:12.217702"], ["updated_at", "2015-12-16 21:09:12.217702"]] SQL (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2015-12-16 21:09:12.220545"], ["updated_at", "2015-12-16 21:09:12.220545"]] SQL (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2015-12-16 21:09:12.222732"], ["updated_at", "2015-12-16 21:09:12.222732"]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (0.5ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.2ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (5.4ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (6.4ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.1ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (6.2ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (12.8ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (5.8ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (6.1ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.1ms) BEGIN  (7.6ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (12.6ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (6.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (6.1ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (6.1ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (6.1ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (11.3ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.2ms) BEGIN SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (6.0ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.1ms) BEGIN  (0.5ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (11.5ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.3ms) BEGIN  (6.8ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (5.6ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.2ms) BEGIN  (12.7ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (6.0ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.1ms) BEGIN  (7.0ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (12.6ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (0.5ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.1ms) BEGIN  (7.0ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (11.5ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (3.8ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.5ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.2ms) BEGIN  (6.6ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (5.7ms) COMMIT Migrating to ChangeColumnDefaultSocialNetworkingProfilesActiveToFalse (20151211204425)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ALTER COLUMN "active" SET DEFAULT 'f' SocialNetworking::Profile Load (0.5ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."active" IS NULL  (0.2ms) ALTER TABLE "social_networking_profiles" ALTER "active" SET NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151211204425"]]  (11.5ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (4.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-16', '2015-12-16 21:09:18', '2015-12-16 21:09:18', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-16 21:09:18.000000', '2015-12-16', '2015-12-16 21:09:18', '2015-12-16 21:09:18', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-16', '2015-12-16 21:09:18', '2015-12-16 21:09:18', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-16 21:09:18', '2015-12-16 21:09:18', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-16 21:09:18.000000', '2015-12-16', '2015-12-16 21:09:18', '2015-12-16 21:09:18', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-15', '2015-12-16 21:09:18', '2015-12-16 21:09:18', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-14', '2015-12-16 21:09:18', '2015-12-16 21:09:18', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-16 21:09:18.000000', '2015-12-16', '2015-12-16 21:09:18', '2015-12-16 21:09:18', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-16', '2015-12-16 21:09:18', '2015-12-16 21:09:18', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-16 21:09:18.000000', '2015-12-16', '2015-12-16 21:09:18', '2015-12-16 21:09:18', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-16', '2015-12-16 21:09:18', '2015-12-16 21:09:18', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-16 21:09:18.000000', '2015-12-16', '2015-12-16 21:09:18', '2015-12-16 21:09:18', 16804933, 816972181) Fixture Delete (0.7ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-16 21:09:18', '2015-12-16 21:09:18', 576803333, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-16 21:09:18', '2015-12-16 21:09:18', 369066228, 816972181)  (0.8ms) COMMIT  (2.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-16 23:59:59.999999' AND created_at >= '2015-12-16 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-16 00:00:00.000000"], ["updated_at", "2015-12-16 21:09:18.157794"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-16 23:59:59.999999' AND created_at >= '2015-12-16 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-09 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-15 00:00:00.000000"], ["updated_at", "2015-12-16 21:09:18.165512"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-08 00:00:00.000000"], ["updated_at", "2015-12-16 21:09:18.168071"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-09 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-15 00:00:00.000000"], ["updated_at", "2015-12-16 21:09:18.172657"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]]  (0.1ms) ROLLBACK  (3.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-16', '2015-12-16 21:09:34', '2015-12-16 21:09:34', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-16 21:09:34.000000', '2015-12-16', '2015-12-16 21:09:34', '2015-12-16 21:09:34', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-16', '2015-12-16 21:09:34', '2015-12-16 21:09:34', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-16 21:09:34', '2015-12-16 21:09:34', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-16 21:09:34.000000', '2015-12-16', '2015-12-16 21:09:34', '2015-12-16 21:09:34', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-15', '2015-12-16 21:09:34', '2015-12-16 21:09:34', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-14', '2015-12-16 21:09:34', '2015-12-16 21:09:34', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-16 21:09:34.000000', '2015-12-16', '2015-12-16 21:09:34', '2015-12-16 21:09:34', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-16', '2015-12-16 21:09:34', '2015-12-16 21:09:34', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-16 21:09:34.000000', '2015-12-16', '2015-12-16 21:09:34', '2015-12-16 21:09:34', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-16', '2015-12-16 21:09:34', '2015-12-16 21:09:34', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-16 21:09:34.000000', '2015-12-16', '2015-12-16 21:09:34', '2015-12-16 21:09:34', 16804933, 816972181) Fixture Delete (0.9ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-16 21:09:34', '2015-12-16 21:09:34', 576803333, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-16 21:09:34', '2015-12-16 21:09:34', 369066228, 816972181)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-16 23:59:59.999999' AND created_at >= '2015-12-16 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-16 00:00:00.000000"], ["updated_at", "2015-12-16 21:09:34.463611"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-16 23:59:59.999999' AND created_at >= '2015-12-16 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-15 00:00:00.000000"], ["updated_at", "2015-12-16 21:09:34.470034"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-09 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-15 00:00:00.000000"], ["updated_at", "2015-12-16 21:09:34.474725"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-08 00:00:00.000000"], ["updated_at", "2015-12-16 21:09:34.477092"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-09 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.3ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (0.9ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 816972181) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 816972181], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-16 21:09:34.520454"], ["updated_at", "2015-12-16 21:09:34.520454"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 1]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.5ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SQL (0.8ms) INSERT INTO "social_networking_comments" ("participant_id", "text", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 816972181], ["text", "foo"], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-16 21:09:34.552347"], ["updated_at", "2015-12-16 21:09:34.552347"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 1]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) ROLLBACK  (3.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.6ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-16', '2015-12-16 21:10:07', '2015-12-16 21:10:07', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-16 21:10:07.000000', '2015-12-16', '2015-12-16 21:10:07', '2015-12-16 21:10:07', 576699391, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-16', '2015-12-16 21:10:07', '2015-12-16 21:10:07', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-16 21:10:07', '2015-12-16 21:10:07', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-16 21:10:07.000000', '2015-12-16', '2015-12-16 21:10:07', '2015-12-16 21:10:07', 916373174, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-15', '2015-12-16 21:10:07', '2015-12-16 21:10:07', 717544784, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-14', '2015-12-16 21:10:07', '2015-12-16 21:10:07', 938656909, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-16 21:10:07.000000', '2015-12-16', '2015-12-16 21:10:07', '2015-12-16 21:10:07', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-16', '2015-12-16 21:10:07', '2015-12-16 21:10:07', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-16 21:10:07.000000', '2015-12-16', '2015-12-16 21:10:07', '2015-12-16 21:10:07', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-16', '2015-12-16 21:10:07', '2015-12-16 21:10:07', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-16 21:10:07.000000', '2015-12-16', '2015-12-16 21:10:07', '2015-12-16 21:10:07', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-16 21:10:07', '2015-12-16 21:10:07', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-16 21:10:07', '2015-12-16 21:10:07', 369066228, 816972181)  (0.5ms) COMMIT  (2.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-09 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-15 00:00:00.000000"], ["updated_at", "2015-12-16 21:10:08.025730"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-08 00:00:00.000000"], ["updated_at", "2015-12-16 21:10:08.029729"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-09 00:00:00.000000')  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-15 00:00:00.000000"], ["updated_at", "2015-12-16 21:10:08.040003"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-16 23:59:59.999999' AND created_at >= '2015-12-16 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-16 00:00:00.000000"], ["updated_at", "2015-12-16 21:10:08.046471"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-16 23:59:59.999999' AND created_at >= '2015-12-16 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SQL (0.6ms) INSERT INTO "social_networking_comments" ("participant_id", "text", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 816972181], ["text", "foo"], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-16 21:10:08.087013"], ["updated_at", "2015-12-16 21:10:08.087013"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (0.9ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 816972181) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 816972181], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-16 21:10:08.114928"], ["updated_at", "2015-12-16 21:10:08.114928"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) ROLLBACK  (3.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-16', '2015-12-16 21:10:17', '2015-12-16 21:10:17', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-16 21:10:17.000000', '2015-12-16', '2015-12-16 21:10:17', '2015-12-16 21:10:17', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-16', '2015-12-16 21:10:17', '2015-12-16 21:10:17', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-16 21:10:17', '2015-12-16 21:10:17', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-16 21:10:17.000000', '2015-12-16', '2015-12-16 21:10:17', '2015-12-16 21:10:17', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-15', '2015-12-16 21:10:17', '2015-12-16 21:10:17', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-14', '2015-12-16 21:10:17', '2015-12-16 21:10:17', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-16 21:10:17.000000', '2015-12-16', '2015-12-16 21:10:17', '2015-12-16 21:10:17', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-16', '2015-12-16 21:10:17', '2015-12-16 21:10:17', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-16 21:10:17.000000', '2015-12-16', '2015-12-16 21:10:17', '2015-12-16 21:10:17', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-16', '2015-12-16 21:10:17', '2015-12-16 21:10:17', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-16 21:10:17.000000', '2015-12-16', '2015-12-16 21:10:17', '2015-12-16 21:10:17', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-16 21:10:17', '2015-12-16 21:10:17', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-16 21:10:17', '2015-12-16 21:10:17', 369066228, 816972181)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (1.0ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-15 00:00:00.000000"], ["updated_at", "2015-12-16 21:10:17.321988"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-16 23:59:59.999999' AND created_at >= '2015-12-16 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-16 00:00:00.000000"], ["updated_at", "2015-12-16 21:10:17.334320"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-16 23:59:59.999999' AND created_at >= '2015-12-16 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-09 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-15 00:00:00.000000"], ["updated_at", "2015-12-16 21:10:17.342498"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-08 00:00:00.000000"], ["updated_at", "2015-12-16 21:10:17.345251"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-09 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.3ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (0.8ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 816972181) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 816972181], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-16 21:10:17.391425"], ["updated_at", "2015-12-16 21:10:17.391425"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.7ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.3ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 3]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "text", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 816972181], ["text", "foo"], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-16 21:10:17.423069"], ["updated_at", "2015-12-16 21:10:17.423069"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.3ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 3]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) ROLLBACK  (2.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-21', '2015-12-21 19:03:10', '2015-12-21 19:03:10', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-21 19:03:10.000000', '2015-12-21', '2015-12-21 19:03:10', '2015-12-21 19:03:10', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-21', '2015-12-21 19:03:10', '2015-12-21 19:03:10', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-21 19:03:10', '2015-12-21 19:03:10', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-21 19:03:10.000000', '2015-12-21', '2015-12-21 19:03:10', '2015-12-21 19:03:10', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-20', '2015-12-21 19:03:10', '2015-12-21 19:03:10', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-19', '2015-12-21 19:03:10', '2015-12-21 19:03:10', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-21 19:03:10.000000', '2015-12-21', '2015-12-21 19:03:10', '2015-12-21 19:03:10', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-21', '2015-12-21 19:03:10', '2015-12-21 19:03:10', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-21 19:03:10.000000', '2015-12-21', '2015-12-21 19:03:10', '2015-12-21 19:03:10', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-21', '2015-12-21 19:03:10', '2015-12-21 19:03:10', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-21 19:03:10.000000', '2015-12-21', '2015-12-21 19:03:10', '2015-12-21 19:03:10', 16804933, 816972181)  (1.8ms) COMMIT  (1.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-12-21 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-12-21 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-12-21 00:00:00.000000"], ["updated_at", "2015-12-21 19:03:10.235572"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-12-21 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-12-21 23:59:59.999999')  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-12-14 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-12-20 00:00:00.000000"], ["updated_at", "2015-12-21 19:03:10.247316"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-12-13 00:00:00.000000"], ["updated_at", "2015-12-21 19:03:10.251182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-12-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-12-21 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-12-21 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.9ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.8ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-12-21 00:00:00.000000"], ["updated_at", "2015-12-21 19:03:10.275227"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-12-21 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-12-21 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-12-14 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-12-20 00:00:00.000000"], ["updated_at", "2015-12-21 19:03:10.287409"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-12-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (6.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-21 19:03:10', '2015-12-21 19:03:10', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-21 19:03:10', '2015-12-21 19:03:10', 369066228, 816972181)  (6.1ms) COMMIT  (12.7ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-14 00:00:00.000000') Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-20 00:00:00.000000"], ["updated_at", "2015-12-21 19:03:10.386924"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-13 00:00:00.000000"], ["updated_at", "2015-12-21 19:03:10.390144"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-20 00:00:00.000000"], ["updated_at", "2015-12-21 19:03:10.395453"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-21 23:59:59.999999' AND created_at >= '2015-12-21 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-21 00:00:00.000000"], ["updated_at", "2015-12-21 19:03:10.400133"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-21 23:59:59.999999' AND created_at >= '2015-12-21 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 816972181) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 816972181], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-21 19:03:10.415373"], ["updated_at", "2015-12-21 19:03:10.415373"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 3]] SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "text", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 816972181], ["text", "foo"], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-21 19:03:10.433674"], ["updated_at", "2015-12-21 19:03:10.433674"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 4]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.7ms) Completed 200 OK in 21ms (Views: 14.8ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (1.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-12-21 19:03:10', '2015-12-21 19:03:10', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-12-21 19:03:10', '2015-12-21 19:03:10', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-20 19:03:10.000000', '2015-12-21 19:03:10', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-21 19:03:10.000000', '2015-12-21 19:03:10', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-20 19:03:10.000000', '2015-12-21 19:03:10', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-21 19:03:10.000000', '2015-12-21 19:03:10', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-12-21 19:03:10', '2015-12-21 19:03:10', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-12-21 19:03:10', '2015-12-21 19:03:10', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-12-21 19:03:10', '2015-12-21 19:03:10', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-12-21 19:03:10', '2015-12-21 19:03:10', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-12-21 19:03:10', '2015-12-21 19:03:10', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-12-21 19:03:10', '2015-12-21 19:03:10', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-12-21 19:03:10', '2015-12-21 19:03:10', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-12-21 19:03:10', '2015-12-21 19:03:10', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-12-21 19:03:10.619422"], ["updated_at", "2015-12-21 19:03:10.619422"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-12-21 19:03:10.622315"], ["updated_at", "2015-12-21 19:03:10.622315"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" IS NULL  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-12-21 13:03:11 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (1.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.6ms) Completed 200 OK in 138ms (Views: 87.7ms | ActiveRecord: 6.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-12-21 13:03:11 -0600 Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-21 13:03:11 -0600  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-12-21 13:03:11 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.0ms) Completed 200 OK in 21ms (Views: 4.0ms | ActiveRecord: 2.2ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-12-21 13:03:11 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"2016-01-04", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2016-01-04"], ["created_at", "2015-12-21 19:03:11.867743"], ["updated_at", "2015-12-21 19:03:11.867743"]]  (6.1ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-12-21 19:03:11.877949"], ["updated_at", "2015-12-21 19:03:11.877949"]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 19ms (Views: 0.3ms | ActiveRecord: 9.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-12-21 13:03:11 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 16ms (Views: 2.2ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-12-21 13:03:12 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Dec 21 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-12-21 19:03:12.064044"], ["updated_at", "2015-12-21 19:03:12.066676"], ["id", 614371357]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-12-21 13:03:12 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 22ms (Views: 2.4ms | ActiveRecord: 2.3ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-12-21 13:03:12 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Dec 21 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-12-21 19:03:12.238241"], ["updated_at", "2015-12-21 19:03:12.241199"], ["id", 809335042]]  (0.6ms) COMMIT  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-12-21 19:03:12.245714"], ["updated_at", "2015-12-21 19:03:12.245714"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 3.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-12-21 13:03:12 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.0ms) Completed 200 OK in 22ms (Views: 3.1ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-12-21 13:03:12 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"2016-01-18", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2016-01-18"], ["updated_at", "2015-12-21 19:03:12.600934"], ["id", 53334230]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 2.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (1.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-12-21 19:03:12', '2015-12-21 19:03:12', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-21', '2015-12-21 19:03:12', '2015-12-21 19:03:12', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-21 19:03:12.000000', '2015-12-21', '2015-12-21 19:03:12', '2015-12-21 19:03:12', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-21', '2015-12-21 19:03:12', '2015-12-21 19:03:12', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-21 19:03:12', '2015-12-21 19:03:12', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-21 19:03:12.000000', '2015-12-21', '2015-12-21 19:03:12', '2015-12-21 19:03:12', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-20', '2015-12-21 19:03:12', '2015-12-21 19:03:12', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-19', '2015-12-21 19:03:12', '2015-12-21 19:03:12', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-21 19:03:12.000000', '2015-12-21', '2015-12-21 19:03:12', '2015-12-21 19:03:12', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-21', '2015-12-21 19:03:12', '2015-12-21 19:03:12', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-21 19:03:12.000000', '2015-12-21', '2015-12-21 19:03:12', '2015-12-21 19:03:12', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-21', '2015-12-21 19:03:12', '2015-12-21 19:03:12', 318784238, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-21 19:03:12.000000', '2015-12-21', '2015-12-21 19:03:12', '2015-12-21 19:03:12', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-12-21 19:03:12', '2015-12-21 19:03:12', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-20 19:03:12.000000', '2015-12-21 19:03:12', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-21 19:03:12.000000', '2015-12-21 19:03:12', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-20 19:03:12.000000', '2015-12-21 19:03:12', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-21 19:03:12.000000', '2015-12-21 19:03:12', 316146702, 816972181, 700141617) Fixture Delete (0.8ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-21 19:03:12', '2015-12-21 19:03:12', 576803333, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-21 19:03:12', '2015-12-21 19:03:12', 369066228, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-12-21 19:03:12', '2015-12-21 19:03:12', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-12-21 19:03:12', '2015-12-21 19:03:12', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-12-21 19:03:12', '2015-12-21 19:03:12', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-12-21 19:03:12', '2015-12-21 19:03:12', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-12-21 19:03:12', '2015-12-21 19:03:12', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-12-21 19:03:12', '2015-12-21 19:03:12', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-12-21 19:03:12', '2015-12-21 19:03:12', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-12-21 19:03:12', '2015-12-21 19:03:12', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.2ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.5ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.5ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.6ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (1.0ms) SocialNetworking::Mailer#notify: processed outbound mail in 257.5ms Sent mail to obama@ex.co (8.9ms) Date: Mon, 21 Dec 2015 13:03:13 -0600 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <56784cf14d50c_56d23fd3c446020870861@FSMC02GN1YSDV7N.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-12-21 19:03:13.349124"], ["updated_at", "2015-12-21 19:03:13.349124"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-12-21 19:03:13.356394"], ["updated_at", "2015-12-21 19:03:13.356394"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-12-21 19:03:13.360503"], ["updated_at", "2015-12-21 19:03:13.360503"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-12-21 19:03:13.370186"], ["updated_at", "2015-12-21 19:03:13.370186"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-12-21 19:03:13.372644"], ["updated_at", "2015-12-21 19:03:13.372644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-12-21 19:03:13.378238"], ["updated_at", "2015-12-21 19:03:13.378238"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-12-21 19:03:13.380933"], ["updated_at", "2015-12-21 19:03:13.380933"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-12-21 19:03:13.394480"], ["updated_at", "2015-12-21 19:03:13.394480"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-12-21 19:03:13.396713"], ["updated_at", "2015-12-21 19:03:13.396713"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-12-21 19:03:13.401671"], ["updated_at", "2015-12-21 19:03:13.401671"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-12-21 19:03:13.403604"], ["updated_at", "2015-12-21 19:03:13.403604"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-12-21 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-12-21 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-12-21 00:00:00.000000"], ["updated_at", "2015-12-21 19:03:13.452114"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-12-21 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-12-21 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-12-14 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-12-20 00:00:00.000000"], ["updated_at", "2015-12-21 19:03:13.461528"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-12-13 00:00:00.000000"], ["updated_at", "2015-12-21 19:03:13.464311"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-12-14 00:00:00.000000')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-12-21 19:03:13.469110') AND ("social_networking_goals"."due_on" >= '2015-12-20 19:03:13.469217')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-12-21 19:03:13.472796') AND ("social_networking_goals"."due_on" >= '2015-12-20 19:03:13.472815') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-12-21 19:03:13.475596') AND ("social_networking_goals"."due_on" >= '2015-12-20 19:03:13.475612')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-12-21 19:03:13.481906"], ["updated_at", "2015-12-21 19:03:13.481906"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-12-21"], ["completed_at", "2015-12-19 00:00:00.000000"], ["created_at", "2015-12-21 19:03:13.485803"], ["updated_at", "2015-12-21 19:03:13.485803"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-12-22"], ["created_at", "2015-12-21 19:03:13.491512"], ["updated_at", "2015-12-21 19:03:13.491512"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-12-21"], ["created_at", "2015-12-21 19:03:13.496216"], ["updated_at", "2015-12-21 19:03:13.496216"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-12-21 19:03:13.500329"], ["updated_at", "2015-12-21 19:03:13.500329"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 369066228], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 369066228], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.8ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-12-21 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-12-21 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.6ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-12-21 00:00:00.000000"], ["updated_at", "2015-12-21 19:03:14.379102"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-12-21 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-12-21 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-12-14 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-12-20 00:00:00.000000"], ["updated_at", "2015-12-21 19:03:14.388017"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-12-13 00:00:00.000000"], ["updated_at", "2015-12-21 19:03:14.392324"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-12-14 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (2.2ms) ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (12.4ms) DELETE FROM "participants" Fixture Insert (0.6ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-12-29 21:02:12', '2015-12-29 21:02:12', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-12-29 21:02:12', '2015-12-29 21:02:12', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-12-29 21:02:12', '2015-12-29 21:02:12', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL  (0.7ms) ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-12-29 21:02:12', '2015-12-29 21:02:12', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-12-29 21:02:12', '2015-12-29 21:02:12', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-12-29 21:02:12', '2015-12-29 21:02:12', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL  (0.7ms) ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-12-29 21:02:12', '2015-12-29 21:02:12', 700141617) Fixture Insert (0.5ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-12-29 21:02:12', '2015-12-29 21:02:12', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-12-29 21:02:12', '2015-12-29 21:02:12', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (1.3ms) ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL  (0.8ms) ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-12-29 21:02:12', '2015-12-29 21:02:12', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-12-29 21:02:12', '2015-12-29 21:02:12', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-12-29 21:02:12', '2015-12-29 21:02:12', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.8ms) ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL  (0.7ms) ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2015-12-29 21:02:12', '2015-12-29 21:02:12', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2015-12-29 21:02:12', '2015-12-29 21:02:12', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2015-12-29 21:02:12', '2015-12-29 21:02:12', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL  (5.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.2ms) BEGIN  (15.4ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (5.5ms) COMMIT Migrating to AddParticipantFields (2)  (6.0ms) BEGIN  (0.4ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.3ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (6.0ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (14.2ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (6.0ms) COMMIT Migrating to AddNullFalseToArms (5)  (5.5ms) BEGIN  (0.3ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.2ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (5.9ms) COMMIT Migrating to AddHasWozToArm (6)  (0.1ms) BEGIN  (15.3ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (6.6ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (6.0ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.1ms) BEGIN  (7.9ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.6ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (0.9ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (6.4ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (6.0ms) BEGIN  (16.6ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.0ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (5.5ms) BEGIN  (13.9ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.3ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (4.7ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (6.0ms) BEGIN  (15.0ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (1.6ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.7ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (5.8ms) BEGIN  (20.5ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (5.9ms) BEGIN  (15.4ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (5.9ms) BEGIN  (8.2ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (5.8ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (6.1ms) BEGIN  (14.1ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (5.2ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (5.6ms) BEGIN  (14.2ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.1ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (0.6ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (5.7ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (1.4ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (6.1ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (5.8ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.2ms) BEGIN  (6.9ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (5.8ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (14.6ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (6.8ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.1ms) BEGIN  (14.8ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (6.6ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (6.1ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.1ms) BEGIN  (6.9ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (6.0ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.1ms) BEGIN  (7.3ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (6.1ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (5.6ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2015-12-29 21:02:23.709563"], ["updated_at", "2015-12-29 21:02:23.709563"]] SQL (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2015-12-29 21:02:23.711985"], ["updated_at", "2015-12-29 21:02:23.711985"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2015-12-29 21:02:23.713528"], ["updated_at", "2015-12-29 21:02:23.713528"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2015-12-29 21:02:23.715027"], ["updated_at", "2015-12-29 21:02:23.715027"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2015-12-29 21:02:23.716179"], ["updated_at", "2015-12-29 21:02:23.716179"]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (4.9ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.2ms) BEGIN  (0.5ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (6.2ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (6.1ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.1ms) BEGIN SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (5.7ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (6.6ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (6.0ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.2ms) BEGIN SocialNetworking::SharedItem Load (0.6ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (5.8ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.1ms) BEGIN  (8.1ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (5.7ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (6.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (6.0ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (6.1ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.1ms) BEGIN  (0.5ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (6.2ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (6.2ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (6.2ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.1ms) BEGIN  (0.6ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (6.1ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.1ms) BEGIN  (6.8ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (6.0ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.1ms) BEGIN  (7.7ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (6.2ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.1ms) BEGIN  (6.9ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (6.5ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (6.1ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.1ms) BEGIN  (7.0ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (6.2ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (6.1ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.4ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.1ms) BEGIN  (6.8ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (6.1ms) COMMIT Migrating to ChangeColumnDefaultSocialNetworkingProfilesActiveToFalse (20151211204425)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ALTER COLUMN "active" SET DEFAULT 'f' SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."active" IS NULL  (0.2ms) ALTER TABLE "social_networking_profiles" ALTER "active" SET NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151211204425"]]  (6.2ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-12-29 21:02:31', '2015-12-29 21:02:31', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-29', '2015-12-29 21:02:31', '2015-12-29 21:02:31', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-29 21:02:31.000000', '2015-12-29', '2015-12-29 21:02:31', '2015-12-29 21:02:31', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-29', '2015-12-29 21:02:31', '2015-12-29 21:02:31', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-29 21:02:31', '2015-12-29 21:02:31', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-29 21:02:31.000000', '2015-12-29', '2015-12-29 21:02:31', '2015-12-29 21:02:31', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-28', '2015-12-29 21:02:31', '2015-12-29 21:02:31', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-27', '2015-12-29 21:02:31', '2015-12-29 21:02:31', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-29 21:02:31.000000', '2015-12-29', '2015-12-29 21:02:31', '2015-12-29 21:02:31', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-29', '2015-12-29 21:02:31', '2015-12-29 21:02:31', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-29 21:02:31.000000', '2015-12-29', '2015-12-29 21:02:31', '2015-12-29 21:02:31', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-29', '2015-12-29 21:02:31', '2015-12-29 21:02:31', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-29 21:02:31.000000', '2015-12-29', '2015-12-29 21:02:31', '2015-12-29 21:02:31', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-12-29 21:02:31', '2015-12-29 21:02:31', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-28 21:02:31.000000', '2015-12-29 21:02:31', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-29 21:02:31.000000', '2015-12-29 21:02:31', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-28 21:02:31.000000', '2015-12-29 21:02:31', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-29 21:02:31.000000', '2015-12-29 21:02:31', 316146702, 816972181, 700141617) Fixture Delete (0.6ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-29 21:02:31', '2015-12-29 21:02:31', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-29 21:02:31', '2015-12-29 21:02:31', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-12-29 21:02:31', '2015-12-29 21:02:31', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-12-29 21:02:31', '2015-12-29 21:02:31', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-12-29 21:02:31', '2015-12-29 21:02:31', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-12-29 21:02:31', '2015-12-29 21:02:31', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-12-29 21:02:31', '2015-12-29 21:02:31', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-12-29 21:02:31', '2015-12-29 21:02:31', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-12-29 21:02:31', '2015-12-29 21:02:31', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-12-29 21:02:31', '2015-12-29 21:02:31', 809335042, 'SocialNetworking::Goal', 809335042)  (1.8ms) COMMIT  (1.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-12-29 15:02:32 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.7ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.9ms) Completed 200 OK in 224ms (Views: 146.6ms | ActiveRecord: 6.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-12-29 15:02:32 -0600 Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-29 15:02:32 -0600 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-12-29 15:02:33 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"Feb 23 2016", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2016-02-23"], ["updated_at", "2015-12-29 21:02:33.106435"], ["id", 53334230]]  (6.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 19ms (Views: 0.3ms | ActiveRecord: 10.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-12-29 15:02:33 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-12-29 15:02:33 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Dec 29 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (25.8ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-12-29 21:02:33.423601"], ["updated_at", "2015-12-29 21:02:33.427050"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 37ms (Views: 0.3ms | ActiveRecord: 29.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-12-29 15:02:33 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.0ms) Completed 200 OK in 16ms (Views: 1.6ms | ActiveRecord: 2.0ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2015-12-29 15:02:33 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"Feb 23 2016", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2016-02-23"], ["created_at", "2015-12-29 21:02:33.637042"], ["updated_at", "2015-12-29 21:02:33.637042"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-12-29 21:02:33.649543"], ["updated_at", "2015-12-29 21:02:33.649543"]]  (6.2ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 27ms (Views: 0.4ms | ActiveRecord: 9.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-12-29 15:02:33 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.0ms) Completed 200 OK in 17ms (Views: 2.9ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-12-29 15:02:33 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 16ms (Views: 2.0ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-12-29 15:02:34 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Dec 29 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-12-29 21:02:34.050309"], ["updated_at", "2015-12-29 21:02:34.052575"], ["id", 809335042]]  (1.4ms) COMMIT  (0.6ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-12-29 21:02:34.057791"], ["updated_at", "2015-12-29 21:02:34.057791"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 4.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (8.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-12-29 21:08:36', '2015-12-29 21:08:36', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-29', '2015-12-29 21:08:36', '2015-12-29 21:08:36', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-29 21:08:36.000000', '2015-12-29', '2015-12-29 21:08:36', '2015-12-29 21:08:36', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-29', '2015-12-29 21:08:36', '2015-12-29 21:08:36', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-29 21:08:36', '2015-12-29 21:08:36', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-29 21:08:36.000000', '2015-12-29', '2015-12-29 21:08:36', '2015-12-29 21:08:36', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-28', '2015-12-29 21:08:36', '2015-12-29 21:08:36', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-27', '2015-12-29 21:08:36', '2015-12-29 21:08:36', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-29 21:08:36.000000', '2015-12-29', '2015-12-29 21:08:36', '2015-12-29 21:08:36', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-29', '2015-12-29 21:08:36', '2015-12-29 21:08:36', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-29 21:08:36.000000', '2015-12-29', '2015-12-29 21:08:36', '2015-12-29 21:08:36', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-29', '2015-12-29 21:08:36', '2015-12-29 21:08:36', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-29 21:08:36.000000', '2015-12-29', '2015-12-29 21:08:36', '2015-12-29 21:08:36', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-12-29 21:08:36', '2015-12-29 21:08:36', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-28 21:08:36.000000', '2015-12-29 21:08:36', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-29 21:08:36.000000', '2015-12-29 21:08:36', 366290861, 700141617, 816972181) Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-28 21:08:36.000000', '2015-12-29 21:08:36', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-29 21:08:36.000000', '2015-12-29 21:08:36', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-29 21:08:36', '2015-12-29 21:08:36', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-29 21:08:36', '2015-12-29 21:08:36', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-12-29 21:08:36', '2015-12-29 21:08:36', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-12-29 21:08:36', '2015-12-29 21:08:36', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-12-29 21:08:36', '2015-12-29 21:08:36', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-12-29 21:08:36', '2015-12-29 21:08:36', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-12-29 21:08:36', '2015-12-29 21:08:36', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-12-29 21:08:36', '2015-12-29 21:08:36', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-12-29 21:08:36', '2015-12-29 21:08:36', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.4ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-12-29 21:08:36', '2015-12-29 21:08:36', 809335042, 'SocialNetworking::Goal', 809335042)  (2.0ms) COMMIT  (2.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" IS NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-12-29 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-12-29 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-12-29 00:00:00.000000"], ["updated_at", "2015-12-29 21:08:36.358533"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-12-29 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2015-12-29 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-12-22 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-12-28 00:00:00.000000"], ["updated_at", "2015-12-29 21:08:36.368420"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2015-12-21 00:00:00.000000"], ["updated_at", "2015-12-29 21:08:36.372107"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2015-12-22 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-12-29 21:08:36.376118') AND ("social_networking_goals"."due_on" >= '2015-12-28 21:08:36.376150')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-12-29 21:08:36.381713') AND ("social_networking_goals"."due_on" >= '2015-12-28 21:08:36.381739') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2015-12-29 21:08:36.384756') AND ("social_networking_goals"."due_on" >= '2015-12-28 21:08:36.384775')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2015-12-29"], ["created_at", "2015-12-29 21:08:36.388335"], ["updated_at", "2015-12-29 21:08:36.388335"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2015-12-29 21:08:36.392308"], ["updated_at", "2015-12-29 21:08:36.392308"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-12-29"], ["completed_at", "2015-12-27 00:00:00.000000"], ["created_at", "2015-12-29 21:08:36.398377"], ["updated_at", "2015-12-29 21:08:36.398377"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2015-12-29 21:08:36.402305"], ["updated_at", "2015-12-29 21:08:36.402305"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2015-12-30"], ["created_at", "2015-12-29 21:08:36.405963"], ["updated_at", "2015-12-29 21:08:36.405963"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Nudge Load (0.7ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.6ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 369066228], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 369066228], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.3ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-12-29 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-12-29 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-12-29 00:00:00.000000"], ["updated_at", "2015-12-29 21:08:36.767320"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-12-29 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2015-12-29 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-12-22 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-12-28 00:00:00.000000"], ["updated_at", "2015-12-29 21:08:36.774024"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2015-12-21 00:00:00.000000"], ["updated_at", "2015-12-29 21:08:36.777017"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2015-12-22 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-12-29 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-12-29 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-12-29 00:00:00.000000"], ["updated_at", "2015-12-29 21:08:36.875545"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-12-29 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2015-12-29 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-12-22 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2015-12-28 00:00:00.000000"], ["updated_at", "2015-12-29 21:08:36.884373"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2015-12-22 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-12-29 21:08:36.921389"], ["updated_at", "2015-12-29 21:08:36.921389"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-12-29 21:08:36.923848"], ["updated_at", "2015-12-29 21:08:36.923848"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-12-29 21:08:36.929163"], ["updated_at", "2015-12-29 21:08:36.929163"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-12-29 21:08:36.931286"], ["updated_at", "2015-12-29 21:08:36.931286"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-12-29 21:08:36.949213"], ["updated_at", "2015-12-29 21:08:36.949213"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-12-29 21:08:36.952155"], ["updated_at", "2015-12-29 21:08:36.952155"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2015-12-29 21:08:36.957310"], ["updated_at", "2015-12-29 21:08:36.957310"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2015-12-29 21:08:36.959293"], ["updated_at", "2015-12-29 21:08:36.959293"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-12-29 15:08:37 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.7ms) Completed 200 OK in 81ms (Views: 53.8ms | ActiveRecord: 6.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-12-29 15:08:37 -0600 Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-29 15:08:37 -0600 Started POST "/social_networking/goals" for 127.0.0.1 at 2015-12-29 15:08:37 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"Feb 23 2016", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (1.0ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2016-02-23"], ["created_at", "2015-12-29 21:08:37.976468"], ["updated_at", "2015-12-29 21:08:37.976468"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2015-12-29 21:08:37.983195"], ["updated_at", "2015-12-29 21:08:37.983195"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 4.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-12-29 15:08:38 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.5ms) Completed 200 OK in 22ms (Views: 3.7ms | ActiveRecord: 2.4ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2015-12-29 15:08:38 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Dec 29 2015", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2015-12-29 21:08:38.177871"], ["updated_at", "2015-12-29 21:08:38.180504"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-12-29 15:08:38 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.9ms) Completed 200 OK in 19ms (Views: 2.9ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-12-29 15:08:38 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.3ms) Completed 200 OK in 22ms (Views: 3.2ms | ActiveRecord: 2.2ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2015-12-29 15:08:38 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"Feb 23 2016", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2016-02-23"], ["updated_at", "2015-12-29 21:08:38.519935"], ["id", 53334230]]  (1.7ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2015-12-29 15:08:38 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 18ms (Views: 2.3ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2015-12-29 15:08:38 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Dec 29 2015", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2015-12-29 21:08:38.831553"], ["updated_at", "2015-12-29 21:08:38.834294"], ["id", 809335042]]  (1.3ms) COMMIT  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2015-12-29 21:08:38.839395"], ["updated_at", "2015-12-29 21:08:38.839395"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.4ms | ActiveRecord: 4.0ms)  (0.1ms) ROLLBACK  (1.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-29', '2015-12-29 21:08:38', '2015-12-29 21:08:38', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-29 21:08:38.000000', '2015-12-29', '2015-12-29 21:08:38', '2015-12-29 21:08:38', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-29', '2015-12-29 21:08:38', '2015-12-29 21:08:38', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-29 21:08:38', '2015-12-29 21:08:38', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-29 21:08:38.000000', '2015-12-29', '2015-12-29 21:08:38', '2015-12-29 21:08:38', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-28', '2015-12-29 21:08:38', '2015-12-29 21:08:38', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-27', '2015-12-29 21:08:38', '2015-12-29 21:08:38', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-29 21:08:38.000000', '2015-12-29', '2015-12-29 21:08:38', '2015-12-29 21:08:38', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-29', '2015-12-29 21:08:38', '2015-12-29 21:08:38', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-29 21:08:38.000000', '2015-12-29', '2015-12-29 21:08:38', '2015-12-29 21:08:38', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-29', '2015-12-29 21:08:38', '2015-12-29 21:08:38', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-29 21:08:38.000000', '2015-12-29', '2015-12-29 21:08:38', '2015-12-29 21:08:38', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-29 21:08:38', '2015-12-29 21:08:38', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-29 21:08:38', '2015-12-29 21:08:38', 369066228, 816972181)  (0.5ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-22 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-28 00:00:00.000000"], ["updated_at", "2015-12-29 21:08:38.894893"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-21 00:00:00.000000"], ["updated_at", "2015-12-29 21:08:38.899011"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2015-12-22 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-29 23:59:59.999999' AND created_at >= '2015-12-29 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-29 00:00:00.000000"], ["updated_at", "2015-12-29 21:08:38.905898"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2015-12-29 23:59:59.999999' AND created_at >= '2015-12-29 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2015-12-28 00:00:00.000000"], ["updated_at", "2015-12-29 21:08:38.911387"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 816972181) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 816972181], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-29 21:08:38.919798"], ["updated_at", "2015-12-29 21:08:38.919798"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093911]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SQL (0.6ms) INSERT INTO "social_networking_comments" ("participant_id", "text", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 816972181], ["text", "foo"], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2015-12-29 21:08:38.941574"], ["updated_at", "2015-12-29 21:08:38.941574"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187880]] SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335047]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335048]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (1.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-12-29 21:08:38', '2015-12-29 21:08:38', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-12-29 21:08:38', '2015-12-29 21:08:38', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-28 21:08:38.000000', '2015-12-29 21:08:38', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-29 21:08:38.000000', '2015-12-29 21:08:38', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-28 21:08:38.000000', '2015-12-29 21:08:38', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-29 21:08:38.000000', '2015-12-29 21:08:38', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-12-29 21:08:38', '2015-12-29 21:08:38', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-12-29 21:08:38', '2015-12-29 21:08:38', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-12-29 21:08:38', '2015-12-29 21:08:38', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-12-29 21:08:38', '2015-12-29 21:08:38', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-12-29 21:08:38', '2015-12-29 21:08:38', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-12-29 21:08:38', '2015-12-29 21:08:38', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-12-29 21:08:38', '2015-12-29 21:08:38', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-12-29 21:08:38', '2015-12-29 21:08:38', 809335042, 'SocialNetworking::Goal', 809335042)  (0.7ms) COMMIT  (1.7ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-12-29 21:08:39.009295"], ["updated_at", "2015-12-29 21:08:39.009295"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-12-29 21:08:39.012947"], ["updated_at", "2015-12-29 21:08:39.012947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-12-29 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-12-29 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.6ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-12-29 00:00:00.000000"], ["updated_at", "2015-12-29 21:08:39.406494"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-12-29 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2015-12-29 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-12-22 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.7ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-12-28 00:00:00.000000"], ["updated_at", "2015-12-29 21:08:39.414921"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2015-12-21 00:00:00.000000"], ["updated_at", "2015-12-29 21:08:39.419440"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2015-12-22 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.5ms) SocialNetworking::Mailer#notify: processed outbound mail in 231.2ms Sent mail to obama@ex.co (9.6ms) Date: Tue, 29 Dec 2015 15:08:39 -0600 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <5682f657dd58e_9b633fecddc602002676@FSMC02GN1YSDV7N.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Did Not Complete"], ["participant_id", 700141617], ["created_at", "2015-12-29 21:08:39.930664"], ["updated_at", "2015-12-29 21:08:39.930664"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2015-12-29 21:08:39.935304"], ["updated_at", "2015-12-29 21:08:39.935304"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2015-12-29 21:08:39.938013"], ["updated_at", "2015-12-29 21:08:39.938013"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (2.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2015-12-29 21:48:16', '2015-12-29 21:48:16', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2015-12-29', '2015-12-29 21:48:16', '2015-12-29 21:48:16', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2015-12-29 21:48:16.000000', '2015-12-29', '2015-12-29 21:48:16', '2015-12-29 21:48:16', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2015-12-29', '2015-12-29 21:48:16', '2015-12-29 21:48:16', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2015-12-29 21:48:16', '2015-12-29 21:48:16', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2015-12-29 21:48:16.000000', '2015-12-29', '2015-12-29 21:48:16', '2015-12-29 21:48:16', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2015-12-28', '2015-12-29 21:48:16', '2015-12-29 21:48:16', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2015-12-27', '2015-12-29 21:48:16', '2015-12-29 21:48:16', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2015-12-29 21:48:16.000000', '2015-12-29', '2015-12-29 21:48:16', '2015-12-29 21:48:16', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2015-12-29', '2015-12-29 21:48:16', '2015-12-29 21:48:16', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2015-12-29 21:48:16.000000', '2015-12-29', '2015-12-29 21:48:16', '2015-12-29 21:48:16', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2015-12-29', '2015-12-29 21:48:16', '2015-12-29 21:48:16', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2015-12-29 21:48:16.000000', '2015-12-29', '2015-12-29 21:48:16', '2015-12-29 21:48:16', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2015-12-29 21:48:16', '2015-12-29 21:48:16', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-28 21:48:16.000000', '2015-12-29 21:48:16', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-29 21:48:16.000000', '2015-12-29 21:48:16', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-28 21:48:16.000000', '2015-12-29 21:48:16', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2015-12-29 21:48:16.000000', '2015-12-29 21:48:16', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2015-12-29 21:48:16', '2015-12-29 21:48:16', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2015-12-29 21:48:16', '2015-12-29 21:48:16', 369066228, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2015-12-29 21:48:16', '2015-12-29 21:48:16', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2015-12-29 21:48:16', '2015-12-29 21:48:16', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2015-12-29 21:48:16', '2015-12-29 21:48:16', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2015-12-29 21:48:16', '2015-12-29 21:48:16', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2015-12-29 21:48:16', '2015-12-29 21:48:16', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2015-12-29 21:48:16', '2015-12-29 21:48:16', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2015-12-29 21:48:16', '2015-12-29 21:48:16', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2015-12-29 21:48:16', '2015-12-29 21:48:16', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) ROLLBACK  (5.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (20.3ms) DELETE FROM "participants" Fixture Insert (1.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2016-01-08 20:18:15', '2016-01-08 20:18:15', 700141617) Fixture Insert (0.5ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2016-01-08 20:18:15', '2016-01-08 20:18:15', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2016-01-08 20:18:15', '2016-01-08 20:18:15', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.3ms) ROLLBACK  (17.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL  (3.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.6ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2016-01-08 20:18:16', '2016-01-08 20:18:16', 700141617) Fixture Insert (0.5ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2016-01-08 20:18:16', '2016-01-08 20:18:16', 816972181) Fixture Insert (0.5ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2016-01-08 20:18:16', '2016-01-08 20:18:16', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL  (3.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2016-01-08 20:18:16', '2016-01-08 20:18:16', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2016-01-08 20:18:16', '2016-01-08 20:18:16', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2016-01-08 20:18:16', '2016-01-08 20:18:16', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (4.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL  (3.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2016-01-08 20:18:16', '2016-01-08 20:18:16', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2016-01-08 20:18:16', '2016-01-08 20:18:16', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2016-01-08 20:18:16', '2016-01-08 20:18:16', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL  (3.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2016-01-08 20:18:16', '2016-01-08 20:18:16', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2016-01-08 20:18:16', '2016-01-08 20:18:16', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2016-01-08 20:18:16', '2016-01-08 20:18:16', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL  (4.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2016-01-08 20:18:16', '2016-01-08 20:18:16', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2016-01-08 20:18:16', '2016-01-08 20:18:16', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2016-01-08 20:18:16', '2016-01-08 20:18:16', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL  (3.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.6ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2016-01-08 20:18:16', '2016-01-08 20:18:16', 700141617) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2016-01-08 20:18:16', '2016-01-08 20:18:16', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2016-01-08 20:18:16', '2016-01-08 20:18:16', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (4.7ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL  (5.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2016-01-08 20:18:16', '2016-01-08 20:18:16', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2016-01-08 20:18:16', '2016-01-08 20:18:16', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2016-01-08 20:18:16', '2016-01-08 20:18:16', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL  (3.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', '2016-01-08 20:18:16', '2016-01-08 20:18:16', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', '2016-01-08 20:18:16', '2016-01-08 20:18:16', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "created_at", "updated_at", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', '2016-01-08 20:18:16', '2016-01-08 20:18:16', 129315074) PG::UndefinedTable: ERROR: relation "social_networking_comments" does not exist LINE 5: WHERE a.attrelid = '"social_networking_commen... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_comments"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL  (0.1ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms)  (0.4ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.3ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms)  (0.2ms)   (0.3ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms)  (0.2ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms)  (0.2ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.2ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.3ms) ROLLBACK  (0.2ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "participants" does not exist LINE 5: WHERE a.attrelid = '"participants"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"participants"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (2.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2016-01-08 20:22:24', '2016-01-08 20:22:24', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2016-01-08', '2016-01-08 20:22:24', '2016-01-08 20:22:24', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2016-01-08 20:22:24.000000', '2016-01-08', '2016-01-08 20:22:24', '2016-01-08 20:22:24', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2016-01-08', '2016-01-08 20:22:24', '2016-01-08 20:22:24', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2016-01-08 20:22:24', '2016-01-08 20:22:24', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2016-01-08 20:22:24.000000', '2016-01-08', '2016-01-08 20:22:24', '2016-01-08 20:22:24', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2016-01-07', '2016-01-08 20:22:24', '2016-01-08 20:22:24', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2016-01-06', '2016-01-08 20:22:24', '2016-01-08 20:22:24', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2016-01-08 20:22:24.000000', '2016-01-08', '2016-01-08 20:22:24', '2016-01-08 20:22:24', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2016-01-08', '2016-01-08 20:22:24', '2016-01-08 20:22:24', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2016-01-08 20:22:24.000000', '2016-01-08', '2016-01-08 20:22:24', '2016-01-08 20:22:24', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2016-01-08', '2016-01-08 20:22:24', '2016-01-08 20:22:24', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2016-01-08 20:22:24.000000', '2016-01-08', '2016-01-08 20:22:24', '2016-01-08 20:22:24', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2016-01-08 20:22:24', '2016-01-08 20:22:24', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-07 20:22:24.000000', '2016-01-08 20:22:24', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-08 20:22:24.000000', '2016-01-08 20:22:24', 366290861, 700141617, 816972181) Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-07 20:22:24.000000', '2016-01-08 20:22:24', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-08 20:22:24.000000', '2016-01-08 20:22:24', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2016-01-08 20:22:24', '2016-01-08 20:22:24', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2016-01-08 20:22:24', '2016-01-08 20:22:24', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2016-01-08 20:22:24', '2016-01-08 20:22:24', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2016-01-08 20:22:24', '2016-01-08 20:22:24', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2016-01-08 20:22:24', '2016-01-08 20:22:24', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2016-01-08 20:22:24', '2016-01-08 20:22:24', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2016-01-08 20:22:24', '2016-01-08 20:22:24', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2016-01-08 20:22:24', '2016-01-08 20:22:24', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2016-01-08 20:22:24', '2016-01-08 20:22:24', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2016-01-08 20:22:24', '2016-01-08 20:22:24', 809335042, 'SocialNetworking::Goal', 809335042)  (1.7ms) COMMIT  (1.5ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:22:25 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.7ms) Completed 200 OK in 217ms (Views: 140.4ms | ActiveRecord: 6.5ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-08 14:22:25 -0600 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-08 14:22:25 -0600 SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2016-01-08 14:22:26 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Jan 08 2016", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2016-01-08 20:22:26.023486"], ["updated_at", "2016-01-08 20:22:26.028972"], ["id", 809335042]]  (6.1ms) COMMIT  (0.4ms) BEGIN SQL (0.9ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:22:26.048419"], ["updated_at", "2016-01-08 20:22:26.048419"]]  (5.9ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 39ms (Views: 0.4ms | ActiveRecord: 17.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:22:26 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 2.0ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2016-01-08 14:22:26 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"Feb 05 2016", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.9ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2016-02-05"], ["updated_at", "2016-01-08 20:22:26.250600"], ["id", 53334230]]  (6.2ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 8.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:22:26 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 13ms (Views: 1.8ms | ActiveRecord: 1.6ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2016-01-08 14:22:26 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Jan 08 2016", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2016-01-08 20:22:26.443745"], ["updated_at", "2016-01-08 20:22:26.446162"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:22:26 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 19ms (Views: 1.8ms | ActiveRecord: 2.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:22:26 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 13ms (Views: 1.8ms | ActiveRecord: 1.5ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:22:26 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"2 week goal", "isCompleted"=>false, "dueOn"=>"Jan 22 2016", "goal"=>{"description"=>"2 week goal"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.8ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "2 week goal"], ["due_on", "2016-01-22"], ["created_at", "2016-01-08 20:22:26.923141"], ["updated_at", "2016-01-08 20:22:26.923141"]]  (1.6ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:22:26.929162"], ["updated_at", "2016-01-08 20:22:26.929162"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 4.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:22:28 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.0ms) Completed 200 OK in 13ms (Views: 1.6ms | ActiveRecord: 1.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:22:29 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"When should I finish this?", "isCompleted"=>false, "dueOn"=>"", "goal"=>{"description"=>"When should I finish this?"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "When should I finish this?"], ["created_at", "2016-01-08 20:22:29.138807"], ["updated_at", "2016-01-08 20:22:29.138807"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:22:29.144040"], ["updated_at", "2016-01-08 20:22:29.144040"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 3.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:22:29 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.0ms) Completed 200 OK in 18ms (Views: 2.9ms | ActiveRecord: 1.9ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:22:29 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"4 week goal", "isCompleted"=>false, "dueOn"=>"Feb 05 2016", "goal"=>{"description"=>"4 week goal"}} Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "4 week goal"], ["due_on", "2016-02-05"], ["created_at", "2016-01-08 20:22:29.385262"], ["updated_at", "2016-01-08 20:22:29.385262"]]  (1.7ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:22:29.391582"], ["updated_at", "2016-01-08 20:22:29.391582"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 3.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:22:29 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 18ms (Views: 1.9ms | ActiveRecord: 2.3ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:22:29 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"the end!", "isCompleted"=>false, "dueOn"=>"Mar 04 2016", "goal"=>{"description"=>"the end!"}} Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "the end!"], ["due_on", "2016-03-04"], ["created_at", "2016-01-08 20:22:29.628003"], ["updated_at", "2016-01-08 20:22:29.628003"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:22:29.632762"], ["updated_at", "2016-01-08 20:22:29.632762"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:22:29 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 17ms (Views: 1.9ms | ActiveRecord: 2.0ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:22:29 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"1 week goal", "isCompleted"=>false, "dueOn"=>"Jan 15 2016", "goal"=>{"description"=>"1 week goal"}} Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "1 week goal"], ["due_on", "2016-01-15"], ["created_at", "2016-01-08 20:22:29.937501"], ["updated_at", "2016-01-08 20:22:29.937501"]]  (1.7ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298883], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:22:29.943228"], ["updated_at", "2016-01-08 20:22:29.943228"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298883], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 4.3ms)  (0.2ms) ROLLBACK  (3.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2016-01-08 20:22:49', '2016-01-08 20:22:49', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2016-01-08', '2016-01-08 20:22:49', '2016-01-08 20:22:49', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2016-01-08 20:22:49.000000', '2016-01-08', '2016-01-08 20:22:49', '2016-01-08 20:22:49', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2016-01-08', '2016-01-08 20:22:49', '2016-01-08 20:22:49', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2016-01-08 20:22:49', '2016-01-08 20:22:49', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2016-01-08 20:22:49.000000', '2016-01-08', '2016-01-08 20:22:49', '2016-01-08 20:22:49', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2016-01-07', '2016-01-08 20:22:49', '2016-01-08 20:22:49', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2016-01-06', '2016-01-08 20:22:49', '2016-01-08 20:22:49', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2016-01-08 20:22:49.000000', '2016-01-08', '2016-01-08 20:22:49', '2016-01-08 20:22:49', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2016-01-08', '2016-01-08 20:22:49', '2016-01-08 20:22:49', 128166899, 816972181) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2016-01-08 20:22:49.000000', '2016-01-08', '2016-01-08 20:22:49', '2016-01-08 20:22:49', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2016-01-08', '2016-01-08 20:22:49', '2016-01-08 20:22:49', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2016-01-08 20:22:49.000000', '2016-01-08', '2016-01-08 20:22:49', '2016-01-08 20:22:49', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2016-01-08 20:22:49', '2016-01-08 20:22:49', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-07 20:22:49.000000', '2016-01-08 20:22:49', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-08 20:22:49.000000', '2016-01-08 20:22:49', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-07 20:22:49.000000', '2016-01-08 20:22:49', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-08 20:22:49.000000', '2016-01-08 20:22:49', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2016-01-08 20:22:49', '2016-01-08 20:22:49', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2016-01-08 20:22:49', '2016-01-08 20:22:49', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2016-01-08 20:22:49', '2016-01-08 20:22:49', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2016-01-08 20:22:49', '2016-01-08 20:22:49', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2016-01-08 20:22:49', '2016-01-08 20:22:49', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2016-01-08 20:22:49', '2016-01-08 20:22:49', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2016-01-08 20:22:49', '2016-01-08 20:22:49', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2016-01-08 20:22:49', '2016-01-08 20:22:49', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2016-01-08 20:22:49', '2016-01-08 20:22:49', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2016-01-08 20:22:49', '2016-01-08 20:22:49', 809335042, 'SocialNetworking::Goal', 809335042)  (1.7ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:22:49 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.8ms) Completed 200 OK in 153ms (Views: 79.0ms | ActiveRecord: 6.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-08 14:22:50 -0600 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-08 14:22:50 -0600 SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2016-01-08 14:22:50 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Jan 08 2016", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2016-01-08 20:22:50.414242"], ["updated_at", "2016-01-08 20:22:50.419462"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 5.3ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:22:50 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.8ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:22:50 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.0ms) Completed 200 OK in 13ms (Views: 1.6ms | ActiveRecord: 1.5ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2016-01-08 14:22:50 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"Feb 05 2016", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2016-02-05"], ["updated_at", "2016-01-08 20:22:50.871623"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.4ms | ActiveRecord: 3.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:22:50 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 13ms (Views: 1.8ms | ActiveRecord: 1.6ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2016-01-08 14:22:51 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Jan 08 2016", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2016-01-08 20:22:51.070273"], ["updated_at", "2016-01-08 20:22:51.072742"], ["id", 809335042]]  (1.6ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:22:51.085682"], ["updated_at", "2016-01-08 20:22:51.085682"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 22ms (Views: 0.3ms | ActiveRecord: 3.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:22:51 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 15ms (Views: 2.1ms | ActiveRecord: 1.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:22:51 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"4 week goal", "isCompleted"=>false, "dueOn"=>"Feb 05 2016", "goal"=>{"description"=>"4 week goal"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "4 week goal"], ["due_on", "2016-02-05"], ["created_at", "2016-01-08 20:22:51.318009"], ["updated_at", "2016-01-08 20:22:51.318009"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:22:51.323319"], ["updated_at", "2016-01-08 20:22:51.323319"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:22:51 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.8ms) Completed 200 OK in 17ms (Views: 3.8ms | ActiveRecord: 1.6ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:22:51 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"1 week goal", "isCompleted"=>false, "dueOn"=>"Jan 15 2016", "goal"=>{"description"=>"1 week goal"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "1 week goal"], ["due_on", "2016-01-15"], ["created_at", "2016-01-08 20:22:51.552999"], ["updated_at", "2016-01-08 20:22:51.552999"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:22:51.558114"], ["updated_at", "2016-01-08 20:22:51.558114"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 4.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:22:51 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 18ms (Views: 1.8ms | ActiveRecord: 2.0ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:22:51 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"2 week goal", "isCompleted"=>false, "dueOn"=>"Jan 22 2016", "goal"=>{"description"=>"2 week goal"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "2 week goal"], ["due_on", "2016-01-22"], ["created_at", "2016-01-08 20:22:51.791563"], ["updated_at", "2016-01-08 20:22:51.791563"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:22:51.796317"], ["updated_at", "2016-01-08 20:22:51.796317"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:22:51 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 18ms (Views: 1.9ms | ActiveRecord: 2.2ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:22:52 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"When should I finish this?", "isCompleted"=>false, "dueOn"=>"", "goal"=>{"description"=>"When should I finish this?"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "When should I finish this?"], ["created_at", "2016-01-08 20:22:52.033288"], ["updated_at", "2016-01-08 20:22:52.033288"]]  (1.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:22:52.038725"], ["updated_at", "2016-01-08 20:22:52.038725"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:22:52 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 27ms (Views: 2.3ms | ActiveRecord: 2.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:22:52 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"the end!", "isCompleted"=>false, "dueOn"=>"Mar 04 2016", "goal"=>{"description"=>"the end!"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "the end!"], ["due_on", "2016-03-04"], ["created_at", "2016-01-08 20:22:52.285896"], ["updated_at", "2016-01-08 20:22:52.285896"]]  (1.5ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298883], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:22:52.292463"], ["updated_at", "2016-01-08 20:22:52.292463"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298883], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 3.6ms)  (0.2ms) ROLLBACK  (5.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.6ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2016-01-08 20:23:13', '2016-01-08 20:23:13', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2016-01-08', '2016-01-08 20:23:13', '2016-01-08 20:23:13', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2016-01-08 20:23:13.000000', '2016-01-08', '2016-01-08 20:23:13', '2016-01-08 20:23:13', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2016-01-08', '2016-01-08 20:23:13', '2016-01-08 20:23:13', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2016-01-08 20:23:13', '2016-01-08 20:23:13', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2016-01-08 20:23:13.000000', '2016-01-08', '2016-01-08 20:23:13', '2016-01-08 20:23:13', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2016-01-07', '2016-01-08 20:23:13', '2016-01-08 20:23:13', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2016-01-06', '2016-01-08 20:23:13', '2016-01-08 20:23:13', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2016-01-08 20:23:13.000000', '2016-01-08', '2016-01-08 20:23:13', '2016-01-08 20:23:13', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2016-01-08', '2016-01-08 20:23:13', '2016-01-08 20:23:13', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2016-01-08 20:23:13.000000', '2016-01-08', '2016-01-08 20:23:13', '2016-01-08 20:23:13', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2016-01-08', '2016-01-08 20:23:13', '2016-01-08 20:23:13', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2016-01-08 20:23:13.000000', '2016-01-08', '2016-01-08 20:23:13', '2016-01-08 20:23:13', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2016-01-08 20:23:13', '2016-01-08 20:23:13', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-07 20:23:13.000000', '2016-01-08 20:23:13', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-08 20:23:13.000000', '2016-01-08 20:23:13', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-07 20:23:13.000000', '2016-01-08 20:23:13', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-08 20:23:13.000000', '2016-01-08 20:23:13', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2016-01-08 20:23:13', '2016-01-08 20:23:13', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2016-01-08 20:23:13', '2016-01-08 20:23:13', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2016-01-08 20:23:13', '2016-01-08 20:23:13', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2016-01-08 20:23:13', '2016-01-08 20:23:13', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2016-01-08 20:23:13', '2016-01-08 20:23:13', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2016-01-08 20:23:13', '2016-01-08 20:23:13', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2016-01-08 20:23:13', '2016-01-08 20:23:13', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2016-01-08 20:23:13', '2016-01-08 20:23:13', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2016-01-08 20:23:13', '2016-01-08 20:23:13', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2016-01-08 20:23:13', '2016-01-08 20:23:13', 809335042, 'SocialNetworking::Goal', 809335042)  (1.6ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:23:14 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.3ms) Completed 200 OK in 145ms (Views: 78.0ms | ActiveRecord: 5.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-08 14:23:14 -0600 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-08 14:23:14 -0600  (0.3ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:23:14 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2016-01-08 14:23:15 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Jan 08 2016", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2016-01-08 20:23:15.027122"], ["updated_at", "2016-01-08 20:23:15.033518"], ["id", 809335042]]  (1.5ms) COMMIT  (0.4ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:23:15.046892"], ["updated_at", "2016-01-08 20:23:15.046892"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 28ms (Views: 0.3ms | ActiveRecord: 4.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:23:15 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 14ms (Views: 1.8ms | ActiveRecord: 1.6ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2016-01-08 14:23:15 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"Feb 05 2016", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2016-02-05"], ["updated_at", "2016-01-08 20:23:15.240843"], ["id", 53334230]]  (1.6ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:23:15 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 19ms (Views: 2.6ms | ActiveRecord: 2.4ms) SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2016-01-08 14:23:15 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Jan 08 2016", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2016-01-08 20:23:15.432769"], ["updated_at", "2016-01-08 20:23:15.437000"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:23:15 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.8ms | ActiveRecord: 1.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:23:15 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"1 week goal", "isCompleted"=>false, "dueOn"=>"Jan 15 2016", "goal"=>{"description"=>"1 week goal"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "1 week goal"], ["due_on", "2016-01-15"], ["created_at", "2016-01-08 20:23:15.801421"], ["updated_at", "2016-01-08 20:23:15.801421"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:23:15.806474"], ["updated_at", "2016-01-08 20:23:15.806474"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:23:15 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.7ms | ActiveRecord: 1.9ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:23:16 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"2 week goal", "isCompleted"=>false, "dueOn"=>"Jan 22 2016", "goal"=>{"description"=>"2 week goal"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "2 week goal"], ["due_on", "2016-01-22"], ["created_at", "2016-01-08 20:23:16.051508"], ["updated_at", "2016-01-08 20:23:16.051508"]]  (1.6ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:23:16.057214"], ["updated_at", "2016-01-08 20:23:16.057214"]]  (0.2ms) ROLLBACK  (0.6ms) COMMIT  (0.1ms) BEGIN SocialNetworking::Comment Load (1.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 5.1ms) Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:23:16 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 1.8ms | ActiveRecord: 1.8ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:23:16 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"When should I finish this?", "isCompleted"=>false, "dueOn"=>"", "goal"=>{"description"=>"When should I finish this?"}} Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "When should I finish this?"], ["created_at", "2016-01-08 20:23:16.231236"], ["updated_at", "2016-01-08 20:23:16.231236"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:23:16.236030"], ["updated_at", "2016-01-08 20:23:16.236030"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 3.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:23:16 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 23ms (Views: 2.0ms | ActiveRecord: 2.8ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:23:16 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"the end!", "isCompleted"=>false, "dueOn"=>"Mar 04 2016", "goal"=>{"description"=>"the end!"}} Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "the end!"], ["due_on", "2016-03-04"], ["created_at", "2016-01-08 20:23:16.473163"], ["updated_at", "2016-01-08 20:23:16.473163"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:23:16.477800"], ["updated_at", "2016-01-08 20:23:16.477800"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:23:16 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 25ms (Views: 2.2ms | ActiveRecord: 2.5ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:23:16 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"4 week goal", "isCompleted"=>false, "dueOn"=>"Feb 05 2016", "goal"=>{"description"=>"4 week goal"}} Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "4 week goal"], ["due_on", "2016-02-05"], ["created_at", "2016-01-08 20:23:16.726959"], ["updated_at", "2016-01-08 20:23:16.726959"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298883], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:23:16.732380"], ["updated_at", "2016-01-08 20:23:16.732380"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298883], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.4ms)  (0.2ms) ROLLBACK  (4.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2016-01-08 20:23:27', '2016-01-08 20:23:27', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2016-01-08', '2016-01-08 20:23:27', '2016-01-08 20:23:27', 809335042, 700141617) Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2016-01-08 20:23:27.000000', '2016-01-08', '2016-01-08 20:23:27', '2016-01-08 20:23:27', 576699391, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2016-01-08', '2016-01-08 20:23:27', '2016-01-08 20:23:27', 614371357, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2016-01-08 20:23:27', '2016-01-08 20:23:27', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2016-01-08 20:23:27.000000', '2016-01-08', '2016-01-08 20:23:27', '2016-01-08 20:23:27', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2016-01-07', '2016-01-08 20:23:27', '2016-01-08 20:23:27', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2016-01-06', '2016-01-08 20:23:27', '2016-01-08 20:23:27', 938656909, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2016-01-08 20:23:27.000000', '2016-01-08', '2016-01-08 20:23:27', '2016-01-08 20:23:27', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2016-01-08', '2016-01-08 20:23:27', '2016-01-08 20:23:27', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2016-01-08 20:23:27.000000', '2016-01-08', '2016-01-08 20:23:27', '2016-01-08 20:23:27', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2016-01-08', '2016-01-08 20:23:27', '2016-01-08 20:23:27', 318784238, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2016-01-08 20:23:27.000000', '2016-01-08', '2016-01-08 20:23:27', '2016-01-08 20:23:27', 16804933, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2016-01-08 20:23:27', '2016-01-08 20:23:27', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-07 20:23:27.000000', '2016-01-08 20:23:27', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-08 20:23:27.000000', '2016-01-08 20:23:27', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-07 20:23:27.000000', '2016-01-08 20:23:27', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-08 20:23:27.000000', '2016-01-08 20:23:27', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2016-01-08 20:23:27', '2016-01-08 20:23:27', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2016-01-08 20:23:27', '2016-01-08 20:23:27', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2016-01-08 20:23:27', '2016-01-08 20:23:27', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2016-01-08 20:23:27', '2016-01-08 20:23:27', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2016-01-08 20:23:27', '2016-01-08 20:23:27', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2016-01-08 20:23:27', '2016-01-08 20:23:27', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2016-01-08 20:23:27', '2016-01-08 20:23:27', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2016-01-08 20:23:27', '2016-01-08 20:23:27', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2016-01-08 20:23:27', '2016-01-08 20:23:27', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2016-01-08 20:23:27', '2016-01-08 20:23:27', 809335042, 'SocialNetworking::Goal', 809335042)  (1.7ms) COMMIT  (2.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:23:28 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (6.8ms) Completed 200 OK in 154ms (Views: 84.5ms | ActiveRecord: 6.6ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-08 14:23:28 -0600 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-08 14:23:28 -0600  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:23:28 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 16ms (Views: 1.8ms | ActiveRecord: 2.2ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2016-01-08 14:23:29 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Jan 08 2016", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.7ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.9ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2016-01-08 20:23:29.067714"], ["updated_at", "2016-01-08 20:23:29.074484"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 4.4ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:23:29 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 16ms (Views: 1.8ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2016-01-08 14:23:29 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"Feb 05 2016", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2016-02-05"], ["updated_at", "2016-01-08 20:23:29.402116"], ["id", 53334230]]  (1.6ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.4ms | ActiveRecord: 3.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:23:29 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 18ms (Views: 1.6ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2016-01-08 14:23:29 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Jan 08 2016", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2016-01-08 20:23:29.702672"], ["updated_at", "2016-01-08 20:23:29.705160"], ["id", 809335042]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:23:29.717082"], ["updated_at", "2016-01-08 20:23:29.717082"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 21ms (Views: 0.3ms | ActiveRecord: 3.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:23:29 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 19ms (Views: 2.6ms | ActiveRecord: 1.9ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:23:30 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"4 week goal", "isCompleted"=>false, "dueOn"=>"Feb 05 2016", "goal"=>{"description"=>"4 week goal"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.9ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "4 week goal"], ["due_on", "2016-02-05"], ["created_at", "2016-01-08 20:23:30.063209"], ["updated_at", "2016-01-08 20:23:30.063209"]]  (1.6ms) COMMIT  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:23:30.069774"], ["updated_at", "2016-01-08 20:23:30.069774"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 4.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:23:30 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 1.8ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:23:30 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"the end!", "isCompleted"=>false, "dueOn"=>"Mar 04 2016", "goal"=>{"description"=>"the end!"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "the end!"], ["due_on", "2016-03-04"], ["created_at", "2016-01-08 20:23:30.311563"], ["updated_at", "2016-01-08 20:23:30.311563"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:23:30.316675"], ["updated_at", "2016-01-08 20:23:30.316675"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:23:30 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 21ms (Views: 1.9ms | ActiveRecord: 2.4ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:23:30 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"1 week goal", "isCompleted"=>false, "dueOn"=>"Jan 15 2016", "goal"=>{"description"=>"1 week goal"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "1 week goal"], ["due_on", "2016-01-15"], ["created_at", "2016-01-08 20:23:30.556686"], ["updated_at", "2016-01-08 20:23:30.556686"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:23:30.561272"], ["updated_at", "2016-01-08 20:23:30.561272"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.6ms | ActiveRecord: 3.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:23:30 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.1ms) Completed 200 OK in 22ms (Views: 3.0ms | ActiveRecord: 2.3ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:23:30 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"When should I finish this?", "isCompleted"=>false, "dueOn"=>"", "goal"=>{"description"=>"When should I finish this?"}} Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "When should I finish this?"], ["created_at", "2016-01-08 20:23:30.789039"], ["updated_at", "2016-01-08 20:23:30.789039"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:23:30.793883"], ["updated_at", "2016-01-08 20:23:30.793883"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:23:30 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 19ms (Views: 2.1ms | ActiveRecord: 2.0ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:23:31 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"2 week goal", "isCompleted"=>false, "dueOn"=>"Jan 22 2016", "goal"=>{"description"=>"2 week goal"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "2 week goal"], ["due_on", "2016-01-22"], ["created_at", "2016-01-08 20:23:31.021696"], ["updated_at", "2016-01-08 20:23:31.021696"]]  (6.9ms) COMMIT  (1.6ms) BEGIN SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298883], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:23:31.039627"], ["updated_at", "2016-01-08 20:23:31.039627"]]  (5.9ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298883], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 34ms (Views: 0.6ms | ActiveRecord: 16.8ms)  (0.3ms) ROLLBACK  (4.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2016-01-08 20:23:57', '2016-01-08 20:23:57', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2016-01-08', '2016-01-08 20:23:57', '2016-01-08 20:23:57', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2016-01-08 20:23:57.000000', '2016-01-08', '2016-01-08 20:23:57', '2016-01-08 20:23:57', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2016-01-08', '2016-01-08 20:23:57', '2016-01-08 20:23:57', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2016-01-08 20:23:57', '2016-01-08 20:23:57', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2016-01-08 20:23:57.000000', '2016-01-08', '2016-01-08 20:23:57', '2016-01-08 20:23:57', 916373174, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2016-01-07', '2016-01-08 20:23:57', '2016-01-08 20:23:57', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2016-01-06', '2016-01-08 20:23:57', '2016-01-08 20:23:57', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2016-01-08 20:23:57.000000', '2016-01-08', '2016-01-08 20:23:57', '2016-01-08 20:23:57', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2016-01-08', '2016-01-08 20:23:57', '2016-01-08 20:23:57', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2016-01-08 20:23:57.000000', '2016-01-08', '2016-01-08 20:23:57', '2016-01-08 20:23:57', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2016-01-08', '2016-01-08 20:23:57', '2016-01-08 20:23:57', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2016-01-08 20:23:57.000000', '2016-01-08', '2016-01-08 20:23:57', '2016-01-08 20:23:57', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2016-01-08 20:23:57', '2016-01-08 20:23:57', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-07 20:23:57.000000', '2016-01-08 20:23:57', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-08 20:23:57.000000', '2016-01-08 20:23:57', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-07 20:23:57.000000', '2016-01-08 20:23:57', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-08 20:23:57.000000', '2016-01-08 20:23:57', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2016-01-08 20:23:57', '2016-01-08 20:23:57', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2016-01-08 20:23:57', '2016-01-08 20:23:57', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2016-01-08 20:23:57', '2016-01-08 20:23:57', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2016-01-08 20:23:57', '2016-01-08 20:23:57', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2016-01-08 20:23:57', '2016-01-08 20:23:57', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2016-01-08 20:23:57', '2016-01-08 20:23:57', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2016-01-08 20:23:57', '2016-01-08 20:23:57', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2016-01-08 20:23:57', '2016-01-08 20:23:57', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2016-01-08 20:23:57', '2016-01-08 20:23:57', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2016-01-08 20:23:57', '2016-01-08 20:23:57', 809335042, 'SocialNetworking::Goal', 809335042)  (1.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:23:58 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.6ms) Completed 200 OK in 144ms (Views: 73.6ms | ActiveRecord: 7.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-08 14:23:58 -0600 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-08 14:23:58 -0600 SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2016-01-08 14:23:58 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Jan 08 2016", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2016-01-08 20:23:58.857898"], ["updated_at", "2016-01-08 20:23:58.863119"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 5.6ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:23:58 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 15ms (Views: 2.0ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2016-01-08 14:23:59 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"Feb 05 2016", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.7ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2016-02-05"], ["updated_at", "2016-01-08 20:23:59.093750"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:23:59 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 19ms (Views: 1.7ms | ActiveRecord: 2.2ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2016-01-08 14:23:59 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Jan 08 2016", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2016-01-08 20:23:59.289705"], ["updated_at", "2016-01-08 20:23:59.292371"], ["id", 809335042]]  (1.3ms) COMMIT  (0.5ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:23:59.304921"], ["updated_at", "2016-01-08 20:23:59.304921"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 22ms (Views: 0.3ms | ActiveRecord: 4.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:23:59 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 16ms (Views: 1.8ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:23:59 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 13ms (Views: 1.7ms | ActiveRecord: 1.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:23:59 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"the end!", "isCompleted"=>false, "dueOn"=>"Mar 04 2016", "goal"=>{"description"=>"the end!"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "the end!"], ["due_on", "2016-03-04"], ["created_at", "2016-01-08 20:23:59.665004"], ["updated_at", "2016-01-08 20:23:59.665004"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:23:59.670380"], ["updated_at", "2016-01-08 20:23:59.670380"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 4.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:23:59 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.5ms) Completed 200 OK in 17ms (Views: 3.8ms | ActiveRecord: 1.8ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:23:59 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"4 week goal", "isCompleted"=>false, "dueOn"=>"Feb 05 2016", "goal"=>{"description"=>"4 week goal"}} Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "4 week goal"], ["due_on", "2016-02-05"], ["created_at", "2016-01-08 20:23:59.919194"], ["updated_at", "2016-01-08 20:23:59.919194"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:23:59.925907"], ["updated_at", "2016-01-08 20:23:59.925907"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 4.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:23:59 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 19ms (Views: 2.0ms | ActiveRecord: 2.3ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:24:00 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"1 week goal", "isCompleted"=>false, "dueOn"=>"Jan 15 2016", "goal"=>{"description"=>"1 week goal"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "1 week goal"], ["due_on", "2016-01-15"], ["created_at", "2016-01-08 20:24:00.165646"], ["updated_at", "2016-01-08 20:24:00.165646"]]  (1.6ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:24:00.171038"], ["updated_at", "2016-01-08 20:24:00.171038"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:24:00 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 19ms (Views: 2.1ms | ActiveRecord: 2.0ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:24:00 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"2 week goal", "isCompleted"=>false, "dueOn"=>"Jan 22 2016", "goal"=>{"description"=>"2 week goal"}} Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "2 week goal"], ["due_on", "2016-01-22"], ["created_at", "2016-01-08 20:24:00.403060"], ["updated_at", "2016-01-08 20:24:00.403060"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:24:00.408180"], ["updated_at", "2016-01-08 20:24:00.408180"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:24:00 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.8ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (1.0ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.9ms) Completed 200 OK in 39ms (Views: 4.1ms | ActiveRecord: 5.4ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:24:00 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"When should I finish this?", "isCompleted"=>false, "dueOn"=>"", "goal"=>{"description"=>"When should I finish this?"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.7ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "When should I finish this?"], ["created_at", "2016-01-08 20:24:00.809388"], ["updated_at", "2016-01-08 20:24:00.809388"]]  (1.5ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298883], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:24:00.817217"], ["updated_at", "2016-01-08 20:24:00.817217"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298883], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 4.1ms)  (0.2ms) ROLLBACK  (3.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2016-01-08 20:26:34', '2016-01-08 20:26:34', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2016-01-08', '2016-01-08 20:26:34', '2016-01-08 20:26:34', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2016-01-08 20:26:34.000000', '2016-01-08', '2016-01-08 20:26:34', '2016-01-08 20:26:34', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2016-01-08', '2016-01-08 20:26:34', '2016-01-08 20:26:34', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2016-01-08 20:26:34', '2016-01-08 20:26:34', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2016-01-08 20:26:34.000000', '2016-01-08', '2016-01-08 20:26:34', '2016-01-08 20:26:34', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2016-01-07', '2016-01-08 20:26:34', '2016-01-08 20:26:34', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2016-01-06', '2016-01-08 20:26:34', '2016-01-08 20:26:34', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2016-01-08 20:26:34.000000', '2016-01-08', '2016-01-08 20:26:34', '2016-01-08 20:26:34', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2016-01-08', '2016-01-08 20:26:34', '2016-01-08 20:26:34', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2016-01-08 20:26:34.000000', '2016-01-08', '2016-01-08 20:26:34', '2016-01-08 20:26:34', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2016-01-08', '2016-01-08 20:26:34', '2016-01-08 20:26:34', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2016-01-08 20:26:34.000000', '2016-01-08', '2016-01-08 20:26:34', '2016-01-08 20:26:34', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2016-01-08 20:26:34', '2016-01-08 20:26:34', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-07 20:26:34.000000', '2016-01-08 20:26:34', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-08 20:26:34.000000', '2016-01-08 20:26:34', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-07 20:26:34.000000', '2016-01-08 20:26:34', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-08 20:26:34.000000', '2016-01-08 20:26:34', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2016-01-08 20:26:34', '2016-01-08 20:26:34', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2016-01-08 20:26:34', '2016-01-08 20:26:34', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2016-01-08 20:26:34', '2016-01-08 20:26:34', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2016-01-08 20:26:34', '2016-01-08 20:26:34', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2016-01-08 20:26:34', '2016-01-08 20:26:34', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2016-01-08 20:26:34', '2016-01-08 20:26:34', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2016-01-08 20:26:34', '2016-01-08 20:26:34', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2016-01-08 20:26:34', '2016-01-08 20:26:34', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2016-01-08 20:26:34', '2016-01-08 20:26:34', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2016-01-08 20:26:34', '2016-01-08 20:26:34', 809335042, 'SocialNetworking::Goal', 809335042)  (1.6ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:26:34 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.7ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.1ms) Completed 200 OK in 146ms (Views: 78.4ms | ActiveRecord: 6.1ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-08 14:26:34 -0600 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-08 14:26:34 -0600 SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2016-01-08 14:26:35 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Jan 08 2016", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2016-01-08 20:26:35.246188"], ["updated_at", "2016-01-08 20:26:35.252258"], ["id", 809335042]]  (1.5ms) COMMIT  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:26:35.264937"], ["updated_at", "2016-01-08 20:26:35.264937"]]  (0.8ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 28ms (Views: 0.3ms | ActiveRecord: 8.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:26:35 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.8ms) Completed 200 OK in 19ms (Views: 2.8ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:26:35 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 16ms (Views: 1.8ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2016-01-08 14:26:35 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"Feb 05 2016", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2016-02-05"], ["updated_at", "2016-01-08 20:26:35.688953"], ["id", 53334230]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 3.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:26:35 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 18ms (Views: 2.6ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2016-01-08 14:26:35 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Jan 08 2016", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2016-01-08 20:26:35.883882"], ["updated_at", "2016-01-08 20:26:35.887350"], ["id", 614371357]]  (1.9ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 4.2ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:26:35 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 18ms (Views: 2.5ms | ActiveRecord: 2.3ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:26:36 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"1 week goal", "isCompleted"=>false, "dueOn"=>"Jan 15 2016", "goal"=>{"description"=>"1 week goal"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "1 week goal"], ["due_on", "2016-01-15"], ["created_at", "2016-01-08 20:26:36.248948"], ["updated_at", "2016-01-08 20:26:36.248948"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:26:36.254080"], ["updated_at", "2016-01-08 20:26:36.254080"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 3.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:26:36 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 20ms (Views: 2.2ms | ActiveRecord: 2.4ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:26:36 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"2 week goal", "isCompleted"=>false, "dueOn"=>"Jan 22 2016", "goal"=>{"description"=>"2 week goal"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "2 week goal"], ["due_on", "2016-01-22"], ["created_at", "2016-01-08 20:26:36.493581"], ["updated_at", "2016-01-08 20:26:36.493581"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:26:36.499591"], ["updated_at", "2016-01-08 20:26:36.499591"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.6ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:26:36 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.2ms) Completed 200 OK in 24ms (Views: 3.3ms | ActiveRecord: 2.6ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:26:36 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"When should I finish this?", "isCompleted"=>false, "dueOn"=>"", "goal"=>{"description"=>"When should I finish this?"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.9ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "When should I finish this?"], ["created_at", "2016-01-08 20:26:36.854694"], ["updated_at", "2016-01-08 20:26:36.854694"]]  (0.6ms) COMMIT  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:26:36.862431"], ["updated_at", "2016-01-08 20:26:36.862431"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 20ms (Views: 0.4ms | ActiveRecord: 3.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:26:36 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 21ms (Views: 2.2ms | ActiveRecord: 2.4ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:26:37 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"4 week goal", "isCompleted"=>false, "dueOn"=>"Feb 05 2016", "goal"=>{"description"=>"4 week goal"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "4 week goal"], ["due_on", "2016-02-05"], ["created_at", "2016-01-08 20:26:37.198196"], ["updated_at", "2016-01-08 20:26:37.198196"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:26:37.203016"], ["updated_at", "2016-01-08 20:26:37.203016"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:26:37 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.4ms) Completed 200 OK in 23ms (Views: 4.6ms | ActiveRecord: 2.3ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:26:37 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"the end!", "isCompleted"=>false, "dueOn"=>"Mar 04 2016", "goal"=>{"description"=>"the end!"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "the end!"], ["due_on", "2016-03-04"], ["created_at", "2016-01-08 20:26:37.548888"], ["updated_at", "2016-01-08 20:26:37.548888"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298883], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:26:37.553736"], ["updated_at", "2016-01-08 20:26:37.553736"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298883], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.5ms)  (0.2ms) ROLLBACK  (2.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2016-01-08 20:27:20', '2016-01-08 20:27:20', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.6ms) DELETE FROM "social_networking_goals" Fixture Insert (0.4ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2016-01-08', '2016-01-08 20:27:20', '2016-01-08 20:27:20', 809335042, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2016-01-08 20:27:20.000000', '2016-01-08', '2016-01-08 20:27:20', '2016-01-08 20:27:20', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2016-01-08', '2016-01-08 20:27:20', '2016-01-08 20:27:20', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2016-01-08 20:27:20', '2016-01-08 20:27:20', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2016-01-08 20:27:20.000000', '2016-01-08', '2016-01-08 20:27:20', '2016-01-08 20:27:20', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2016-01-07', '2016-01-08 20:27:20', '2016-01-08 20:27:20', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2016-01-06', '2016-01-08 20:27:20', '2016-01-08 20:27:20', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2016-01-08 20:27:20.000000', '2016-01-08', '2016-01-08 20:27:20', '2016-01-08 20:27:20', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2016-01-08', '2016-01-08 20:27:20', '2016-01-08 20:27:20', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2016-01-08 20:27:20.000000', '2016-01-08', '2016-01-08 20:27:20', '2016-01-08 20:27:20', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2016-01-08', '2016-01-08 20:27:20', '2016-01-08 20:27:20', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2016-01-08 20:27:20.000000', '2016-01-08', '2016-01-08 20:27:20', '2016-01-08 20:27:20', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2016-01-08 20:27:20', '2016-01-08 20:27:20', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-07 20:27:20.000000', '2016-01-08 20:27:20', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-08 20:27:20.000000', '2016-01-08 20:27:20', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-07 20:27:20.000000', '2016-01-08 20:27:20', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-08 20:27:20.000000', '2016-01-08 20:27:20', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2016-01-08 20:27:20', '2016-01-08 20:27:20', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2016-01-08 20:27:20', '2016-01-08 20:27:20', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2016-01-08 20:27:20', '2016-01-08 20:27:20', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2016-01-08 20:27:20', '2016-01-08 20:27:20', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2016-01-08 20:27:20', '2016-01-08 20:27:20', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2016-01-08 20:27:20', '2016-01-08 20:27:20', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2016-01-08 20:27:20', '2016-01-08 20:27:20', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2016-01-08 20:27:20', '2016-01-08 20:27:20', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2016-01-08 20:27:20', '2016-01-08 20:27:20', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2016-01-08 20:27:20', '2016-01-08 20:27:20', 809335042, 'SocialNetworking::Goal', 809335042)  (1.7ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:27:20 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.6ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (6.2ms) Completed 200 OK in 166ms (Views: 86.0ms | ActiveRecord: 8.5ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-08 14:27:21 -0600 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-08 14:27:21 -0600 SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2016-01-08 14:27:21 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"Feb 05 2016", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2016-02-05"], ["updated_at", "2016-01-08 20:27:21.398546"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 5.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:27:21 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 20ms (Views: 2.6ms | ActiveRecord: 2.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:27:21 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 13ms (Views: 1.8ms | ActiveRecord: 1.5ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2016-01-08 14:27:21 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Jan 08 2016", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2016-01-08 20:27:21.810486"], ["updated_at", "2016-01-08 20:27:21.813325"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:27:21 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 16ms (Views: 1.9ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2016-01-08 14:27:21 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Jan 08 2016", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2016-01-08 20:27:21.974172"], ["updated_at", "2016-01-08 20:27:21.976835"], ["id", 809335042]]  (1.3ms) COMMIT  (0.4ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:27:21.989451"], ["updated_at", "2016-01-08 20:27:21.989451"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 22ms (Views: 0.3ms | ActiveRecord: 4.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:27:22 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 15ms (Views: 1.7ms | ActiveRecord: 1.8ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:27:22 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"2 week goal", "isCompleted"=>false, "dueOn"=>"Jan 22 2016", "goal"=>{"description"=>"2 week goal"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "2 week goal"], ["due_on", "2016-01-22"], ["created_at", "2016-01-08 20:27:22.343977"], ["updated_at", "2016-01-08 20:27:22.343977"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:27:22.349144"], ["updated_at", "2016-01-08 20:27:22.349144"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]]  (0.2ms) ROLLBACK Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 4.0ms)  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:27:22 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.0ms) Completed 200 OK in 18ms (Views: 3.0ms | ActiveRecord: 2.1ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:27:22 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"the end!", "isCompleted"=>false, "dueOn"=>"Mar 04 2016", "goal"=>{"description"=>"the end!"}} Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "the end!"], ["due_on", "2016-03-04"], ["created_at", "2016-01-08 20:27:22.535142"], ["updated_at", "2016-01-08 20:27:22.535142"]]  (1.6ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:27:22.541758"], ["updated_at", "2016-01-08 20:27:22.541758"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:27:22 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 2.0ms | ActiveRecord: 1.8ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:27:22 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"1 week goal", "isCompleted"=>false, "dueOn"=>"Jan 15 2016", "goal"=>{"description"=>"1 week goal"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "1 week goal"], ["due_on", "2016-01-15"], ["created_at", "2016-01-08 20:27:22.772912"], ["updated_at", "2016-01-08 20:27:22.772912"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:27:22.779513"], ["updated_at", "2016-01-08 20:27:22.779513"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 3.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:27:22 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 21ms (Views: 2.1ms | ActiveRecord: 2.2ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:27:23 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"When should I finish this?", "isCompleted"=>false, "dueOn"=>"", "goal"=>{"description"=>"When should I finish this?"}} Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "When should I finish this?"], ["created_at", "2016-01-08 20:27:23.018171"], ["updated_at", "2016-01-08 20:27:23.018171"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:27:23.023289"], ["updated_at", "2016-01-08 20:27:23.023289"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:27:23 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 20ms (Views: 2.4ms | ActiveRecord: 2.4ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:27:23 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"4 week goal", "isCompleted"=>false, "dueOn"=>"Feb 05 2016", "goal"=>{"description"=>"4 week goal"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.7ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "4 week goal"], ["due_on", "2016-02-05"], ["created_at", "2016-01-08 20:27:23.260692"], ["updated_at", "2016-01-08 20:27:23.260692"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298883], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:27:23.266543"], ["updated_at", "2016-01-08 20:27:23.266543"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298883], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 4.2ms)  (0.1ms) ROLLBACK  (5.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2016-01-08 20:27:32', '2016-01-08 20:27:32', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2016-01-08', '2016-01-08 20:27:32', '2016-01-08 20:27:32', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2016-01-08 20:27:32.000000', '2016-01-08', '2016-01-08 20:27:32', '2016-01-08 20:27:32', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2016-01-08', '2016-01-08 20:27:32', '2016-01-08 20:27:32', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2016-01-08 20:27:32', '2016-01-08 20:27:32', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2016-01-08 20:27:32.000000', '2016-01-08', '2016-01-08 20:27:32', '2016-01-08 20:27:32', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2016-01-07', '2016-01-08 20:27:32', '2016-01-08 20:27:32', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2016-01-06', '2016-01-08 20:27:32', '2016-01-08 20:27:32', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2016-01-08 20:27:32.000000', '2016-01-08', '2016-01-08 20:27:32', '2016-01-08 20:27:32', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2016-01-08', '2016-01-08 20:27:32', '2016-01-08 20:27:32', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2016-01-08 20:27:32.000000', '2016-01-08', '2016-01-08 20:27:32', '2016-01-08 20:27:32', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2016-01-08', '2016-01-08 20:27:32', '2016-01-08 20:27:32', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2016-01-08 20:27:32.000000', '2016-01-08', '2016-01-08 20:27:32', '2016-01-08 20:27:32', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2016-01-08 20:27:32', '2016-01-08 20:27:32', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-07 20:27:32.000000', '2016-01-08 20:27:32', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-08 20:27:32.000000', '2016-01-08 20:27:32', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-07 20:27:32.000000', '2016-01-08 20:27:32', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-08 20:27:32.000000', '2016-01-08 20:27:32', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2016-01-08 20:27:32', '2016-01-08 20:27:32', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2016-01-08 20:27:32', '2016-01-08 20:27:32', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2016-01-08 20:27:32', '2016-01-08 20:27:32', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2016-01-08 20:27:32', '2016-01-08 20:27:32', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2016-01-08 20:27:32', '2016-01-08 20:27:32', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2016-01-08 20:27:32', '2016-01-08 20:27:32', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2016-01-08 20:27:32', '2016-01-08 20:27:32', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2016-01-08 20:27:32', '2016-01-08 20:27:32', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2016-01-08 20:27:32', '2016-01-08 20:27:32', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2016-01-08 20:27:32', '2016-01-08 20:27:32', 809335042, 'SocialNetworking::Goal', 809335042)  (1.6ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:27:32 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.0ms) Completed 200 OK in 152ms (Views: 84.1ms | ActiveRecord: 5.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-08 14:27:32 -0600 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-08 14:27:32 -0600 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2016-01-08 14:27:33 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Jan 08 2016", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2016-01-08 20:27:33.178943"], ["updated_at", "2016-01-08 20:27:33.184082"], ["id", 614371357]]  (1.6ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 5.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:27:33 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:27:33 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.3ms) Completed 200 OK in 15ms (Views: 3.4ms | ActiveRecord: 1.6ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2016-01-08 14:27:33 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"Feb 05 2016", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2016-02-05"], ["updated_at", "2016-01-08 20:27:33.519687"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 2.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:27:33 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 13ms (Views: 1.8ms | ActiveRecord: 1.6ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2016-01-08 14:27:33 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Jan 08 2016", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2016-01-08 20:27:33.722825"], ["updated_at", "2016-01-08 20:27:33.725424"], ["id", 809335042]]  (1.3ms) COMMIT  (0.5ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:27:33.737736"], ["updated_at", "2016-01-08 20:27:33.737736"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 22ms (Views: 0.3ms | ActiveRecord: 3.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:27:33 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 20ms (Views: 2.6ms | ActiveRecord: 2.6ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:27:33 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"4 week goal", "isCompleted"=>false, "dueOn"=>"Feb 05 2016", "goal"=>{"description"=>"4 week goal"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "4 week goal"], ["due_on", "2016-02-05"], ["created_at", "2016-01-08 20:27:33.978398"], ["updated_at", "2016-01-08 20:27:33.978398"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:27:33.983505"], ["updated_at", "2016-01-08 20:27:33.983505"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 4.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:27:34 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 21ms (Views: 1.9ms | ActiveRecord: 2.3ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:27:34 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"the end!", "isCompleted"=>false, "dueOn"=>"Mar 04 2016", "goal"=>{"description"=>"the end!"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "the end!"], ["due_on", "2016-03-04"], ["created_at", "2016-01-08 20:27:34.225599"], ["updated_at", "2016-01-08 20:27:34.225599"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:27:34.230813"], ["updated_at", "2016-01-08 20:27:34.230813"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 3.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:27:34 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.9ms) Completed 200 OK in 22ms (Views: 2.6ms | ActiveRecord: 2.3ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:27:34 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"1 week goal", "isCompleted"=>false, "dueOn"=>"Jan 15 2016", "goal"=>{"description"=>"1 week goal"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "1 week goal"], ["due_on", "2016-01-15"], ["created_at", "2016-01-08 20:27:34.574494"], ["updated_at", "2016-01-08 20:27:34.574494"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:27:34.579052"], ["updated_at", "2016-01-08 20:27:34.579052"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:27:34 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 17ms (Views: 2.2ms | ActiveRecord: 1.9ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:27:34 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"When should I finish this?", "isCompleted"=>false, "dueOn"=>"", "goal"=>{"description"=>"When should I finish this?"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "When should I finish this?"], ["created_at", "2016-01-08 20:27:34.823537"], ["updated_at", "2016-01-08 20:27:34.823537"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:27:34.828270"], ["updated_at", "2016-01-08 20:27:34.828270"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.2ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:27:34 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.1ms) Completed 200 OK in 22ms (Views: 4.3ms | ActiveRecord: 2.3ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:27:35 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"2 week goal", "isCompleted"=>false, "dueOn"=>"Jan 22 2016", "goal"=>{"description"=>"2 week goal"}} Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (1.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "2 week goal"], ["due_on", "2016-01-22"], ["created_at", "2016-01-08 20:27:35.078289"], ["updated_at", "2016-01-08 20:27:35.078289"]]  (1.6ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298883], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:27:35.085352"], ["updated_at", "2016-01-08 20:27:35.085352"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298883], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 4.7ms)  (0.2ms) ROLLBACK  (4.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2016-01-08 20:27:58', '2016-01-08 20:27:58', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2016-01-08', '2016-01-08 20:27:58', '2016-01-08 20:27:58', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2016-01-08 20:27:58.000000', '2016-01-08', '2016-01-08 20:27:58', '2016-01-08 20:27:58', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2016-01-08', '2016-01-08 20:27:58', '2016-01-08 20:27:58', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2016-01-08 20:27:58', '2016-01-08 20:27:58', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2016-01-08 20:27:58.000000', '2016-01-08', '2016-01-08 20:27:58', '2016-01-08 20:27:58', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2016-01-07', '2016-01-08 20:27:58', '2016-01-08 20:27:58', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2016-01-06', '2016-01-08 20:27:58', '2016-01-08 20:27:58', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2016-01-08 20:27:58.000000', '2016-01-08', '2016-01-08 20:27:58', '2016-01-08 20:27:58', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2016-01-08', '2016-01-08 20:27:58', '2016-01-08 20:27:58', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2016-01-08 20:27:58.000000', '2016-01-08', '2016-01-08 20:27:58', '2016-01-08 20:27:58', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2016-01-08', '2016-01-08 20:27:58', '2016-01-08 20:27:58', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2016-01-08 20:27:58.000000', '2016-01-08', '2016-01-08 20:27:58', '2016-01-08 20:27:58', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2016-01-08 20:27:58', '2016-01-08 20:27:58', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-07 20:27:58.000000', '2016-01-08 20:27:58', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-08 20:27:58.000000', '2016-01-08 20:27:58', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-07 20:27:58.000000', '2016-01-08 20:27:58', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-08 20:27:58.000000', '2016-01-08 20:27:58', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2016-01-08 20:27:58', '2016-01-08 20:27:58', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2016-01-08 20:27:58', '2016-01-08 20:27:58', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2016-01-08 20:27:58', '2016-01-08 20:27:58', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2016-01-08 20:27:58', '2016-01-08 20:27:58', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2016-01-08 20:27:58', '2016-01-08 20:27:58', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2016-01-08 20:27:58', '2016-01-08 20:27:58', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2016-01-08 20:27:58', '2016-01-08 20:27:58', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2016-01-08 20:27:58', '2016-01-08 20:27:58', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2016-01-08 20:27:58', '2016-01-08 20:27:58', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2016-01-08 20:27:58', '2016-01-08 20:27:58', 809335042, 'SocialNetworking::Goal', 809335042)  (1.5ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.4ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:27:59 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.7ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.0ms) Completed 200 OK in 160ms (Views: 89.0ms | ActiveRecord: 6.2ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-08 14:27:59 -0600 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-08 14:27:59 -0600 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2016-01-08 14:27:59 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Jan 08 2016", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2016-01-08 20:27:59.905935"], ["updated_at", "2016-01-08 20:27:59.911049"], ["id", 809335042]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:27:59.924773"], ["updated_at", "2016-01-08 20:27:59.924773"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 26ms (Views: 0.3ms | ActiveRecord: 6.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:27:59 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 15ms (Views: 1.7ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:28:00 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 16ms (Views: 1.9ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2016-01-08 14:28:00 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"Feb 05 2016", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2016-02-05"], ["updated_at", "2016-01-08 20:28:00.334449"], ["id", 53334230]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:28:00 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 19ms (Views: 2.6ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2016-01-08 14:28:00 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Jan 08 2016", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2016-01-08 20:28:00.621179"], ["updated_at", "2016-01-08 20:28:00.623922"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:28:00 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 1.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:28:00 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"2 week goal", "isCompleted"=>false, "dueOn"=>"Jan 22 2016", "goal"=>{"description"=>"2 week goal"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "2 week goal"], ["due_on", "2016-01-22"], ["created_at", "2016-01-08 20:28:00.865671"], ["updated_at", "2016-01-08 20:28:00.865671"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:28:00.871251"], ["updated_at", "2016-01-08 20:28:00.871251"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:28:00 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 16ms (Views: 1.8ms | ActiveRecord: 2.0ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:28:01 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"1 week goal", "isCompleted"=>false, "dueOn"=>"Jan 15 2016", "goal"=>{"description"=>"1 week goal"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "1 week goal"], ["due_on", "2016-01-15"], ["created_at", "2016-01-08 20:28:01.099562"], ["updated_at", "2016-01-08 20:28:01.099562"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:28:01.105277"], ["updated_at", "2016-01-08 20:28:01.105277"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:28:01 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 18ms (Views: 2.1ms | ActiveRecord: 2.1ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:28:01 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"When should I finish this?", "isCompleted"=>false, "dueOn"=>"", "goal"=>{"description"=>"When should I finish this?"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "When should I finish this?"], ["created_at", "2016-01-08 20:28:01.332871"], ["updated_at", "2016-01-08 20:28:01.332871"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:28:01.338191"], ["updated_at", "2016-01-08 20:28:01.338191"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:28:01 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 19ms (Views: 2.2ms | ActiveRecord: 2.1ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:28:01 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"the end!", "isCompleted"=>false, "dueOn"=>"Mar 04 2016", "goal"=>{"description"=>"the end!"}} Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "the end!"], ["due_on", "2016-03-04"], ["created_at", "2016-01-08 20:28:01.565848"], ["updated_at", "2016-01-08 20:28:01.565848"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:28:01.570708"], ["updated_at", "2016-01-08 20:28:01.570708"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 3.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:28:01 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 20ms (Views: 2.4ms | ActiveRecord: 2.3ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:28:01 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"4 week goal", "isCompleted"=>false, "dueOn"=>"Feb 05 2016", "goal"=>{"description"=>"4 week goal"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "4 week goal"], ["due_on", "2016-02-05"], ["created_at", "2016-01-08 20:28:01.816179"], ["updated_at", "2016-01-08 20:28:01.816179"]]  (1.6ms) COMMIT  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298883], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:28:01.821647"], ["updated_at", "2016-01-08 20:28:01.821647"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298883], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 4.0ms)  (0.2ms) ROLLBACK  (3.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2016-01-08 20:28:18', '2016-01-08 20:28:18', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2016-01-08', '2016-01-08 20:28:18', '2016-01-08 20:28:18', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2016-01-08 20:28:18.000000', '2016-01-08', '2016-01-08 20:28:18', '2016-01-08 20:28:18', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2016-01-08', '2016-01-08 20:28:18', '2016-01-08 20:28:18', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2016-01-08 20:28:18', '2016-01-08 20:28:18', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2016-01-08 20:28:18.000000', '2016-01-08', '2016-01-08 20:28:18', '2016-01-08 20:28:18', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2016-01-07', '2016-01-08 20:28:18', '2016-01-08 20:28:18', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2016-01-06', '2016-01-08 20:28:18', '2016-01-08 20:28:18', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2016-01-08 20:28:18.000000', '2016-01-08', '2016-01-08 20:28:18', '2016-01-08 20:28:18', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2016-01-08', '2016-01-08 20:28:18', '2016-01-08 20:28:18', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2016-01-08 20:28:18.000000', '2016-01-08', '2016-01-08 20:28:18', '2016-01-08 20:28:18', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2016-01-08', '2016-01-08 20:28:18', '2016-01-08 20:28:18', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2016-01-08 20:28:18.000000', '2016-01-08', '2016-01-08 20:28:18', '2016-01-08 20:28:18', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2016-01-08 20:28:18', '2016-01-08 20:28:18', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-07 20:28:18.000000', '2016-01-08 20:28:18', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-08 20:28:18.000000', '2016-01-08 20:28:18', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-07 20:28:18.000000', '2016-01-08 20:28:18', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-08 20:28:18.000000', '2016-01-08 20:28:18', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2016-01-08 20:28:18', '2016-01-08 20:28:18', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2016-01-08 20:28:18', '2016-01-08 20:28:18', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2016-01-08 20:28:18', '2016-01-08 20:28:18', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2016-01-08 20:28:18', '2016-01-08 20:28:18', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2016-01-08 20:28:18', '2016-01-08 20:28:18', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2016-01-08 20:28:18', '2016-01-08 20:28:18', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2016-01-08 20:28:18', '2016-01-08 20:28:18', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2016-01-08 20:28:18', '2016-01-08 20:28:18', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2016-01-08 20:28:18', '2016-01-08 20:28:18', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2016-01-08 20:28:18', '2016-01-08 20:28:18', 809335042, 'SocialNetworking::Goal', 809335042)  (1.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:28:19 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.2ms) Completed 200 OK in 157ms (Views: 89.0ms | ActiveRecord: 5.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-08 14:28:19 -0600 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-08 14:28:19 -0600 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2016-01-08 14:28:19 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Jan 08 2016", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2016-01-08 20:28:19.684410"], ["updated_at", "2016-01-08 20:28:19.690254"], ["id", 809335042]]  (1.5ms) COMMIT  (0.2ms) BEGIN SQL (1.1ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:28:19.703511"], ["updated_at", "2016-01-08 20:28:19.703511"]]  (0.6ms) COMMIT SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 30ms (Views: 0.4ms | ActiveRecord: 8.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:28:19 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:28:19 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 19ms (Views: 1.7ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2016-01-08 14:28:19 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Jan 08 2016", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2016-01-08 20:28:19.966580"], ["updated_at", "2016-01-08 20:28:19.969269"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:28:20 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 14ms (Views: 1.8ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2016-01-08 14:28:20 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"Feb 05 2016", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2016-02-05"], ["updated_at", "2016-01-08 20:28:20.182147"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:28:20 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 16ms (Views: 2.2ms | ActiveRecord: 1.8ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:28:20 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"When should I finish this?", "isCompleted"=>false, "dueOn"=>"", "goal"=>{"description"=>"When should I finish this?"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "When should I finish this?"], ["created_at", "2016-01-08 20:28:20.473397"], ["updated_at", "2016-01-08 20:28:20.473397"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:28:20.478715"], ["updated_at", "2016-01-08 20:28:20.478715"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 4.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:28:20 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 20ms (Views: 2.0ms | ActiveRecord: 2.2ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:28:20 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"2 week goal", "isCompleted"=>false, "dueOn"=>"Jan 22 2016", "goal"=>{"description"=>"2 week goal"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.8ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "2 week goal"], ["due_on", "2016-01-22"], ["created_at", "2016-01-08 20:28:20.723533"], ["updated_at", "2016-01-08 20:28:20.723533"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:28:20.729152"], ["updated_at", "2016-01-08 20:28:20.729152"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 4.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:28:22 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 18ms (Views: 2.0ms | ActiveRecord: 2.0ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:28:22 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"1 week goal", "isCompleted"=>false, "dueOn"=>"Jan 15 2016", "goal"=>{"description"=>"1 week goal"}} Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "1 week goal"], ["due_on", "2016-01-15"], ["created_at", "2016-01-08 20:28:22.937434"], ["updated_at", "2016-01-08 20:28:22.937434"]]  (2.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:28:22.943284"], ["updated_at", "2016-01-08 20:28:22.943284"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 4.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:28:23 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.1ms) Completed 200 OK in 25ms (Views: 3.0ms | ActiveRecord: 2.6ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:28:23 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"4 week goal", "isCompleted"=>false, "dueOn"=>"Feb 05 2016", "goal"=>{"description"=>"4 week goal"}} Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "4 week goal"], ["due_on", "2016-02-05"], ["created_at", "2016-01-08 20:28:23.297049"], ["updated_at", "2016-01-08 20:28:23.297049"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:28:23.301858"], ["updated_at", "2016-01-08 20:28:23.301858"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 4.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:28:23 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 21ms (Views: 2.3ms | ActiveRecord: 2.2ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:28:23 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"the end!", "isCompleted"=>false, "dueOn"=>"Mar 04 2016", "goal"=>{"description"=>"the end!"}} Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "the end!"], ["due_on", "2016-03-04"], ["created_at", "2016-01-08 20:28:23.639340"], ["updated_at", "2016-01-08 20:28:23.639340"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298883], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:28:23.644842"], ["updated_at", "2016-01-08 20:28:23.644842"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298883], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.2ms)  (0.2ms) ROLLBACK  (3.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.4ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2016-01-08 20:30:10', '2016-01-08 20:30:10', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2016-01-08', '2016-01-08 20:30:10', '2016-01-08 20:30:10', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2016-01-08 20:30:10.000000', '2016-01-08', '2016-01-08 20:30:10', '2016-01-08 20:30:10', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2016-01-08', '2016-01-08 20:30:10', '2016-01-08 20:30:10', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2016-01-08 20:30:10', '2016-01-08 20:30:10', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2016-01-08 20:30:10.000000', '2016-01-08', '2016-01-08 20:30:10', '2016-01-08 20:30:10', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2016-01-07', '2016-01-08 20:30:10', '2016-01-08 20:30:10', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2016-01-06', '2016-01-08 20:30:10', '2016-01-08 20:30:10', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2016-01-08 20:30:10.000000', '2016-01-08', '2016-01-08 20:30:10', '2016-01-08 20:30:10', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2016-01-08', '2016-01-08 20:30:10', '2016-01-08 20:30:10', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2016-01-08 20:30:10.000000', '2016-01-08', '2016-01-08 20:30:10', '2016-01-08 20:30:10', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2016-01-08', '2016-01-08 20:30:10', '2016-01-08 20:30:10', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2016-01-08 20:30:10.000000', '2016-01-08', '2016-01-08 20:30:10', '2016-01-08 20:30:10', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2016-01-08 20:30:10', '2016-01-08 20:30:10', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-07 20:30:10.000000', '2016-01-08 20:30:10', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-08 20:30:10.000000', '2016-01-08 20:30:10', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-07 20:30:10.000000', '2016-01-08 20:30:10', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-08 20:30:10.000000', '2016-01-08 20:30:10', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2016-01-08 20:30:10', '2016-01-08 20:30:10', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2016-01-08 20:30:10', '2016-01-08 20:30:10', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2016-01-08 20:30:10', '2016-01-08 20:30:10', 465319974, 333620620) Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2016-01-08 20:30:10', '2016-01-08 20:30:10', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2016-01-08 20:30:10', '2016-01-08 20:30:10', 10484799, 183235640) Fixture Delete (0.5ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2016-01-08 20:30:10', '2016-01-08 20:30:10', 781294868) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2016-01-08 20:30:10', '2016-01-08 20:30:10', 932760744) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2016-01-08 20:30:10', '2016-01-08 20:30:10', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2016-01-08 20:30:10', '2016-01-08 20:30:10', 183235640, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2016-01-08 20:30:10', '2016-01-08 20:30:10', 809335042, 'SocialNetworking::Goal', 809335042)  (1.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:30:11 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.6ms) Completed 200 OK in 146ms (Views: 77.1ms | ActiveRecord: 5.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-08 14:30:11 -0600 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-08 14:30:11 -0600 SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2016-01-08 14:30:12 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"Feb 05 2016", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2016-02-05"], ["updated_at", "2016-01-08 20:30:12.056079"], ["id", 53334230]]  (1.6ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 4.8ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:30:12 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 17ms (Views: 1.8ms | ActiveRecord: 2.3ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2016-01-08 14:30:12 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Jan 08 2016", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2016-01-08 20:30:12.352948"], ["updated_at", "2016-01-08 20:30:12.356439"], ["id", 809335042]]  (1.4ms) COMMIT  (0.5ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:30:12.369396"], ["updated_at", "2016-01-08 20:30:12.369396"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 24ms (Views: 0.3ms | ActiveRecord: 4.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:30:12 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 16ms (Views: 1.8ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:30:12 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 1.6ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2016-01-08 14:30:12 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Jan 08 2016", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (1.1ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2016-01-08 20:30:12.750549"], ["updated_at", "2016-01-08 20:30:12.754313"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 4.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:30:12 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 14ms (Views: 1.9ms | ActiveRecord: 1.6ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:30:12 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"the end!", "isCompleted"=>false, "dueOn"=>"Mar 04 2016", "goal"=>{"description"=>"the end!"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.7ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "the end!"], ["due_on", "2016-03-04"], ["created_at", "2016-01-08 20:30:13.000378"], ["updated_at", "2016-01-08 20:30:13.000378"]]  (1.3ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:30:13.005830"], ["updated_at", "2016-01-08 20:30:13.005830"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 4.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:30:13 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.5ms) Completed 200 OK in 19ms (Views: 3.7ms | ActiveRecord: 1.8ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:30:13 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"4 week goal", "isCompleted"=>false, "dueOn"=>"Feb 05 2016", "goal"=>{"description"=>"4 week goal"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (1.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "4 week goal"], ["due_on", "2016-02-05"], ["created_at", "2016-01-08 20:30:13.249985"], ["updated_at", "2016-01-08 20:30:13.249985"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:30:13.255868"], ["updated_at", "2016-01-08 20:30:13.255868"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 4.7ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:30:13 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 17ms (Views: 2.0ms | ActiveRecord: 2.0ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:30:13 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"When should I finish this?", "isCompleted"=>false, "dueOn"=>"", "goal"=>{"description"=>"When should I finish this?"}} Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "When should I finish this?"], ["created_at", "2016-01-08 20:30:13.500267"], ["updated_at", "2016-01-08 20:30:13.500267"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:30:13.505189"], ["updated_at", "2016-01-08 20:30:13.505189"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.7ms)  (0.3ms) ROLLBACK  (3.9ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2016-01-08 20:30:50', '2016-01-08 20:30:50', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2016-01-08', '2016-01-08 20:30:50', '2016-01-08 20:30:50', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2016-01-08 20:30:50.000000', '2016-01-08', '2016-01-08 20:30:50', '2016-01-08 20:30:50', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2016-01-08', '2016-01-08 20:30:50', '2016-01-08 20:30:50', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2016-01-08 20:30:50', '2016-01-08 20:30:50', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2016-01-08 20:30:50.000000', '2016-01-08', '2016-01-08 20:30:50', '2016-01-08 20:30:50', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2016-01-07', '2016-01-08 20:30:50', '2016-01-08 20:30:50', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2016-01-06', '2016-01-08 20:30:50', '2016-01-08 20:30:50', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2016-01-08 20:30:50.000000', '2016-01-08', '2016-01-08 20:30:50', '2016-01-08 20:30:50', 401619065, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2016-01-08', '2016-01-08 20:30:50', '2016-01-08 20:30:50', 128166899, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2016-01-08 20:30:50.000000', '2016-01-08', '2016-01-08 20:30:50', '2016-01-08 20:30:50', 1002298878, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2016-01-08', '2016-01-08 20:30:50', '2016-01-08 20:30:50', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2016-01-08 20:30:50.000000', '2016-01-08', '2016-01-08 20:30:50', '2016-01-08 20:30:50', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2016-01-08 20:30:50', '2016-01-08 20:30:50', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-07 20:30:50.000000', '2016-01-08 20:30:50', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-08 20:30:50.000000', '2016-01-08 20:30:50', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-07 20:30:50.000000', '2016-01-08 20:30:50', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-08 20:30:50.000000', '2016-01-08 20:30:50', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2016-01-08 20:30:50', '2016-01-08 20:30:50', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2016-01-08 20:30:50', '2016-01-08 20:30:50', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2016-01-08 20:30:50', '2016-01-08 20:30:50', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2016-01-08 20:30:50', '2016-01-08 20:30:50', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2016-01-08 20:30:50', '2016-01-08 20:30:50', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2016-01-08 20:30:50', '2016-01-08 20:30:50', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2016-01-08 20:30:50', '2016-01-08 20:30:50', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2016-01-08 20:30:50', '2016-01-08 20:30:50', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2016-01-08 20:30:50', '2016-01-08 20:30:50', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2016-01-08 20:30:50', '2016-01-08 20:30:50', 809335042, 'SocialNetworking::Goal', 809335042)  (1.7ms) COMMIT  (2.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:30:50 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.5ms) Completed 200 OK in 147ms (Views: 76.8ms | ActiveRecord: 5.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-08 14:30:51 -0600 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-08 14:30:51 -0600  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:30:51 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 2.2ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2016-01-08 14:30:51 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"Feb 05 2016", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2016-02-05"], ["updated_at", "2016-01-08 20:30:51.498355"], ["id", 53334230]]  (1.6ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 3.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:30:51 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.1ms) Completed 200 OK in 17ms (Views: 3.3ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2016-01-08 14:30:51 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Jan 08 2016", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2016-01-08 20:30:51.695886"], ["updated_at", "2016-01-08 20:30:51.698435"], ["id", 809335042]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:30:51.712502"], ["updated_at", "2016-01-08 20:30:51.712502"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 24ms (Views: 0.3ms | ActiveRecord: 5.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:30:51 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 17ms (Views: 1.9ms | ActiveRecord: 1.9ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2016-01-08 14:30:51 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Jan 08 2016", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2016-01-08 20:30:51.855414"], ["updated_at", "2016-01-08 20:30:51.858316"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:30:51 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 19ms (Views: 2.5ms | ActiveRecord: 2.0ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:30:52 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"4 week goal", "isCompleted"=>false, "dueOn"=>"Feb 05 2016", "goal"=>{"description"=>"4 week goal"}} Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "4 week goal"], ["due_on", "2016-02-05"], ["created_at", "2016-01-08 20:30:52.119218"], ["updated_at", "2016-01-08 20:30:52.119218"]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:30:52.123499"], ["updated_at", "2016-01-08 20:30:52.123499"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:30:52 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 15ms (Views: 2.0ms | ActiveRecord: 1.8ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:30:52 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"the end!", "isCompleted"=>false, "dueOn"=>"Mar 04 2016", "goal"=>{"description"=>"the end!"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "the end!"], ["due_on", "2016-03-04"], ["created_at", "2016-01-08 20:30:52.367439"], ["updated_at", "2016-01-08 20:30:52.367439"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:30:52.372656"], ["updated_at", "2016-01-08 20:30:52.372656"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 4.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:30:54 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 17ms (Views: 1.8ms | ActiveRecord: 1.9ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:30:54 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"When should I finish this?", "isCompleted"=>false, "dueOn"=>"", "goal"=>{"description"=>"When should I finish this?"}} Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "When should I finish this?"], ["created_at", "2016-01-08 20:30:54.588009"], ["updated_at", "2016-01-08 20:30:54.588009"]]  (2.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:30:54.593843"], ["updated_at", "2016-01-08 20:30:54.593843"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 4.1ms)  (0.2ms) ROLLBACK  (4.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2016-01-08 20:36:55', '2016-01-08 20:36:55', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2016-01-08', '2016-01-08 20:36:55', '2016-01-08 20:36:55', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2016-01-08 20:36:55.000000', '2016-01-08', '2016-01-08 20:36:55', '2016-01-08 20:36:55', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2016-01-08', '2016-01-08 20:36:55', '2016-01-08 20:36:55', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2016-01-08 20:36:55', '2016-01-08 20:36:55', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2016-01-08 20:36:55.000000', '2016-01-08', '2016-01-08 20:36:55', '2016-01-08 20:36:55', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2016-01-07', '2016-01-08 20:36:55', '2016-01-08 20:36:55', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2016-01-06', '2016-01-08 20:36:55', '2016-01-08 20:36:55', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2016-01-08 20:36:55.000000', '2016-01-08', '2016-01-08 20:36:55', '2016-01-08 20:36:55', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2016-01-08', '2016-01-08 20:36:55', '2016-01-08 20:36:55', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2016-01-08 20:36:55.000000', '2016-01-08', '2016-01-08 20:36:55', '2016-01-08 20:36:55', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2016-01-08', '2016-01-08 20:36:55', '2016-01-08 20:36:55', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2016-01-08 20:36:55.000000', '2016-01-08', '2016-01-08 20:36:55', '2016-01-08 20:36:55', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2016-01-08 20:36:55', '2016-01-08 20:36:55', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-07 20:36:55.000000', '2016-01-08 20:36:55', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-08 20:36:55.000000', '2016-01-08 20:36:55', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-07 20:36:55.000000', '2016-01-08 20:36:55', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-08 20:36:55.000000', '2016-01-08 20:36:55', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2016-01-08 20:36:55', '2016-01-08 20:36:55', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2016-01-08 20:36:55', '2016-01-08 20:36:55', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2016-01-08 20:36:55', '2016-01-08 20:36:55', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2016-01-08 20:36:55', '2016-01-08 20:36:55', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2016-01-08 20:36:55', '2016-01-08 20:36:55', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2016-01-08 20:36:55', '2016-01-08 20:36:55', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2016-01-08 20:36:55', '2016-01-08 20:36:55', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2016-01-08 20:36:55', '2016-01-08 20:36:55', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2016-01-08 20:36:55', '2016-01-08 20:36:55', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2016-01-08 20:36:55', '2016-01-08 20:36:55', 809335042, 'SocialNetworking::Goal', 809335042)  (1.8ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:36:56 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.6ms) Completed 200 OK in 149ms (Views: 76.3ms | ActiveRecord: 5.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-08 14:36:56 -0600 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-08 14:36:56 -0600 SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2016-01-08 14:36:56 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Jan 08 2016", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.3ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2016-01-08 20:36:56.947114"], ["updated_at", "2016-01-08 20:36:56.952996"], ["id", 809335042]]  (1.5ms) COMMIT  (0.2ms) BEGIN SQL (0.6ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:36:56.967868"], ["updated_at", "2016-01-08 20:36:56.967868"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 29ms (Views: 0.3ms | ActiveRecord: 7.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:36:56 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 2.0ms | ActiveRecord: 2.0ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2016-01-08 14:36:57 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Jan 08 2016", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2016-01-08 20:36:57.108724"], ["updated_at", "2016-01-08 20:36:57.111257"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:36:57 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 19ms (Views: 2.5ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:36:57 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 13ms (Views: 1.8ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2016-01-08 14:36:57 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"Feb 05 2016", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2016-02-05"], ["updated_at", "2016-01-08 20:36:57.556649"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:36:57 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.8ms | ActiveRecord: 1.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:36:57 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"the end!", "isCompleted"=>false, "dueOn"=>"Mar 04 2016", "goal"=>{"description"=>"the end!"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "the end!"], ["due_on", "2016-03-04"], ["created_at", "2016-01-08 20:36:57.951737"], ["updated_at", "2016-01-08 20:36:57.951737"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:36:57.957301"], ["updated_at", "2016-01-08 20:36:57.957301"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 3.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:36:58 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 21ms (Views: 1.8ms | ActiveRecord: 2.8ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:36:58 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"When should I finish this?", "isCompleted"=>false, "dueOn"=>"", "goal"=>{"description"=>"When should I finish this?"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "When should I finish this?"], ["created_at", "2016-01-08 20:36:58.204273"], ["updated_at", "2016-01-08 20:36:58.204273"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:36:58.209668"], ["updated_at", "2016-01-08 20:36:58.209668"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 3.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-08 14:36:58 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 21ms (Views: 1.9ms | ActiveRecord: 2.3ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-08 14:36:58 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"Jan 22 2016", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2016-01-22"], ["created_at", "2016-01-08 20:36:58.444575"], ["updated_at", "2016-01-08 20:36:58.444575"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-08 20:36:58.450618"], ["updated_at", "2016-01-08 20:36:58.450618"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 3.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 21ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 41ms (Views: 0.2ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (2.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2016-01-26 19:59:56', '2016-01-26 19:59:56', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2016-01-26', '2016-01-26 19:59:56', '2016-01-26 19:59:56', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2016-01-26 19:59:56.000000', '2016-01-26', '2016-01-26 19:59:56', '2016-01-26 19:59:56', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2016-01-26', '2016-01-26 19:59:56', '2016-01-26 19:59:56', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2016-01-26 19:59:56', '2016-01-26 19:59:56', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2016-01-26 19:59:56.000000', '2016-01-26', '2016-01-26 19:59:56', '2016-01-26 19:59:56', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2016-01-25', '2016-01-26 19:59:56', '2016-01-26 19:59:56', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2016-01-24', '2016-01-26 19:59:56', '2016-01-26 19:59:56', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2016-01-26 19:59:56.000000', '2016-01-26', '2016-01-26 19:59:56', '2016-01-26 19:59:56', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2016-01-26', '2016-01-26 19:59:56', '2016-01-26 19:59:56', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2016-01-26 19:59:56.000000', '2016-01-26', '2016-01-26 19:59:56', '2016-01-26 19:59:56', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2016-01-26', '2016-01-26 19:59:56', '2016-01-26 19:59:56', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2016-01-26 19:59:56.000000', '2016-01-26', '2016-01-26 19:59:56', '2016-01-26 19:59:56', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2016-01-26 19:59:56', '2016-01-26 19:59:56', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-25 19:59:56.000000', '2016-01-26 19:59:56', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-26 19:59:56.000000', '2016-01-26 19:59:56', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-25 19:59:56.000000', '2016-01-26 19:59:56', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-26 19:59:56.000000', '2016-01-26 19:59:56', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2016-01-26 19:59:56', '2016-01-26 19:59:56', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2016-01-26 19:59:56', '2016-01-26 19:59:56', 369066228, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2016-01-26 19:59:56', '2016-01-26 19:59:56', 465319974, 333620620) Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2016-01-26 19:59:56', '2016-01-26 19:59:56', 45443486, 333620620) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2016-01-26 19:59:56', '2016-01-26 19:59:56', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2016-01-26 19:59:56', '2016-01-26 19:59:56', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2016-01-26 19:59:56', '2016-01-26 19:59:56', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2016-01-26 19:59:56', '2016-01-26 19:59:56', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.4ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2016-01-26 19:59:56', '2016-01-26 19:59:56', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.4ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2016-01-26 19:59:56', '2016-01-26 19:59:56', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2016-01-26 19:59:56.526213"], ["updated_at", "2016-01-26 19:59:56.526213"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2016-01-26 19:59:56.530865"], ["updated_at", "2016-01-26 19:59:56.530865"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.5ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2016-01-26 23:59:59.999999' AND created_at >= '2016-01-26 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2016-01-26 00:00:00.000000"], ["updated_at", "2016-01-26 19:59:56.992352"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2016-01-26 23:59:59.999999' AND created_at >= '2016-01-26 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2016-01-25 00:00:00.000000"], ["updated_at", "2016-01-26 19:59:56.997179"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2016-01-19 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2016-01-25 00:00:00.000000"], ["updated_at", "2016-01-26 19:59:57.001982"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2016-01-18 00:00:00.000000"], ["updated_at", "2016-01-26 19:59:57.004878"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2016-01-19 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (0.8ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 816972181) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 816972181], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2016-01-26 19:59:57.035158"], ["updated_at", "2016-01-26 19:59:57.035158"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093909]] SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "text", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 816972181], ["text", "foo"], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2016-01-26 19:59:57.055888"], ["updated_at", "2016-01-26 19:59:57.055888"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187877]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2016-01-26 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2016-01-26 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2016-01-26 00:00:00.000000"], ["updated_at", "2016-01-26 19:59:57.079104"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2016-01-26 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2016-01-26 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2016-01-19 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2016-01-25 00:00:00.000000"], ["updated_at", "2016-01-26 19:59:57.087162"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2016-01-18 00:00:00.000000"], ["updated_at", "2016-01-26 19:59:57.090848"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2016-01-19 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" IS NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2016-01-26 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2016-01-26 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2016-01-26 00:00:00.000000"], ["updated_at", "2016-01-26 19:59:57.107774"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2016-01-26 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2016-01-26 23:59:59.999999')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2016-01-19 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2016-01-25 00:00:00.000000"], ["updated_at", "2016-01-26 19:59:57.128805"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2016-01-18 00:00:00.000000"], ["updated_at", "2016-01-26 19:59:57.132222"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2016-01-19 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2016-01-26 19:59:57.192762"], ["updated_at", "2016-01-26 19:59:57.192762"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2016-01-26 19:59:57.196050"], ["updated_at", "2016-01-26 19:59:57.196050"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2016-01-26 19:59:57.202043"], ["updated_at", "2016-01-26 19:59:57.202043"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2016-01-26 19:59:57.204338"], ["updated_at", "2016-01-26 19:59:57.204338"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2016-01-26 19:59:57.215716"], ["updated_at", "2016-01-26 19:59:57.215716"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2016-01-26 19:59:57.217873"], ["updated_at", "2016-01-26 19:59:57.217873"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2016-01-26 19:59:57.222633"], ["updated_at", "2016-01-26 19:59:57.222633"]] SQL (0.1ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2016-01-26 19:59:57.224557"], ["updated_at", "2016-01-26 19:59:57.224557"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 369066228], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 369066228], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-26 13:59:58 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.8ms) Completed 200 OK in 147ms (Views: 121.6ms | ActiveRecord: 5.7ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-26 13:59:58 -0600 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-26 13:59:58 -0600  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-26 13:59:58 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 19ms (Views: 2.2ms | ActiveRecord: 2.1ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2016-01-26 13:59:58 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Jan 26 2016", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2016-01-26 19:59:58.967044"], ["updated_at", "2016-01-26 19:59:58.970448"], ["id", 614371357]]  (13.2ms) COMMIT SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 25ms (Views: 0.3ms | ActiveRecord: 15.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-26 13:59:59 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2016-01-26 13:59:59 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"Feb 23 2016", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2016-02-23"], ["updated_at", "2016-01-26 19:59:59.206737"], ["id", 53334230]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 2.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-26 13:59:59 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 14ms (Views: 2.4ms | ActiveRecord: 1.5ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2016-01-26 13:59:59 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Jan 26 2016", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2016-01-26 19:59:59.406217"], ["updated_at", "2016-01-26 19:59:59.408968"], ["id", 809335042]]  (1.3ms) COMMIT  (0.7ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2016-01-26 19:59:59.414327"], ["updated_at", "2016-01-26 19:59:59.414327"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 4.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-26 13:59:59 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 14ms (Views: 2.1ms | ActiveRecord: 1.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-26 13:59:59 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"Feb 09 2016", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.2ms) BEGIN Participant Load (0.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2016-02-09"], ["created_at", "2016-01-26 19:59:59.657197"], ["updated_at", "2016-01-26 19:59:59.657197"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-26 19:59:59.662665"], ["updated_at", "2016-01-26 19:59:59.662665"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 4.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-26 13:59:59 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 16ms (Views: 1.9ms | ActiveRecord: 1.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-26 13:59:59 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"When should I finish this?", "isCompleted"=>false, "dueOn"=>"", "goal"=>{"description"=>"When should I finish this?"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "When should I finish this?"], ["created_at", "2016-01-26 19:59:59.894803"], ["updated_at", "2016-01-26 19:59:59.894803"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-26 19:59:59.900589"], ["updated_at", "2016-01-26 19:59:59.900589"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 4.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-26 13:59:59 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 21ms (Views: 1.8ms | ActiveRecord: 2.5ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-26 14:00:00 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"the end!", "isCompleted"=>false, "dueOn"=>"Mar 22 2016", "goal"=>{"description"=>"the end!"}} Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "the end!"], ["due_on", "2016-03-22"], ["created_at", "2016-01-26 20:00:00.133572"], ["updated_at", "2016-01-26 20:00:00.133572"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-26 20:00:00.137986"], ["updated_at", "2016-01-26 20:00:00.137986"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.5ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::ProfileAnswer Load (0.4ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (1.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2016-01-26 20:00:00', '2016-01-26 20:00:00', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2016-01-26', '2016-01-26 20:00:00', '2016-01-26 20:00:00', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2016-01-26 20:00:00.000000', '2016-01-26', '2016-01-26 20:00:00', '2016-01-26 20:00:00', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2016-01-26', '2016-01-26 20:00:00', '2016-01-26 20:00:00', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2016-01-26 20:00:00', '2016-01-26 20:00:00', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2016-01-26 20:00:00.000000', '2016-01-26', '2016-01-26 20:00:00', '2016-01-26 20:00:00', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2016-01-25', '2016-01-26 20:00:00', '2016-01-26 20:00:00', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2016-01-24', '2016-01-26 20:00:00', '2016-01-26 20:00:00', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2016-01-26 20:00:00.000000', '2016-01-26', '2016-01-26 20:00:00', '2016-01-26 20:00:00', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2016-01-26', '2016-01-26 20:00:00', '2016-01-26 20:00:00', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2016-01-26 20:00:00.000000', '2016-01-26', '2016-01-26 20:00:00', '2016-01-26 20:00:00', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2016-01-26', '2016-01-26 20:00:00', '2016-01-26 20:00:00', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2016-01-26 20:00:00.000000', '2016-01-26', '2016-01-26 20:00:00', '2016-01-26 20:00:00', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2016-01-26 20:00:00', '2016-01-26 20:00:00', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-25 20:00:00.000000', '2016-01-26 20:00:00', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-26 20:00:00.000000', '2016-01-26 20:00:00', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-25 20:00:00.000000', '2016-01-26 20:00:00', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-26 20:00:00.000000', '2016-01-26 20:00:00', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2016-01-26 20:00:00', '2016-01-26 20:00:00', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2016-01-26 20:00:00', '2016-01-26 20:00:00', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2016-01-26 20:00:00', '2016-01-26 20:00:00', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2016-01-26 20:00:00', '2016-01-26 20:00:00', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2016-01-26 20:00:00', '2016-01-26 20:00:00', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2016-01-26 20:00:00', '2016-01-26 20:00:00', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2016-01-26 20:00:00', '2016-01-26 20:00:00', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2016-01-26 20:00:00', '2016-01-26 20:00:00', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2016-01-26 20:00:00', '2016-01-26 20:00:00', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2016-01-26 20:00:00', '2016-01-26 20:00:00', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.5ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.7ms) SocialNetworking::Mailer#notify: processed outbound mail in 314.5ms Sent mail to obama@ex.co (8.8ms) Date: Tue, 26 Jan 2016 14:00:00 -0600 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <56a7d0409e731_acaf3fe6a84601f81798a@FSMC02GN1YSDV7N.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2016-01-26 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2016-01-26 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2016-01-26 00:00:00.000000"], ["updated_at", "2016-01-26 20:00:00.659983"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2016-01-26 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2016-01-26 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2016-01-19 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2016-01-25 00:00:00.000000"], ["updated_at", "2016-01-26 20:00:00.670469"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2016-01-19 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2016-01-26 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2016-01-26 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2016-01-26 00:00:00.000000"], ["updated_at", "2016-01-26 20:00:00.705318"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2016-01-26 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2016-01-26 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2016-01-19 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2016-01-25 00:00:00.000000"], ["updated_at", "2016-01-26 20:00:00.712905"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2016-01-18 00:00:00.000000"], ["updated_at", "2016-01-26 20:00:00.716896"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2016-01-19 00:00:00.000000')  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2016-01-26"], ["created_at", "2016-01-26 20:00:00.726708"], ["updated_at", "2016-01-26 20:00:00.726708"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2016-01-26 20:00:00.730609"], ["updated_at", "2016-01-26 20:00:00.730609"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2016-01-26"], ["completed_at", "2016-01-24 00:00:00.000000"], ["created_at", "2016-01-26 20:00:00.734516"], ["updated_at", "2016-01-26 20:00:00.734516"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2016-01-26 20:00:00.738498"], ["updated_at", "2016-01-26 20:00:00.738498"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2016-01-27"], ["created_at", "2016-01-26 20:00:00.742467"], ["updated_at", "2016-01-26 20:00:00.742467"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2016-01-26') AND ("social_networking_goals"."due_on" >= '2016-01-25')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2016-01-26') AND ("social_networking_goals"."due_on" >= '2016-01-25') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2016-01-26') AND ("social_networking_goals"."due_on" >= '2016-01-25')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-26 20:00:00.759645"], ["updated_at", "2016-01-26 20:00:00.759645"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2016-01-26 20:00:00.764276"], ["updated_at", "2016-01-26 20:00:00.764276"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2016-01-26 20:00:00.767396"], ["updated_at", "2016-01-26 20:00:00.767396"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (4.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.3ms) ROLLBACK  (3.0ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.5ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2016-01-26 21:11:25', '2016-01-26 21:11:25', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2016-01-26', '2016-01-26 21:11:25', '2016-01-26 21:11:25', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2016-01-26 21:11:25.000000', '2016-01-26', '2016-01-26 21:11:25', '2016-01-26 21:11:25', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2016-01-26', '2016-01-26 21:11:25', '2016-01-26 21:11:25', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2016-01-26 21:11:25', '2016-01-26 21:11:25', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2016-01-26 21:11:25.000000', '2016-01-26', '2016-01-26 21:11:25', '2016-01-26 21:11:25', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2016-01-25', '2016-01-26 21:11:25', '2016-01-26 21:11:25', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2016-01-24', '2016-01-26 21:11:25', '2016-01-26 21:11:25', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2016-01-26 21:11:25.000000', '2016-01-26', '2016-01-26 21:11:25', '2016-01-26 21:11:25', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2016-01-26', '2016-01-26 21:11:25', '2016-01-26 21:11:25', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2016-01-26 21:11:25.000000', '2016-01-26', '2016-01-26 21:11:25', '2016-01-26 21:11:25', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2016-01-26', '2016-01-26 21:11:25', '2016-01-26 21:11:25', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2016-01-26 21:11:25.000000', '2016-01-26', '2016-01-26 21:11:25', '2016-01-26 21:11:25', 16804933, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2016-01-26 21:11:25', '2016-01-26 21:11:25', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-25 21:11:25.000000', '2016-01-26 21:11:25', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-26 21:11:25.000000', '2016-01-26 21:11:25', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-25 21:11:25.000000', '2016-01-26 21:11:25', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-26 21:11:25.000000', '2016-01-26 21:11:25', 316146702, 816972181, 700141617) Fixture Delete (0.6ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2016-01-26 21:11:25', '2016-01-26 21:11:25', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2016-01-26 21:11:25', '2016-01-26 21:11:25', 369066228, 816972181) Fixture Delete (0.6ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2016-01-26 21:11:25', '2016-01-26 21:11:25', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2016-01-26 21:11:25', '2016-01-26 21:11:25', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2016-01-26 21:11:25', '2016-01-26 21:11:25', 10484799, 183235640) Fixture Delete (0.5ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2016-01-26 21:11:25', '2016-01-26 21:11:25', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2016-01-26 21:11:25', '2016-01-26 21:11:25', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2016-01-26 21:11:25', '2016-01-26 21:11:25', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2016-01-26 21:11:25', '2016-01-26 21:11:25', 183235640, 816972181) Fixture Delete (0.7ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2016-01-26 21:11:25', '2016-01-26 21:11:25', 809335042, 'SocialNetworking::Goal', 809335042)  (0.8ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (5.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2016-01-26 21:11:26.441547"], ["updated_at", "2016-01-26 21:11:26.441547"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2016-01-26 21:11:26.446070"], ["updated_at", "2016-01-26 21:11:26.446070"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2016-01-26 21:11:26.452283"], ["updated_at", "2016-01-26 21:11:26.452283"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2016-01-26 21:11:26.456031"], ["updated_at", "2016-01-26 21:11:26.456031"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2016-01-26 21:11:26.462467"], ["updated_at", "2016-01-26 21:11:26.462467"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2016-01-26 21:11:26.464611"], ["updated_at", "2016-01-26 21:11:26.464611"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.5ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2016-01-26 21:11:26.481909"], ["updated_at", "2016-01-26 21:11:26.481909"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2016-01-26 21:11:26.484222"], ["updated_at", "2016-01-26 21:11:26.484222"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2016-01-19 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2016-01-25 00:00:00.000000"], ["updated_at", "2016-01-26 21:11:26.549737"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2016-01-18 00:00:00.000000"], ["updated_at", "2016-01-26 21:11:26.553013"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2016-01-19 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2016-01-25 00:00:00.000000"], ["updated_at", "2016-01-26 21:11:26.557942"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2016-01-26 23:59:59.999999' AND created_at >= '2016-01-26 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2016-01-26 00:00:00.000000"], ["updated_at", "2016-01-26 21:11:26.563619"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2016-01-26 23:59:59.999999' AND created_at >= '2016-01-26 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "text", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 816972181], ["text", "foo"], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2016-01-26 21:11:26.576571"], ["updated_at", "2016-01-26 21:11:26.576571"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187877]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 816972181) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 816972181], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2016-01-26 21:11:26.597596"], ["updated_at", "2016-01-26 21:11:26.597596"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093909]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 369066228], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 369066228], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2016-01-26 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2016-01-26 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2016-01-26 00:00:00.000000"], ["updated_at", "2016-01-26 21:11:26.719576"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2016-01-26 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2016-01-26 23:59:59.999999')  (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2016-01-19 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2016-01-25 00:00:00.000000"], ["updated_at", "2016-01-26 21:11:26.733393"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2016-01-18 00:00:00.000000"], ["updated_at", "2016-01-26 21:11:26.737160"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2016-01-19 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2016-01-26') AND ("social_networking_goals"."due_on" >= '2016-01-25') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2016-01-26') AND ("social_networking_goals"."due_on" >= '2016-01-25')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2016-01-26') AND ("social_networking_goals"."due_on" >= '2016-01-25')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2016-01-26 21:11:26.753084"], ["updated_at", "2016-01-26 21:11:26.753084"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2016-01-27"], ["created_at", "2016-01-26 21:11:26.760202"], ["updated_at", "2016-01-26 21:11:26.760202"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2016-01-26"], ["completed_at", "2016-01-24 00:00:00.000000"], ["created_at", "2016-01-26 21:11:26.764445"], ["updated_at", "2016-01-26 21:11:26.764445"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2016-01-26 21:11:26.768839"], ["updated_at", "2016-01-26 21:11:26.768839"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2016-01-26"], ["created_at", "2016-01-26 21:11:26.772712"], ["updated_at", "2016-01-26 21:11:26.772712"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2016-01-19 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2016-01-25 00:00:00.000000"], ["updated_at", "2016-01-26 21:11:26.781440"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2016-01-18 00:00:00.000000"], ["updated_at", "2016-01-26 21:11:26.785332"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2016-01-19 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2016-01-26 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2016-01-26 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2016-01-26 00:00:00.000000"], ["updated_at", "2016-01-26 21:11:26.793474"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2016-01-26 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2016-01-26 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2016-01-19 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2016-01-25 00:00:00.000000"], ["updated_at", "2016-01-26 21:11:26.805295"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2016-01-19 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2016-01-26 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2016-01-26 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2016-01-26 00:00:00.000000"], ["updated_at", "2016-01-26 21:11:26.830167"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2016-01-26 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2016-01-26 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.3ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2016-01-19 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2016-01-25 00:00:00.000000"], ["updated_at", "2016-01-26 21:11:26.862300"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2016-01-18 00:00:00.000000"], ["updated_at", "2016-01-26 21:11:26.866635"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2016-01-19 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2016-01-26 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2016-01-26 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2016-01-26 00:00:00.000000"], ["updated_at", "2016-01-26 21:11:26.873749"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2016-01-26 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2016-01-26 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2016-01-26 21:11:26.880230"], ["updated_at", "2016-01-26 21:11:26.880230"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2016-01-26 21:11:26.883253"], ["updated_at", "2016-01-26 21:11:26.883253"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" IS NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.5ms) SocialNetworking::Mailer#notify: processed outbound mail in 225.6ms Sent mail to obama@ex.co (8.4ms) Date: Tue, 26 Jan 2016 15:11:27 -0600 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <56a7e0ff56c1d_125d43fe9a486020435398@FSMC02GN1YSDV7N.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-26 15:11:28 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.4ms) Completed 200 OK in 96ms (Views: 72.9ms | ActiveRecord: 5.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-01-26 15:11:28 -0600 Started GET "/assets/application.js" for 127.0.0.1 at 2016-01-26 15:11:28 -0600 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2016-01-26 15:11:28 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Jan 26 2016", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2016-01-26 21:11:28.791192"], ["updated_at", "2016-01-26 21:11:28.794291"], ["id", 614371357]]  (5.8ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 7.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-26 15:11:28 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2016-01-26 15:11:28 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Jan 26 2016", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2016-01-26 21:11:28.970142"], ["updated_at", "2016-01-26 21:11:28.972819"], ["id", 809335042]]  (1.4ms) COMMIT  (0.5ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2016-01-26 21:11:28.978169"], ["updated_at", "2016-01-26 21:11:28.978169"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 15ms (Views: 0.4ms | ActiveRecord: 4.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-26 15:11:29 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2016-01-26 15:11:29 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"Feb 23 2016", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2016-02-23"], ["updated_at", "2016-01-26 21:11:29.189317"], ["id", 53334230]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 1.9ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-26 15:11:29 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.8ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-26 15:11:29 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 1.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-26 15:11:29 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"the end!", "isCompleted"=>false, "dueOn"=>"Mar 22 2016", "goal"=>{"description"=>"the end!"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.8ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "the end!"], ["due_on", "2016-03-22"], ["created_at", "2016-01-26 21:11:29.590074"], ["updated_at", "2016-01-26 21:11:29.590074"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-26 21:11:29.595478"], ["updated_at", "2016-01-26 21:11:29.595478"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 4.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-26 15:11:29 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 16ms (Views: 2.3ms | ActiveRecord: 1.8ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-26 15:11:29 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"When should I finish this?", "isCompleted"=>false, "dueOn"=>"", "goal"=>{"description"=>"When should I finish this?"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "When should I finish this?"], ["created_at", "2016-01-26 21:11:29.837337"], ["updated_at", "2016-01-26 21:11:29.837337"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298888], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-26 21:11:29.842242"], ["updated_at", "2016-01-26 21:11:29.842242"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298888], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-01-26 15:11:29 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298888], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 20ms (Views: 2.0ms | ActiveRecord: 2.4ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-01-26 15:11:30 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"Feb 09 2016", "goal"=>{"description"=>"all of the things"}} Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2016-02-09"], ["created_at", "2016-01-26 21:11:30.073303"], ["updated_at", "2016-01-26 21:11:30.073303"]]  (0.4ms) COMMIT  (0.3ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298889], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-26 21:11:30.077209"], ["updated_at", "2016-01-26 21:11:30.077209"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298889], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 2.9ms)  (0.2ms) ROLLBACK  (1.7ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2016-01-26 21:11:30', '2016-01-26 21:11:30', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2016-01-26', '2016-01-26 21:11:30', '2016-01-26 21:11:30', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2016-01-26 21:11:30.000000', '2016-01-26', '2016-01-26 21:11:30', '2016-01-26 21:11:30', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2016-01-26', '2016-01-26 21:11:30', '2016-01-26 21:11:30', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2016-01-26 21:11:30', '2016-01-26 21:11:30', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2016-01-26 21:11:30.000000', '2016-01-26', '2016-01-26 21:11:30', '2016-01-26 21:11:30', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2016-01-25', '2016-01-26 21:11:30', '2016-01-26 21:11:30', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2016-01-24', '2016-01-26 21:11:30', '2016-01-26 21:11:30', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2016-01-26 21:11:30.000000', '2016-01-26', '2016-01-26 21:11:30', '2016-01-26 21:11:30', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2016-01-26', '2016-01-26 21:11:30', '2016-01-26 21:11:30', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2016-01-26 21:11:30.000000', '2016-01-26', '2016-01-26 21:11:30', '2016-01-26 21:11:30', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2016-01-26', '2016-01-26 21:11:30', '2016-01-26 21:11:30', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2016-01-26 21:11:30.000000', '2016-01-26', '2016-01-26 21:11:30', '2016-01-26 21:11:30', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2016-01-26 21:11:30', '2016-01-26 21:11:30', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-25 21:11:30.000000', '2016-01-26 21:11:30', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-26 21:11:30.000000', '2016-01-26 21:11:30', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-25 21:11:30.000000', '2016-01-26 21:11:30', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-01-26 21:11:30.000000', '2016-01-26 21:11:30', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2016-01-26 21:11:30', '2016-01-26 21:11:30', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2016-01-26 21:11:30', '2016-01-26 21:11:30', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2016-01-26 21:11:30', '2016-01-26 21:11:30', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2016-01-26 21:11:30', '2016-01-26 21:11:30', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2016-01-26 21:11:30', '2016-01-26 21:11:30', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2016-01-26 21:11:30', '2016-01-26 21:11:30', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2016-01-26 21:11:30', '2016-01-26 21:11:30', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2016-01-26 21:11:30', '2016-01-26 21:11:30', 10484799) Fixture Delete (0.4ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2016-01-26 21:11:30', '2016-01-26 21:11:30', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2016-01-26 21:11:30', '2016-01-26 21:11:30', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.5ms) Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.5ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-01-26 21:11:30.272716"], ["updated_at", "2016-01-26 21:11:30.272716"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2016-01-26 21:11:30.277248"], ["updated_at", "2016-01-26 21:11:30.277248"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2016-01-26 21:11:30.280057"], ["updated_at", "2016-01-26 21:11:30.280057"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.7ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.7ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 18ms (Views: 16.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (8.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2016-02-10 21:35:43', '2016-02-10 21:35:43', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2016-02-10', '2016-02-10 21:35:43', '2016-02-10 21:35:43', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2016-02-10 21:35:43.000000', '2016-02-10', '2016-02-10 21:35:43', '2016-02-10 21:35:43', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2016-02-10', '2016-02-10 21:35:43', '2016-02-10 21:35:43', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2016-02-10 21:35:43', '2016-02-10 21:35:43', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2016-02-10 21:35:43.000000', '2016-02-10', '2016-02-10 21:35:43', '2016-02-10 21:35:43', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2016-02-09', '2016-02-10 21:35:43', '2016-02-10 21:35:43', 717544784, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2016-02-08', '2016-02-10 21:35:43', '2016-02-10 21:35:43', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2016-02-10 21:35:43.000000', '2016-02-10', '2016-02-10 21:35:43', '2016-02-10 21:35:43', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2016-02-10', '2016-02-10 21:35:43', '2016-02-10 21:35:43', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2016-02-10 21:35:43.000000', '2016-02-10', '2016-02-10 21:35:43', '2016-02-10 21:35:43', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2016-02-10', '2016-02-10 21:35:43', '2016-02-10 21:35:43', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2016-02-10 21:35:43.000000', '2016-02-10', '2016-02-10 21:35:43', '2016-02-10 21:35:43', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2016-02-10 21:35:43', '2016-02-10 21:35:43', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-09 21:35:43.000000', '2016-02-10 21:35:43', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-10 21:35:43.000000', '2016-02-10 21:35:43', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-09 21:35:43.000000', '2016-02-10 21:35:43', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-10 21:35:43.000000', '2016-02-10 21:35:43', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2016-02-10 21:35:43', '2016-02-10 21:35:43', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2016-02-10 21:35:43', '2016-02-10 21:35:43', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2016-02-10 21:35:43', '2016-02-10 21:35:43', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2016-02-10 21:35:43', '2016-02-10 21:35:43', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2016-02-10 21:35:43', '2016-02-10 21:35:43', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2016-02-10 21:35:43', '2016-02-10 21:35:43', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2016-02-10 21:35:43', '2016-02-10 21:35:43', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2016-02-10 21:35:43', '2016-02-10 21:35:43', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2016-02-10 21:35:43', '2016-02-10 21:35:43', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2016-02-10 21:35:43', '2016-02-10 21:35:43', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2016-02-03 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2016-02-09 00:00:00.000000"], ["updated_at", "2016-02-10 21:35:43.967998"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2016-02-02 00:00:00.000000"], ["updated_at", "2016-02-10 21:35:43.971173"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2016-02-03 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2016-02-10 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2016-02-10 00:00:00.000000"], ["updated_at", "2016-02-10 21:35:43.978453"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2016-02-10 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2016-02-10') AND ("social_networking_goals"."due_on" >= '2016-02-09') SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2016-02-10') AND ("social_networking_goals"."due_on" >= '2016-02-09')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2016-02-10') AND ("social_networking_goals"."due_on" >= '2016-02-09')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2016-02-11"], ["created_at", "2016-02-10 21:35:44.000996"], ["updated_at", "2016-02-10 21:35:44.000996"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2016-02-10 21:35:44.005060"], ["updated_at", "2016-02-10 21:35:44.005060"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2016-02-10"], ["completed_at", "2016-02-08 00:00:00.000000"], ["created_at", "2016-02-10 21:35:44.009008"], ["updated_at", "2016-02-10 21:35:44.009008"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2016-02-10 21:35:44.012812"], ["updated_at", "2016-02-10 21:35:44.012812"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2016-02-10"], ["created_at", "2016-02-10 21:35:44.016204"], ["updated_at", "2016-02-10 21:35:44.016204"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" IS NULL  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.5ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.7ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2016-02-03 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2016-02-09 00:00:00.000000"], ["updated_at", "2016-02-10 21:35:44.129398"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2016-02-02 00:00:00.000000"], ["updated_at", "2016-02-10 21:35:44.133988"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2016-02-03 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2016-02-10 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2016-02-10 00:00:00.000000"], ["updated_at", "2016-02-10 21:35:44.141762"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2016-02-10 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (2.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.9ms)  (0.3ms) ROLLBACK  (0.6ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (2.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb (3.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2016-02-03 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.6ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2016-02-09 00:00:00.000000"], ["updated_at", "2016-02-10 21:35:44.267223"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.5ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2016-02-03 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2016-02-10 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2016-02-10 00:00:00.000000"], ["updated_at", "2016-02-10 21:35:44.290253"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2016-02-10 23:59:59.999999')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.5ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2016-02-03 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.6ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2016-02-09 00:00:00.000000"], ["updated_at", "2016-02-10 21:35:44.439068"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2016-02-02 00:00:00.000000"], ["updated_at", "2016-02-10 21:35:44.444211"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2016-02-03 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2016-02-10 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2016-02-10 00:00:00.000000"], ["updated_at", "2016-02-10 21:35:44.451711"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2016-02-10 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2016-02-10 21:35:44.688377"], ["updated_at", "2016-02-10 21:35:44.688377"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2016-02-10 21:35:44.691432"], ["updated_at", "2016-02-10 21:35:44.691432"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.6ms) SocialNetworking::Mailer#notify: processed outbound mail in 232.1ms Sent mail to obama@ex.co (8.3ms) Date: Wed, 10 Feb 2016 15:35:44 -0600 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <56bbad30e6c10_42543fe28146020034469@FSMC02GN1YSDV7N.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-02-10 21:35:45.071266"], ["updated_at", "2016-02-10 21:35:45.071266"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2016-02-10 21:35:45.076166"], ["updated_at", "2016-02-10 21:35:45.076166"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803335], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2016-02-10 21:35:45.078806"], ["updated_at", "2016-02-10 21:35:45.078806"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 369066228], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 369066228], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.8ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2016-02-03 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2016-02-09 00:00:00.000000"], ["updated_at", "2016-02-10 21:35:45.308873"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2016-02-02 00:00:00.000000"], ["updated_at", "2016-02-10 21:35:45.311793"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2016-02-03 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2016-02-09 00:00:00.000000"], ["updated_at", "2016-02-10 21:35:45.316772"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2016-02-10 23:59:59.999999' AND created_at >= '2016-02-10 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2016-02-10 00:00:00.000000"], ["updated_at", "2016-02-10 21:35:45.321606"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2016-02-10 23:59:59.999999' AND created_at >= '2016-02-10 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "text", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 816972181], ["text", "foo"], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2016-02-10 21:35:45.330435"], ["updated_at", "2016-02-10 21:35:45.330435"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.3ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187880]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 816972181) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 816972181], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2016-02-10 21:35:45.346698"], ["updated_at", "2016-02-10 21:35:45.346698"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093911]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2016-02-10 21:35:45.365238"], ["updated_at", "2016-02-10 21:35:45.365238"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2016-02-10 21:35:45.367939"], ["updated_at", "2016-02-10 21:35:45.367939"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2016-02-10 21:35:45.374869"], ["updated_at", "2016-02-10 21:35:45.374869"]] SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2016-02-10 21:35:45.378448"], ["updated_at", "2016-02-10 21:35:45.378448"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2016-02-10 21:35:45.385366"], ["updated_at", "2016-02-10 21:35:45.385366"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2016-02-10 21:35:45.387478"], ["updated_at", "2016-02-10 21:35:45.387478"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2016-02-10 21:35:45.397610"], ["updated_at", "2016-02-10 21:35:45.397610"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2016-02-10 21:35:45.399968"], ["updated_at", "2016-02-10 21:35:45.399968"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 15:35:46 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.6ms) Completed 200 OK in 106ms (Views: 80.1ms | ActiveRecord: 5.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-02-10 15:35:46 -0600 Started GET "/assets/application.js" for 127.0.0.1 at 2016-02-10 15:35:46 -0600 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2016-02-10 15:35:46 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Feb 10 2016", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2016-02-10 21:35:46.949633"], ["updated_at", "2016-02-10 21:35:46.952339"], ["id", 809335042]]  (5.5ms) COMMIT  (0.5ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2016-02-10 21:35:46.962979"], ["updated_at", "2016-02-10 21:35:46.962979"]]  (6.0ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 26ms (Views: 0.3ms | ActiveRecord: 14.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 15:35:46 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2016-02-10 15:35:47 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"Mar 09 2016", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2016-03-09"], ["updated_at", "2016-02-10 21:35:47.177734"], ["id", 53334230]]  (0.6ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 15:35:47 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 14ms (Views: 1.9ms | ActiveRecord: 1.6ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2016-02-10 15:35:47 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Feb 10 2016", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (1.0ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2016-02-10 21:35:47.368201"], ["updated_at", "2016-02-10 21:35:47.371164"], ["id", 614371357]]  (1.6ms) COMMIT SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 4.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 15:35:47 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 20ms (Views: 2.3ms | ActiveRecord: 2.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 15:35:47 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.1ms) Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 1.6ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-02-10 15:35:47 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"the end!", "isCompleted"=>false, "dueOn"=>"Apr 06 2016", "goal"=>{"description"=>"the end!"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (1.0ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "the end!"], ["due_on", "2016-04-06"], ["created_at", "2016-02-10 21:35:47.837936"], ["updated_at", "2016-02-10 21:35:47.837936"]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-02-10 21:35:47.842088"], ["updated_at", "2016-02-10 21:35:47.842088"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 3.4ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 15:35:47 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.7ms) Completed 200 OK in 18ms (Views: 2.4ms | ActiveRecord: 1.9ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-02-10 15:35:48 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"When should I finish this?", "isCompleted"=>false, "dueOn"=>"", "goal"=>{"description"=>"When should I finish this?"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "When should I finish this?"], ["created_at", "2016-02-10 21:35:48.082810"], ["updated_at", "2016-02-10 21:35:48.082810"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298888], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-02-10 21:35:48.088508"], ["updated_at", "2016-02-10 21:35:48.088508"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298888], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 4.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 15:35:48 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298888], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 17ms (Views: 1.9ms | ActiveRecord: 1.8ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-02-10 15:35:48 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"Feb 24 2016", "goal"=>{"description"=>"all of the things"}} Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2016-02-24"], ["created_at", "2016-02-10 21:35:48.327805"], ["updated_at", "2016-02-10 21:35:48.327805"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298889], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-02-10 21:35:48.332617"], ["updated_at", "2016-02-10 21:35:48.332617"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298889], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 3.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (2.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.1ms) ROLLBACK  (3.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074)  (6.3ms) COMMIT  (11.8ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2016-02-03 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2016-02-09 00:00:00.000000"], ["updated_at", "2016-02-10 21:37:38.044137"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2016-02-02 00:00:00.000000"], ["updated_at", "2016-02-10 21:37:38.047678"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2016-02-03 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2016-02-10 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2016-02-10 00:00:00.000000"], ["updated_at", "2016-02-10 21:37:38.057936"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2016-02-10 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2016-02-10 21:37:38.063174"], ["updated_at", "2016-02-10 21:37:38.063174"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2016-02-10"], ["created_at", "2016-02-10 21:37:38.068094"], ["updated_at", "2016-02-10 21:37:38.068094"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.1ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.3ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2016-02-10 21:37:38', '2016-02-10 21:37:38', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2016-02-10', '2016-02-10 21:37:38', '2016-02-10 21:37:38', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2016-02-10 21:37:38.000000', '2016-02-10', '2016-02-10 21:37:38', '2016-02-10 21:37:38', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2016-02-10', '2016-02-10 21:37:38', '2016-02-10 21:37:38', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2016-02-10 21:37:38', '2016-02-10 21:37:38', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2016-02-10 21:37:38.000000', '2016-02-10', '2016-02-10 21:37:38', '2016-02-10 21:37:38', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2016-02-09', '2016-02-10 21:37:38', '2016-02-10 21:37:38', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2016-02-08', '2016-02-10 21:37:38', '2016-02-10 21:37:38', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2016-02-10 21:37:38.000000', '2016-02-10', '2016-02-10 21:37:38', '2016-02-10 21:37:38', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2016-02-10', '2016-02-10 21:37:38', '2016-02-10 21:37:38', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2016-02-10 21:37:38.000000', '2016-02-10', '2016-02-10 21:37:38', '2016-02-10 21:37:38', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2016-02-10', '2016-02-10 21:37:38', '2016-02-10 21:37:38', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2016-02-10 21:37:38.000000', '2016-02-10', '2016-02-10 21:37:38', '2016-02-10 21:37:38', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2016-02-10 21:37:38', '2016-02-10 21:37:38', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-09 21:37:38.000000', '2016-02-10 21:37:38', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-10 21:37:38.000000', '2016-02-10 21:37:38', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-09 21:37:38.000000', '2016-02-10 21:37:38', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-10 21:37:38.000000', '2016-02-10 21:37:38', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2016-02-10 21:37:38', '2016-02-10 21:37:38', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2016-02-10 21:37:38', '2016-02-10 21:37:38', 369066228, 816972181) Fixture Delete (0.5ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2016-02-10 21:37:38', '2016-02-10 21:37:38', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2016-02-10 21:37:38', '2016-02-10 21:37:38', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2016-02-10 21:37:38', '2016-02-10 21:37:38', 10484799, 183235640) Fixture Delete (0.4ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2016-02-10 21:37:38', '2016-02-10 21:37:38', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2016-02-10 21:37:38', '2016-02-10 21:37:38', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2016-02-10 21:37:38', '2016-02-10 21:37:38', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2016-02-10 21:37:38', '2016-02-10 21:37:38', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2016-02-10 21:37:38', '2016-02-10 21:37:38', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2016-02-10') AND ("social_networking_goals"."due_on" >= '2016-02-09') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2016-02-10') AND ("social_networking_goals"."due_on" >= '2016-02-09')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2016-02-10') AND ("social_networking_goals"."due_on" >= '2016-02-09')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2016-02-10"], ["completed_at", "2016-02-08 00:00:00.000000"], ["created_at", "2016-02-10 21:37:38.149320"], ["updated_at", "2016-02-10 21:37:38.149320"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2016-02-11"], ["created_at", "2016-02-10 21:37:38.153579"], ["updated_at", "2016-02-10 21:37:38.153579"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2016-02-10 21:37:38.159383"], ["updated_at", "2016-02-10 21:37:38.159383"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 15:37:38 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.5ms) Completed 200 OK in 103ms (Views: 73.7ms | ActiveRecord: 4.8ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-02-10 15:37:38 -0600 Started GET "/assets/application.js" for 127.0.0.1 at 2016-02-10 15:37:38 -0600  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 15:37:39 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 16ms (Views: 2.2ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2016-02-10 15:37:39 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"Mar 09 2016", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2016-03-09"], ["updated_at", "2016-02-10 21:37:39.351343"], ["id", 53334230]]  (1.5ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 3.7ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 15:37:39 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 14ms (Views: 2.1ms | ActiveRecord: 1.7ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2016-02-10 15:37:39 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Feb 10 2016", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2016-02-10 21:37:39.545446"], ["updated_at", "2016-02-10 21:37:39.548354"], ["id", 809335042]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2016-02-10 21:37:39.556788"], ["updated_at", "2016-02-10 21:37:39.556788"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 18ms (Views: 0.3ms | ActiveRecord: 5.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 15:37:39 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.3ms) Completed 200 OK in 15ms (Views: 2.0ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2016-02-10 15:37:39 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Feb 10 2016", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2016-02-10 21:37:39.703197"], ["updated_at", "2016-02-10 21:37:39.705732"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 15:37:39 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 14ms (Views: 2.0ms | ActiveRecord: 1.6ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-02-10 15:37:39 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"Feb 24 2016", "goal"=>{"description"=>"all of the things"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (1.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2016-02-24"], ["created_at", "2016-02-10 21:37:39.955182"], ["updated_at", "2016-02-10 21:37:39.955182"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-02-10 21:37:39.960887"], ["updated_at", "2016-02-10 21:37:39.960887"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 4.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 15:37:40 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.2ms) Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 1.7ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-02-10 15:37:40 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"the end!", "isCompleted"=>false, "dueOn"=>"Apr 06 2016", "goal"=>{"description"=>"the end!"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.7ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "the end!"], ["due_on", "2016-04-06"], ["created_at", "2016-02-10 21:37:40.200403"], ["updated_at", "2016-02-10 21:37:40.200403"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298883], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-02-10 21:37:40.205085"], ["updated_at", "2016-02-10 21:37:40.205085"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298883], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 4.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 15:37:40 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298882], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298883], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 18ms (Views: 2.0ms | ActiveRecord: 2.0ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-02-10 15:37:40 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"When should I finish this?", "isCompleted"=>false, "dueOn"=>"", "goal"=>{"description"=>"When should I finish this?"}} Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "When should I finish this?"], ["created_at", "2016-02-10 21:37:40.442195"], ["updated_at", "2016-02-10 21:37:40.442195"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298884], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-02-10 21:37:40.449208"], ["updated_at", "2016-02-10 21:37:40.449208"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298884], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 3.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2016-02-03 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2016-02-09 00:00:00.000000"], ["updated_at", "2016-02-10 21:37:40.539031"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2016-02-02 00:00:00.000000"], ["updated_at", "2016-02-10 21:37:40.542605"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2016-02-03 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2016-02-10 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.6ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2016-02-10 00:00:00.000000"], ["updated_at", "2016-02-10 21:37:40.550204"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2016-02-10 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (2.6ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.1ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2016-02-10 21:37:40', '2016-02-10 21:37:40', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2016-02-10', '2016-02-10 21:37:40', '2016-02-10 21:37:40', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2016-02-10 21:37:40.000000', '2016-02-10', '2016-02-10 21:37:40', '2016-02-10 21:37:40', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2016-02-10', '2016-02-10 21:37:40', '2016-02-10 21:37:40', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2016-02-10 21:37:40', '2016-02-10 21:37:40', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2016-02-10 21:37:40.000000', '2016-02-10', '2016-02-10 21:37:40', '2016-02-10 21:37:40', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2016-02-09', '2016-02-10 21:37:40', '2016-02-10 21:37:40', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2016-02-08', '2016-02-10 21:37:40', '2016-02-10 21:37:40', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2016-02-10 21:37:40.000000', '2016-02-10', '2016-02-10 21:37:40', '2016-02-10 21:37:40', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2016-02-10', '2016-02-10 21:37:40', '2016-02-10 21:37:40', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2016-02-10 21:37:40.000000', '2016-02-10', '2016-02-10 21:37:40', '2016-02-10 21:37:40', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2016-02-10', '2016-02-10 21:37:40', '2016-02-10 21:37:40', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2016-02-10 21:37:40.000000', '2016-02-10', '2016-02-10 21:37:40', '2016-02-10 21:37:40', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2016-02-10 21:37:40', '2016-02-10 21:37:40', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-09 21:37:40.000000', '2016-02-10 21:37:40', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-10 21:37:40.000000', '2016-02-10 21:37:40', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-09 21:37:40.000000', '2016-02-10 21:37:40', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-10 21:37:40.000000', '2016-02-10 21:37:40', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2016-02-10 21:37:40', '2016-02-10 21:37:40', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2016-02-10 21:37:40', '2016-02-10 21:37:40', 369066228, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2016-02-10 21:37:40', '2016-02-10 21:37:40', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2016-02-10 21:37:40', '2016-02-10 21:37:40', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2016-02-10 21:37:40', '2016-02-10 21:37:40', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2016-02-10 21:37:40', '2016-02-10 21:37:40', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2016-02-10 21:37:40', '2016-02-10 21:37:40', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2016-02-10 21:37:40', '2016-02-10 21:37:40', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2016-02-10 21:37:40', '2016-02-10 21:37:40', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.1ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2016-02-10 21:37:40', '2016-02-10 21:37:40', 809335042, 'SocialNetworking::Goal', 809335042)  (0.6ms) COMMIT  (1.2ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 369066228], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 369066228], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" IS NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2016-02-03 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2016-02-09 00:00:00.000000"], ["updated_at", "2016-02-10 21:37:40.942610"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2016-02-03 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2016-02-10 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2016-02-10 00:00:00.000000"], ["updated_at", "2016-02-10 21:37:40.958160"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2016-02-10 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2016-02-10 21:37:40.986824"], ["updated_at", "2016-02-10 21:37:40.986824"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2016-02-10 21:37:40.989306"], ["updated_at", "2016-02-10 21:37:40.989306"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2016-02-10 21:37:40.995193"], ["updated_at", "2016-02-10 21:37:40.995193"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2016-02-10 21:37:40.998255"], ["updated_at", "2016-02-10 21:37:40.998255"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2016-02-10 21:37:41.004626"], ["updated_at", "2016-02-10 21:37:41.004626"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2016-02-10 21:37:41.006925"], ["updated_at", "2016-02-10 21:37:41.006925"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2016-02-10 21:37:41.019595"], ["updated_at", "2016-02-10 21:37:41.019595"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2016-02-10 21:37:41.021870"], ["updated_at", "2016-02-10 21:37:41.021870"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2016-02-10 23:59:59.999999' AND created_at >= '2016-02-10 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2016-02-10 00:00:00.000000"], ["updated_at", "2016-02-10 21:37:41.092946"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2016-02-10 23:59:59.999999' AND created_at >= '2016-02-10 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2016-02-03 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2016-02-09 00:00:00.000000"], ["updated_at", "2016-02-10 21:37:41.100353"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2016-02-02 00:00:00.000000"], ["updated_at", "2016-02-10 21:37:41.103415"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2016-02-03 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2016-02-09 00:00:00.000000"], ["updated_at", "2016-02-10 21:37:41.108519"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "text", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 816972181], ["text", "foo"], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2016-02-10 21:37:41.116119"], ["updated_at", "2016-02-10 21:37:41.116119"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187877]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 816972181) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 816972181], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2016-02-10 21:37:41.130727"], ["updated_at", "2016-02-10 21:37:41.130727"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093911]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-02-10 21:37:41.189033"], ["updated_at", "2016-02-10 21:37:41.189033"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2016-02-10 21:37:41.193977"], ["updated_at", "2016-02-10 21:37:41.193977"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2016-02-10 21:37:41.197508"], ["updated_at", "2016-02-10 21:37:41.197508"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.9ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.6ms) SocialNetworking::Mailer#notify: processed outbound mail in 289.3ms Sent mail to obama@ex.co (7.1ms) Date: Wed, 10 Feb 2016 15:37:41 -0600 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <56bbada5e87c9_433f3fdccd4602009188e@FSMC02GN1YSDV7N.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.2ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2016-02-03 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2016-02-09 00:00:00.000000"], ["updated_at", "2016-02-10 21:37:42.031876"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2016-02-02 00:00:00.000000"], ["updated_at", "2016-02-10 21:37:42.035462"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2016-02-03 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2016-02-10 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2016-02-10 00:00:00.000000"], ["updated_at", "2016-02-10 21:37:42.042154"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2016-02-10 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2016-02-10 21:37:42.137856"], ["updated_at", "2016-02-10 21:37:42.137856"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2016-02-10 21:37:42.140466"], ["updated_at", "2016-02-10 21:37:42.140466"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (2.5ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2016-02-10', '2016-02-10 22:13:54', '2016-02-10 22:13:54', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2016-02-10 22:13:54.000000', '2016-02-10', '2016-02-10 22:13:54', '2016-02-10 22:13:54', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2016-02-10', '2016-02-10 22:13:54', '2016-02-10 22:13:54', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2016-02-10 22:13:54', '2016-02-10 22:13:54', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2016-02-10 22:13:54.000000', '2016-02-10', '2016-02-10 22:13:54', '2016-02-10 22:13:54', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2016-02-09', '2016-02-10 22:13:54', '2016-02-10 22:13:54', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2016-02-08', '2016-02-10 22:13:54', '2016-02-10 22:13:54', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2016-02-10 22:13:54.000000', '2016-02-10', '2016-02-10 22:13:54', '2016-02-10 22:13:54', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2016-02-10', '2016-02-10 22:13:54', '2016-02-10 22:13:54', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2016-02-10 22:13:54.000000', '2016-02-10', '2016-02-10 22:13:54', '2016-02-10 22:13:54', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2016-02-10', '2016-02-10 22:13:54', '2016-02-10 22:13:54', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2016-02-10 22:13:54.000000', '2016-02-10', '2016-02-10 22:13:54', '2016-02-10 22:13:54', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2016-02-10 22:13:54', '2016-02-10 22:13:54', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2016-02-10 22:13:54', '2016-02-10 22:13:54', 369066228, 816972181)  (0.5ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (1.0ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2016-02-09 00:00:00.000000"], ["updated_at", "2016-02-10 22:13:54.728161"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (1.0ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2016-02-03 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2016-02-09 00:00:00.000000"], ["updated_at", "2016-02-10 22:13:54.741124"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2016-02-02 00:00:00.000000"], ["updated_at", "2016-02-10 22:13:54.745407"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2016-02-03 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2016-02-10 23:59:59.999999' AND created_at >= '2016-02-10 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2016-02-10 00:00:00.000000"], ["updated_at", "2016-02-10 22:13:54.752925"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2016-02-10 23:59:59.999999' AND created_at >= '2016-02-10 00:00:00.000000')  (0.3ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SQL (1.0ms) INSERT INTO "social_networking_comments" ("participant_id", "text", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 816972181], ["text", "foo"], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2016-02-10 22:13:54.785219"], ["updated_at", "2016-02-10 22:13:54.785219"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 1]] SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 816972181) LIMIT 1 SQL (0.7ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 816972181], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2016-02-10 22:13:54.825391"], ["updated_at", "2016-02-10 22:13:54.825391"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 1]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (18.2ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2016-02-10 22:13:54', '2016-02-10 22:13:54', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2016-02-10 22:13:54', '2016-02-10 22:13:54', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-09 22:13:54.000000', '2016-02-10 22:13:54', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-10 22:13:54.000000', '2016-02-10 22:13:54', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-09 22:13:54.000000', '2016-02-10 22:13:54', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-10 22:13:54.000000', '2016-02-10 22:13:54', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2016-02-10 22:13:54', '2016-02-10 22:13:54', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2016-02-10 22:13:54', '2016-02-10 22:13:54', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2016-02-10 22:13:54', '2016-02-10 22:13:54', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2016-02-10 22:13:54', '2016-02-10 22:13:54', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2016-02-10 22:13:54', '2016-02-10 22:13:54', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2016-02-10 22:13:54', '2016-02-10 22:13:54', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2016-02-10 22:13:54', '2016-02-10 22:13:54', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2016-02-10 22:13:54', '2016-02-10 22:13:54', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.4ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.5ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.3ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 369066228], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 369066228], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 11ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.4ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2016-02-10 22:13:55.035661"], ["updated_at", "2016-02-10 22:13:55.035661"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2016-02-10 22:13:55.043168"], ["updated_at", "2016-02-10 22:13:55.043168"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2016-02-10 22:13:55.050347"], ["updated_at", "2016-02-10 22:13:55.050347"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2016-02-10 22:13:55.053027"], ["updated_at", "2016-02-10 22:13:55.053027"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2016-02-10 22:13:55.058303"], ["updated_at", "2016-02-10 22:13:55.058303"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2016-02-10 22:13:55.060377"], ["updated_at", "2016-02-10 22:13:55.060377"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2016-02-10 22:13:55.070456"], ["updated_at", "2016-02-10 22:13:55.070456"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2016-02-10 22:13:55.072570"], ["updated_at", "2016-02-10 22:13:55.072570"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235644]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (2.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2016-02-03 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.4ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2016-02-09 00:00:00.000000"], ["updated_at", "2016-02-10 22:13:55.330757"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2016-02-03 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2016-02-10 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2016-02-10 00:00:00.000000"], ["updated_at", "2016-02-10 22:13:55.346113"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2016-02-10 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 12ms (Views: 11.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.3ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.1ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2016-02-03 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.7ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2016-02-09 00:00:00.000000"], ["updated_at", "2016-02-10 22:13:56.014757"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.4ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2016-02-02 00:00:00.000000"], ["updated_at", "2016-02-10 22:13:56.019863"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2016-02-03 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2016-02-10 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2016-02-10 00:00:00.000000"], ["updated_at", "2016-02-10 22:13:56.027235"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2016-02-10 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2016-02-03 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2016-02-09 00:00:00.000000"], ["updated_at", "2016-02-10 22:13:56.140310"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2016-02-02 00:00:00.000000"], ["updated_at", "2016-02-10 22:13:56.144424"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2016-02-03 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2016-02-10 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2016-02-10 00:00:00.000000"], ["updated_at", "2016-02-10 22:13:56.152319"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2016-02-10 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2016-02-11"], ["created_at", "2016-02-10 22:13:56.175408"], ["updated_at", "2016-02-10 22:13:56.175408"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2016-02-10 22:13:56.179498"], ["updated_at", "2016-02-10 22:13:56.179498"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2016-02-10"], ["completed_at", "2016-02-08 00:00:00.000000"], ["created_at", "2016-02-10 22:13:56.188667"], ["updated_at", "2016-02-10 22:13:56.188667"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2016-02-10') AND ("social_networking_goals"."due_on" >= '2016-02-09') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2016-02-10') AND ("social_networking_goals"."due_on" >= '2016-02-09')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2016-02-10') AND ("social_networking_goals"."due_on" >= '2016-02-09')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2016-02-10 22:13:56.201315"], ["updated_at", "2016-02-10 22:13:56.201315"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2016-02-10"], ["created_at", "2016-02-10 22:13:56.206334"], ["updated_at", "2016-02-10 22:13:56.206334"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-02-10 22:13:56.214506"], ["updated_at", "2016-02-10 22:13:56.214506"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2016-02-10 22:13:56.219247"], ["updated_at", "2016-02-10 22:13:56.219247"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2016-02-10 22:13:56.222082"], ["updated_at", "2016-02-10 22:13:56.222082"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2016-02-10 22:13:56.368316"], ["updated_at", "2016-02-10 22:13:56.368316"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803339], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2016-02-10 22:13:56.371571"], ["updated_at", "2016-02-10 22:13:56.371571"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 16:13:57 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (2.7ms) Completed 200 OK in 103ms (Views: 79.4ms | ActiveRecord: 4.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-02-10 16:13:57 -0600 Started GET "/assets/application.js" for 127.0.0.1 at 2016-02-10 16:13:57 -0600 SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2016-02-10 16:13:57 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"Mar 09 2016", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.7ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.7ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2016-03-09"], ["updated_at", "2016-02-10 22:13:57.882219"], ["id", 53334230]]  (5.7ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 8.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 16:13:57 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 17ms (Views: 2.2ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2016-02-10 16:13:58 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Feb 10 2016", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.9ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2016-02-10 22:13:58.176960"], ["updated_at", "2016-02-10 22:13:58.180103"], ["id", 614371357]]  (1.3ms) COMMIT SocialNetworking::Comment Load (0.5ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 4.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 16:13:58 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 16ms (Views: 2.5ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2016-02-10 16:13:58 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Feb 10 2016", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.6ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2016-02-10 22:13:58.442487"], ["updated_at", "2016-02-10 22:13:58.445621"], ["id", 809335042]]  (1.6ms) COMMIT  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2016-02-10 22:13:58.451484"], ["updated_at", "2016-02-10 22:13:58.451484"]]  (0.3ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 17ms (Views: 0.4ms | ActiveRecord: 4.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 16:13:58 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.6ms) Completed 200 OK in 19ms (Views: 2.3ms | ActiveRecord: 2.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 16:13:58 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 16ms (Views: 2.1ms | ActiveRecord: 1.9ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-02-10 16:13:58 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"When should I finish this?", "isCompleted"=>false, "dueOn"=>"", "goal"=>{"description"=>"When should I finish this?"}} Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.8ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "When should I finish this?"], ["created_at", "2016-02-10 22:13:58.908270"], ["updated_at", "2016-02-10 22:13:58.908270"]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-02-10 22:13:58.926935"], ["updated_at", "2016-02-10 22:13:58.926935"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 26ms (Views: 0.3ms | ActiveRecord: 4.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 16:13:58 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 17ms (Views: 1.9ms | ActiveRecord: 2.0ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-02-10 16:13:59 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"the end!", "isCompleted"=>false, "dueOn"=>"Apr 06 2016", "goal"=>{"description"=>"the end!"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.9ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "the end!"], ["due_on", "2016-04-06"], ["created_at", "2016-02-10 22:13:59.149518"], ["updated_at", "2016-02-10 22:13:59.149518"]]  (1.3ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298888], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-02-10 22:13:59.154292"], ["updated_at", "2016-02-10 22:13:59.154292"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298888], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 4.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 16:13:59 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298887], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298888], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.9ms) Completed 200 OK in 18ms (Views: 2.9ms | ActiveRecord: 1.8ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-02-10 16:13:59 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"Feb 24 2016", "goal"=>{"description"=>"all of the things"}} Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2016-02-24"], ["created_at", "2016-02-10 22:13:59.387390"], ["updated_at", "2016-02-10 22:13:59.387390"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298889], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-02-10 22:13:59.392753"], ["updated_at", "2016-02-10 22:13:59.392753"]]  (0.5ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298889], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 3.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.6ms) SocialNetworking::Mailer#notify: processed outbound mail in 225.7ms Sent mail to obama@ex.co (9.3ms) Date: Wed, 10 Feb 2016 16:13:59 -0600 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <56bbb627abdc7_5f6f3fd0d9c601f8255e@FSMC02GN1YSDV7N.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb (1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2016-02-03 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2016-02-09 00:00:00.000000"], ["updated_at", "2016-02-10 22:13:59.737322"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2016-02-02 00:00:00.000000"], ["updated_at", "2016-02-10 22:13:59.741693"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2016-02-03 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2016-02-10 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2016-02-10 00:00:00.000000"], ["updated_at", "2016-02-10 22:13:59.751767"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2016-02-10 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" IS NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.4ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.7ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.4ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (7.4ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2016-02-10 22:13:59', '2016-02-10 22:13:59', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2016-02-10', '2016-02-10 22:13:59', '2016-02-10 22:13:59', 809335042, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2016-02-10 22:13:59.000000', '2016-02-10', '2016-02-10 22:13:59', '2016-02-10 22:13:59', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2016-02-10', '2016-02-10 22:13:59', '2016-02-10 22:13:59', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2016-02-10 22:13:59', '2016-02-10 22:13:59', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2016-02-10 22:13:59.000000', '2016-02-10', '2016-02-10 22:13:59', '2016-02-10 22:13:59', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2016-02-09', '2016-02-10 22:13:59', '2016-02-10 22:13:59', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2016-02-08', '2016-02-10 22:13:59', '2016-02-10 22:13:59', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2016-02-10 22:13:59.000000', '2016-02-10', '2016-02-10 22:13:59', '2016-02-10 22:13:59', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2016-02-10', '2016-02-10 22:13:59', '2016-02-10 22:13:59', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2016-02-10 22:13:59.000000', '2016-02-10', '2016-02-10 22:13:59', '2016-02-10 22:13:59', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2016-02-10', '2016-02-10 22:13:59', '2016-02-10 22:13:59', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2016-02-10 22:13:59.000000', '2016-02-10', '2016-02-10 22:13:59', '2016-02-10 22:13:59', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2016-02-10 22:13:59', '2016-02-10 22:13:59', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-09 22:13:59.000000', '2016-02-10 22:13:59', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-10 22:13:59.000000', '2016-02-10 22:13:59', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-09 22:13:59.000000', '2016-02-10 22:13:59', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-10 22:13:59.000000', '2016-02-10 22:13:59', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2016-02-10 22:13:59', '2016-02-10 22:13:59', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2016-02-10 22:13:59', '2016-02-10 22:13:59', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2016-02-10 22:13:59', '2016-02-10 22:13:59', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2016-02-10 22:13:59', '2016-02-10 22:13:59', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2016-02-10 22:13:59', '2016-02-10 22:13:59', 10484799, 183235640) Fixture Delete (0.5ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2016-02-10 22:13:59', '2016-02-10 22:13:59', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2016-02-10 22:13:59', '2016-02-10 22:13:59', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2016-02-10 22:13:59', '2016-02-10 22:13:59', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.1ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2016-02-10 22:13:59', '2016-02-10 22:13:59', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2016-02-10 22:13:59', '2016-02-10 22:13:59', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.1ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (2.4ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "participants" Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.1ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2016-02-10', '2016-02-10 22:25:53', '2016-02-10 22:25:53', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2016-02-10 22:25:53.000000', '2016-02-10', '2016-02-10 22:25:53', '2016-02-10 22:25:53', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2016-02-10', '2016-02-10 22:25:53', '2016-02-10 22:25:53', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2016-02-10 22:25:53', '2016-02-10 22:25:53', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2016-02-10 22:25:53.000000', '2016-02-10', '2016-02-10 22:25:53', '2016-02-10 22:25:53', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2016-02-09', '2016-02-10 22:25:53', '2016-02-10 22:25:53', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2016-02-08', '2016-02-10 22:25:53', '2016-02-10 22:25:53', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2016-02-10 22:25:53.000000', '2016-02-10', '2016-02-10 22:25:53', '2016-02-10 22:25:53', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2016-02-10', '2016-02-10 22:25:53', '2016-02-10 22:25:53', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2016-02-10 22:25:53.000000', '2016-02-10', '2016-02-10 22:25:53', '2016-02-10 22:25:53', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2016-02-10', '2016-02-10 22:25:53', '2016-02-10 22:25:53', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2016-02-10 22:25:53.000000', '2016-02-10', '2016-02-10 22:25:53', '2016-02-10 22:25:53', 16804933, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2016-02-10 22:25:53', '2016-02-10 22:25:53', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2016-02-10 22:25:53', '2016-02-10 22:25:53', 369066228, 816972181)  (0.5ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2016-02-03 00:00:00.000000') Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2016-02-09 00:00:00.000000"], ["updated_at", "2016-02-10 22:25:53.994781"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2016-02-02 00:00:00.000000"], ["updated_at", "2016-02-10 22:25:53.999154"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at >= '2016-02-03 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2016-02-09 00:00:00.000000"], ["updated_at", "2016-02-10 22:25:54.006262"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2016-02-10 23:59:59.999999' AND created_at >= '2016-02-10 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "I'm writing tests."], ["created_at", "2016-02-10 00:00:00.000000"], ["updated_at", "2016-02-10 22:25:54.013338"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_on_the_mind_statements" WHERE (created_at <= '2016-02-10 23:59:59.999999' AND created_at >= '2016-02-10 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SocialNetworking::Like Exists (0.9ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 576803333 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 816972181) LIMIT 1 SQL (0.5ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 816972181], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2016-02-10 22:25:54.044194"], ["updated_at", "2016-02-10 22:25:54.044194"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.3ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 1]] SQL (0.2ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 576803333]] SQL (0.6ms) INSERT INTO "social_networking_comments" ("participant_id", "text", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 816972181], ["text", "foo"], ["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"], ["created_at", "2016-02-10 22:25:54.071294"], ["updated_at", "2016-02-10 22:25:54.071294"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.2ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 1]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.5ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (2.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_goals.html.erb (1.6ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isCompleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"1234"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"description"=>"run a marathon", "isDeleted"=>true, "id"=>"1234"} Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::GoalsController#index as HTML Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_recipient_nudges.html.erb (0.9ms)  (0.1ms) ROLLBACK  (1.8ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2016-02-10 22:25:54', '2016-02-10 22:25:54', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_likes" Fixture Insert (0.1ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2016-02-10 22:25:54', '2016-02-10 22:25:54', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-09 22:25:54.000000', '2016-02-10 22:25:54', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-10 22:25:54.000000', '2016-02-10 22:25:54', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-09 22:25:54.000000', '2016-02-10 22:25:54', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-10 22:25:54.000000', '2016-02-10 22:25:54', 316146702, 816972181, 700141617) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2016-02-10 22:25:54', '2016-02-10 22:25:54', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2016-02-10 22:25:54', '2016-02-10 22:25:54', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2016-02-10 22:25:54', '2016-02-10 22:25:54', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.5ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2016-02-10 22:25:54', '2016-02-10 22:25:54', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2016-02-10 22:25:54', '2016-02-10 22:25:54', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2016-02-10 22:25:54', '2016-02-10 22:25:54', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2016-02-10 22:25:54', '2016-02-10 22:25:54', 183235640, 816972181) Fixture Delete (0.4ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2016-02-10 22:25:54', '2016-02-10 22:25:54', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.3ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.4ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2016-02-10 22:25:54.682803"], ["updated_at", "2016-02-10 22:25:54.682803"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235641], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2016-02-10 22:25:54.691144"], ["updated_at", "2016-02-10 22:25:54.691144"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_shared_items"  (0.1ms) ROLLBACK  (0.3ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2016-02-10 22:25:54.699975"], ["updated_at", "2016-02-10 22:25:54.699975"]] SQL (0.3ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235642], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2016-02-10 22:25:54.702579"], ["updated_at", "2016-02-10 22:25:54.702579"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235642]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 183235640]] SocialNetworking::ProfileAnswer Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."social_networking_profile_id" = $1 LIMIT 1 [["social_networking_profile_id", 183235640]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.2ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2016-02-10 22:25:54.714137"], ["updated_at", "2016-02-10 22:25:54.714137"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235643], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2016-02-10 22:25:54.716278"], ["updated_at", "2016-02-10 22:25:54.716278"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Profile Exists (0.2ms) SELECT 1 AS one FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = 700141617 LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_profiles" ("participant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["participant_id", 700141617], ["created_at", "2016-02-10 22:25:54.721899"], ["updated_at", "2016-02-10 22:25:54.721899"]] SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 183235644], ["item_type", "SocialNetworking::Profile"], ["action_type", "Shared"], ["participant_id", 700141617], ["created_at", "2016-02-10 22:25:54.724045"], ["updated_at", "2016-02-10 22:25:54.724045"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_on_my_mind_statements.html.erb (1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilesController#update as HTML Parameters: {"id"=>"1"} Unpermitted parameter: id Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-02-10 22:25:54.864322"], ["updated_at", "2016-02-10 22:25:54.864322"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2016-02-10 22:25:54.869163"], ["updated_at", "2016-02-10 22:25:54.869163"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803338], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2016-02-10 22:25:54.872337"], ["updated_at", "2016-02-10 22:25:54.872337"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::NudgesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::CommentsController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::OnTheMindStatementsController#create as HTML Parameters: {"description"=>"foo"} Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.3ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 5 [["participant_id", 1]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 5 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 5 [["participant_id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_comments.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 16:25:55 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (3.2ms) Completed 200 OK in 79ms (Views: 54.6ms | ActiveRecord: 4.9ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-02-10 16:25:55 -0600 Started GET "/assets/application.js" for 127.0.0.1 at 2016-02-10 16:25:55 -0600 SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 alpha"]] Started POST "/social_networking/goals/809335042" for 127.0.0.1 at 2016-02-10 16:25:56 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"809335042", "description"=>"p1 alpha", "isCompleted"=>true, "isDeleted"=>false, "dueOn"=>"Feb 10 2016", "goal"=>{"id"=>"809335042", "description"=>"p1 alpha"}} Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 809335042]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "completed_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["completed_at", "2016-02-10 22:25:56.015595"], ["updated_at", "2016-02-10 22:25:56.019158"], ["id", 809335042]]  (1.5ms) COMMIT  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"], ["action_type", "Completed"], ["participant_id", 700141617], ["created_at", "2016-02-10 22:25:56.026388"], ["updated_at", "2016-02-10 22:25:56.026388"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 20ms (Views: 0.3ms | ActiveRecord: 6.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 16:25:56 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 19ms (Views: 2.3ms | ActiveRecord: 2.3ms) SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 gamma"]] Started POST "/social_networking/goals/614371357" for 127.0.0.1 at 2016-02-10 16:25:56 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"614371357", "description"=>"p1 gamma", "isCompleted"=>false, "isDeleted"=>true, "dueOn"=>"Feb 10 2016", "goal"=>{"id"=>"614371357", "description"=>"p1 gamma"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 614371357]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) UPDATE "social_networking_goals" SET "deleted_at" = $1, "updated_at" = $2 WHERE "social_networking_goals"."id" = $3 [["deleted_at", "2016-02-10 22:25:56.174278"], ["updated_at", "2016-02-10 22:25:56.177296"], ["id", 614371357]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.7ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 16:25:56 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.8ms) Completed 200 OK in 19ms (Views: 2.7ms | ActiveRecord: 2.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 16:25:56 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 16ms (Views: 2.2ms | ActiveRecord: 1.8ms) SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2016-02-10 16:25:56 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"Mar 09 2016", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.6ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2016-03-09"], ["updated_at", "2016-02-10 22:25:56.610053"], ["id", 53334230]]  (1.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 16:25:56 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 16ms (Views: 2.2ms | ActiveRecord: 1.8ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-02-10 16:25:56 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"the end!", "isCompleted"=>false, "dueOn"=>"Apr 06 2016", "goal"=>{"description"=>"the end!"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.5ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "the end!"], ["due_on", "2016-04-06"], ["created_at", "2016-02-10 22:25:56.894615"], ["updated_at", "2016-02-10 22:25:56.894615"]]  (1.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-02-10 22:25:56.900022"], ["updated_at", "2016-02-10 22:25:56.900022"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 16:25:56 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.4ms) Completed 200 OK in 17ms (Views: 2.2ms | ActiveRecord: 1.8ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-02-10 16:25:57 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"When should I finish this?", "isCompleted"=>false, "dueOn"=>"", "goal"=>{"description"=>"When should I finish this?"}} Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.7ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "When should I finish this?"], ["created_at", "2016-02-10 22:25:57.135811"], ["updated_at", "2016-02-10 22:25:57.135811"]]  (1.6ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-02-10 22:25:57.141627"], ["updated_at", "2016-02-10 22:25:57.141627"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 4.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-02-10 16:25:57 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298879], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298880], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (1.5ms) Completed 200 OK in 18ms (Views: 2.4ms | ActiveRecord: 2.1ms) Started POST "/social_networking/goals" for 127.0.0.1 at 2016-02-10 16:25:57 -0600 Processing by SocialNetworking::GoalsController#create as HTML Parameters: {"description"=>"all of the things", "isCompleted"=>false, "dueOn"=>"Feb 24 2016", "goal"=>{"description"=>"all of the things"}} Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.1ms) BEGIN Participant Load (0.8ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.5ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "all of the things"], ["due_on", "2016-02-24"], ["created_at", "2016-02-10 22:25:57.473704"], ["updated_at", "2016-02-10 22:25:57.473704"]]  (1.2ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "action_type", "participant_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"], ["action_type", "Created"], ["participant_id", 700141617], ["created_at", "2016-02-10 22:25:57.478571"], ["updated_at", "2016-02-10 22:25:57.478571"]]  (0.4ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 1002298881], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/nudges/_initiator_nudges.html.erb (0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (3.3ms) ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "participants" Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.3ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.2ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2016-02-10 22:25:57', '2016-02-10 22:25:57', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.2ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2016-02-10', '2016-02-10 22:25:57', '2016-02-10 22:25:57', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2016-02-10 22:25:57.000000', '2016-02-10', '2016-02-10 22:25:57', '2016-02-10 22:25:57', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2016-02-10', '2016-02-10 22:25:57', '2016-02-10 22:25:57', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2016-02-10 22:25:57', '2016-02-10 22:25:57', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2016-02-10 22:25:57.000000', '2016-02-10', '2016-02-10 22:25:57', '2016-02-10 22:25:57', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2016-02-09', '2016-02-10 22:25:57', '2016-02-10 22:25:57', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2016-02-08', '2016-02-10 22:25:57', '2016-02-10 22:25:57', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2016-02-10 22:25:57.000000', '2016-02-10', '2016-02-10 22:25:57', '2016-02-10 22:25:57', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2016-02-10', '2016-02-10 22:25:57', '2016-02-10 22:25:57', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2016-02-10 22:25:57.000000', '2016-02-10', '2016-02-10 22:25:57', '2016-02-10 22:25:57', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2016-02-10', '2016-02-10 22:25:57', '2016-02-10 22:25:57', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2016-02-10 22:25:57.000000', '2016-02-10', '2016-02-10 22:25:57', '2016-02-10 22:25:57', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.2ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2016-02-10 22:25:57', '2016-02-10 22:25:57', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-09 22:25:57.000000', '2016-02-10 22:25:57', 503297012, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-10 22:25:57.000000', '2016-02-10 22:25:57', 366290861, 700141617, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-09 22:25:57.000000', '2016-02-10 22:25:57', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-02-10 22:25:57.000000', '2016-02-10 22:25:57', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.5ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2016-02-10 22:25:57', '2016-02-10 22:25:57', 576803333, 700141617) Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2016-02-10 22:25:57', '2016-02-10 22:25:57', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2016-02-10 22:25:57', '2016-02-10 22:25:57', 465319974, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2016-02-10 22:25:57', '2016-02-10 22:25:57', 45443486, 333620620) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2016-02-10 22:25:57', '2016-02-10 22:25:57', 10484799, 183235640) Fixture Delete (0.2ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2016-02-10 22:25:57', '2016-02-10 22:25:57', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2016-02-10 22:25:57', '2016-02-10 22:25:57', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2016-02-10 22:25:57', '2016-02-10 22:25:57', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2016-02-10 22:25:57', '2016-02-10 22:25:57', 183235640, 816972181) Fixture Delete (0.2ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.2ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2016-02-10 22:25:57', '2016-02-10 22:25:57', 809335042, 'SocialNetworking::Goal', 809335042)  (0.4ms) COMMIT  (1.0ms) ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL  (0.1ms) BEGIN SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "social_networking_comments" WHERE "social_networking_comments"."id" = $1 [["id", 318187876]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."participant_id" = $1 [["participant_id", 129315074]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" ORDER BY "social_networking_comments"."id" ASC LIMIT 1 SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."participant_id" IS NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2016-02-10 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2016-02-10 00:00:00.000000"], ["updated_at", "2016-02-10 22:25:57.774003"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_nudges"."created_at" <= '2016-02-10 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2016-02-03 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]]  (0.2ms) SAVEPOINT active_record_1 Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.5ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2016-02-09 00:00:00.000000"], ["updated_at", "2016-02-10 22:25:57.783803"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SQL (0.3ms) INSERT INTO "social_networking_nudges" ("initiator_id", "recipient_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["initiator_id", 700141617], ["recipient_id", 816972181], ["created_at", "2016-02-02 00:00:00.000000"], ["updated_at", "2016-02-10 22:25:57.787962"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "social_networking_nudges" WHERE ("social_networking_nudges"."created_at" >= '2016-02-03 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Parameters: {"id"=>"1"} Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfilePagesController#show as HTML Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/show.html.erb within layouts/tool (0.4ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2016-02-10 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2016-02-10 00:00:00.000000"], ["updated_at", "2016-02-10 22:25:57.889223"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_comments"."created_at" <= '2016-02-10 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2016-02-03 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2016-02-09 00:00:00.000000"], ["updated_at", "2016-02-10 22:25:57.897233"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.3ms) INSERT INTO "social_networking_comments" ("participant_id", "item_id", "item_type", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["text", "love this test"], ["created_at", "2016-02-02 00:00:00.000000"], ["updated_at", "2016-02-10 22:25:57.900787"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_comments" WHERE ("social_networking_comments"."created_at" >= '2016-02-03 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/mailer/notify.html.erb (0.7ms) SocialNetworking::Mailer#notify: processed outbound mail in 201.6ms Sent mail to obama@ex.co (7.3ms) Date: Wed, 10 Feb 2016 16:25:58 -0600 From: moodtech-no-reply@northwestern.edu To: obama@ex.co Message-ID: <56bbb8f61bd42_65c23fe50d0601f89386c@FSMC02GN1YSDV7N.mail> Subject: bar Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

foo

 (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::ProfileAnswersController#update as HTML Parameters: {"id"=>"1"} Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 576699391]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 614371357]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 53334230]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 916373174]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 938656909]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 401619065]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 128166899]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 1002298878]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 318784238]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 16804933]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" ORDER BY "social_networking_goals"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2016-02-10 23:59:59.999999') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2016-02-10 00:00:00.000000"], ["updated_at", "2016-02-10 22:25:58.198419"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_goals"."created_at" <= '2016-02-10 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2016-02-03 00:00:00.000000') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2016-02-09 00:00:00.000000"], ["updated_at", "2016-02-10 22:25:58.210622"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.2ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "Write a test that passes."], ["created_at", "2016-02-02 00:00:00.000000"], ["updated_at", "2016-02-10 22:25:58.214340"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE ("social_networking_goals"."created_at" >= '2016-02-03 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2016-02-10') AND ("social_networking_goals"."due_on" >= '2016-02-09')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2016-02-10') AND ("social_networking_goals"."due_on" >= '2016-02-09') SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "p1 omega"]] SQL (0.1ms) DELETE FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 [["id", 717544784]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_goals" WHERE "social_networking_goals"."deleted_at" IS NULL AND "social_networking_goals"."completed_at" IS NULL AND ("social_networking_goals"."due_on" < '2016-02-10') AND ("social_networking_goals"."due_on" >= '2016-02-09')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["created_at", "2016-02-10 22:25:58.228757"], ["updated_at", "2016-02-10 22:25:58.228757"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "completed_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2016-02-10"], ["completed_at", "2016-02-08 00:00:00.000000"], ["created_at", "2016-02-10 22:25:58.233856"], ["updated_at", "2016-02-10 22:25:58.233856"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "DESCription"], ["due_on", "2016-02-11"], ["created_at", "2016-02-10 22:25:58.238808"], ["updated_at", "2016-02-10 22:25:58.238808"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "due_on", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["due_on", "2016-02-10"], ["created_at", "2016-02-10 22:25:58.243435"], ["updated_at", "2016-02-10 22:25:58.243435"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "social_networking_goals" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "foo"], ["created_at", "2016-02-10 22:25:58.247970"], ["updated_at", "2016-02-10 22:25:58.247970"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Nudge Load (0.3ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 503297012]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 366290861]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 931788854]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "social_networking_nudges" WHERE "social_networking_nudges"."id" = $1 [["id", 316146702]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" ORDER BY "social_networking_nudges"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 816972181]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 816972181]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 [["initiator_id", 129315074]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb (1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::Like Load (0.4ms) SELECT "social_networking_likes".* FROM "social_networking_likes"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_likes" WHERE "social_networking_likes"."id" = $1 [["id", 844093908]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 LIMIT 1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 809335042]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 809335042]] Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."participant_id" = $1 [["participant_id", 129315074]]  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 [["id", 809335042]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) INSERT INTO "social_networking_on_the_mind_statements" ("participant_id", "description", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["participant_id", 700141617], ["description", "otms description"], ["created_at", "2016-02-10 22:25:58.347740"], ["updated_at", "2016-02-10 22:25:58.347740"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "social_networking_shared_items" ("item_id", "item_type", "participant_id", "action_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["item_id", 576803334], ["item_type", "SocialNetworking::OnTheMindStatement"], ["participant_id", 700141617], ["action_type", "Shared"], ["created_at", "2016-02-10 22:25:58.350572"], ["updated_at", "2016-02-10 22:25:58.350572"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 700141617]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 816972181]] SocialNetworking::SharedItem Load (0.1ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" = $1 AND "social_networking_shared_items"."is_public" = 't' [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements"  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.1ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 576803333], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.1ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 576803333]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 369066228], ["item_type", "SocialNetworking::OnTheMindStatement"]] SocialNetworking::Like Load (0.2ms) SELECT "social_networking_likes".* FROM "social_networking_likes" WHERE "social_networking_likes"."item_id" = $1 AND "social_networking_likes"."item_type" = $2 [["item_id", 369066228], ["item_type", "SocialNetworking::OnTheMindStatement"]] SQL (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 [["id", 369066228]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" ORDER BY "social_networking_on_the_mind_statements"."id" ASC LIMIT 1 Participant Load (0.2ms) SELECT "participants"."id", "participants"."study_id" FROM "participants" SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 816972181]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 [["participant_id", 129315074]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2016-02-10 23:59:59.999999') Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2016-02-10 00:00:00.000000"], ["updated_at", "2016-02-10 22:25:58.379759"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2016-02-10 00:00:00.000000' AND "social_networking_likes"."created_at" <= '2016-02-10 23:59:59.999999')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2016-02-03 00:00:00.000000') Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1 SQL (0.3ms) INSERT INTO "social_networking_likes" ("participant_id", "item_id", "item_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["participant_id", 700141617], ["item_id", 128166899], ["item_type", "SocialNetworking::Goal"], ["created_at", "2016-02-09 00:00:00.000000"], ["updated_at", "2016-02-10 22:25:58.387887"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.1ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::Goal' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "social_networking_likes" WHERE ("social_networking_likes"."created_at" >= '2016-02-03 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::OnTheMindStatement Load (0.1ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.2ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::OnTheMindStatement' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Goal Load (0.2ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."id" = $1 LIMIT 1 [["id", 128166899]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 128166899]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 128166899 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]]  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.1ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::SharedItem Load (0.3ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (0.3ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" = 1 AND "social_networking_likes"."item_type" = 'SocialNetworking::SharedItem' AND "social_networking_likes"."participant_id" = 700141617) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::ProfileAnswer Load (0.2ms) SELECT "social_networking_profile_answers".* FROM "social_networking_profile_answers" WHERE "social_networking_profile_answers"."id" = $1 LIMIT 1 [["id", 465319974]] SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."id" = $1 LIMIT 1 [["id", 333620620]] SocialNetworking::ProfileQuestion Load (0.2ms) SELECT "social_networking_profile_questions".* FROM "social_networking_profile_questions" WHERE "social_networking_profile_questions"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::ProfileAnswer Exists (0.3ms) SELECT 1 AS one FROM "social_networking_profile_answers" WHERE ("social_networking_profile_answers"."social_networking_profile_question_id" = 1 AND "social_networking_profile_answers"."social_networking_profile_id" = 333620620) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb (1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#index as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::ParticipantsController#show as HTML Parameters: {"id"=>"987"} Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (13.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (18.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.1ms) BEGIN  (20.2ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (11.4ms) COMMIT Migrating to AddParticipantFields (2)  (9.3ms) BEGIN  (0.5ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.4ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (10.5ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (24.2ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (0.4ms) COMMIT Migrating to AddNullFalseToArms (5)  (5.8ms) BEGIN  (0.3ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.2ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (5.8ms) COMMIT Migrating to AddHasWozToArm (6)  (0.1ms) BEGIN  (20.8ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (5.6ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (11.7ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.1ms) BEGIN  (7.8ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.5ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (0.7ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (5.9ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (11.0ms) BEGIN  (13.3ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.2ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (11.2ms) BEGIN  (13.4ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (2.4ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (11.0ms) BEGIN  (11.1ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (1.1ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (11.3ms) BEGIN  (13.3ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (12.0ms) BEGIN  (12.5ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (11.2ms) BEGIN  (9.7ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (0.4ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (5.9ms) BEGIN  (19.2ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (0.7ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (5.9ms) BEGIN  (19.7ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (0.4ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (5.8ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (1.2ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (12.3ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (11.8ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.1ms) BEGIN  (7.4ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (5.9ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.2ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (9.3ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (6.6ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.2ms) BEGIN  (19.7ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (5.5ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (6.3ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.2ms) BEGIN  (7.1ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (6.2ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.1ms) BEGIN  (6.4ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (11.9ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (5.6ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2016-02-15 15:33:11.225674"], ["updated_at", "2016-02-15 15:33:11.225674"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2016-02-15 15:33:11.228316"], ["updated_at", "2016-02-15 15:33:11.228316"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2016-02-15 15:33:11.229481"], ["updated_at", "2016-02-15 15:33:11.229481"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2016-02-15 15:33:11.230537"], ["updated_at", "2016-02-15 15:33:11.230537"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2016-02-15 15:33:11.231568"], ["updated_at", "2016-02-15 15:33:11.231568"]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (5.7ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (5.9ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (11.0ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.2ms) BEGIN SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (6.2ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.2ms) BEGIN  (0.5ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (7.0ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (11.4ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (6.1ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.1ms) BEGIN  (13.5ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (6.2ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (5.5ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (12.1ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (6.3ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.3ms) BEGIN  (0.9ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (5.5ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.2ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (6.0ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (6.2ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (11.6ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.1ms) BEGIN  (6.9ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (6.1ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.2ms) BEGIN  (12.6ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (5.8ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.1ms) BEGIN  (6.7ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (12.7ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (0.8ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.1ms) BEGIN  (6.3ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (6.5ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (33.9ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.3ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.1ms) BEGIN  (6.0ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (5.7ms) COMMIT Migrating to ChangeColumnDefaultSocialNetworkingProfilesActiveToFalse (20151211204425)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ALTER COLUMN "active" SET DEFAULT 'f' SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."active" IS NULL  (0.3ms) ALTER TABLE "social_networking_profiles" ALTER "active" SET NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151211204425"]]  (5.8ms) COMMIT ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (3.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 20ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML  (0.1ms) SAVEPOINT active_record_1 Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 1]] SocialNetworking::Like Exists (11.6ms) SELECT 1 AS one FROM "social_networking_likes" WHERE ("social_networking_likes"."item_id" IS NULL AND "social_networking_likes"."item_type" IS NULL AND "social_networking_likes"."participant_id" = 1) LIMIT 1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 400 Bad Request in 53ms (Views: 0.3ms | ActiveRecord: 12.7ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 21ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Redirected to http://test.host/ Completed 302 Found in 6ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Redirected to http://test.host/ Completed 302 Found in 31ms (ActiveRecord: 4.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 20ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 21ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 1ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Redirected to http://test.host/ Completed 302 Found in 27ms (ActiveRecord: 4.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 19ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Redirected to http://test.host/ Completed 302 Found in 6ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "social_networking_likes" does not exist LINE 5: WHERE a.attrelid = '"social_networking_likes"... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"social_networking_likes"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (5.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.3ms) BEGIN  (22.8ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (5.5ms) COMMIT Migrating to AddParticipantFields (2)  (11.5ms) BEGIN  (0.4ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.5ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (6.3ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (20.6ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (5.3ms) COMMIT Migrating to AddNullFalseToArms (5)  (12.1ms) BEGIN  (0.5ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.4ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (6.1ms) COMMIT Migrating to AddHasWozToArm (6)  (0.2ms) BEGIN  (21.4ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (1.0ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (11.5ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.1ms) BEGIN  (8.9ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (3.1ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (1.2ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (11.7ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (5.9ms) BEGIN  (19.7ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.8ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (5.7ms) BEGIN  (20.8ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (2.7ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (0.9ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (11.1ms) BEGIN  (13.5ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (1.6ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (5.7ms) BEGIN  (14.5ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (1.8ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (11.5ms) BEGIN  (13.0ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (11.8ms) BEGIN  (10.4ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (2.6ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (11.3ms) BEGIN  (13.1ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (11.7ms) BEGIN  (13.6ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (0.7ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (10.9ms) BEGIN  (0.5ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (1.3ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (6.2ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (4.6ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.1ms) BEGIN  (7.1ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (12.1ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (15.6ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (5.7ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.2ms) BEGIN  (14.9ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (13.9ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.4ms) BEGIN  (0.6ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (1.0ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.3ms) BEGIN  (7.1ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (0.5ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.1ms) BEGIN  (7.7ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (5.5ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (6.3ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.1ms) BEGIN SQL (1.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2016-02-16 15:59:07.865725"], ["updated_at", "2016-02-16 15:59:07.865725"]] SQL (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2016-02-16 15:59:07.869835"], ["updated_at", "2016-02-16 15:59:07.869835"]] SQL (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2016-02-16 15:59:07.872502"], ["updated_at", "2016-02-16 15:59:07.872502"]] SQL (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2016-02-16 15:59:07.875186"], ["updated_at", "2016-02-16 15:59:07.875186"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2016-02-16 15:59:07.877250"], ["updated_at", "2016-02-16 15:59:07.877250"]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (0.7ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (6.1ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.3ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (6.1ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.1ms) BEGIN SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (6.2ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (6.9ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (12.0ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (11.7ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.2ms) BEGIN  (8.1ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (6.3ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (11.0ms) BEGIN  (0.5ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (6.1ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (6.1ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.1ms) BEGIN  (0.5ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (12.2ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (6.2ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (6.5ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.3ms) BEGIN  (0.8ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (6.0ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.3ms) BEGIN  (7.8ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (11.5ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.1ms) BEGIN  (6.5ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (5.8ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.1ms) BEGIN  (12.0ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (7.0ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (0.7ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.1ms) BEGIN  (11.9ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (6.8ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (1.1ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.4ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.1ms) BEGIN  (11.9ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (5.7ms) COMMIT Migrating to ChangeColumnDefaultSocialNetworkingProfilesActiveToFalse (20151211204425)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ALTER COLUMN "active" SET DEFAULT 'f' SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."active" IS NULL  (0.2ms) ALTER TABLE "social_networking_profiles" ALTER "active" SET NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151211204425"]]  (6.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Redirected to http://test.host/ Completed 302 Found in 31ms (ActiveRecord: 5.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 21ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 17ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Redirected to http://test.host/ Completed 302 Found in 6ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 18ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Redirected to http://test.host/ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Redirected to http://test.host/ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Redirected to http://test.host/ Completed 302 Found in 30ms (ActiveRecord: 4.8ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Redirected to http://test.host/ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 27ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 20ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 21ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 31ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 19ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.4ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 30ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 20ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 15ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 3ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 2ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 25ms  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 24ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 21ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.4ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 2ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 30ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 2ms  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 21ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 33ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 500 Internal Server Error in 2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 18ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Redirected to http://test.host/ Completed 302 Found in 27ms (ActiveRecord: 5.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Redirected to http://test.host/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 16ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::LikesController#create as HTML Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (4.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.1ms) BEGIN  (21.1ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (5.3ms) COMMIT Migrating to AddParticipantFields (2)  (6.1ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.3ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (11.3ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (60.0ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (6.7ms) COMMIT Migrating to AddNullFalseToArms (5)  (5.3ms) BEGIN  (0.3ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.3ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (20.2ms) COMMIT Migrating to AddHasWozToArm (6)  (0.1ms) BEGIN  (15.8ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (6.7ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (6.0ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.1ms) BEGIN  (13.4ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (2.0ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (0.8ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (6.2ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (5.6ms) BEGIN  (14.2ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.0ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (6.0ms) BEGIN  (18.7ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.2ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (0.7ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (5.6ms) BEGIN  (14.2ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (1.0ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (5.9ms) BEGIN  (14.7ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (5.3ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (5.5ms) BEGIN  (19.3ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (0.9ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (0.7ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (6.2ms) BEGIN  (7.7ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.0ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (6.3ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (6.0ms) BEGIN  (14.6ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (28.6ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (6.0ms) BEGIN  (13.8ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (5.4ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (6.0ms) BEGIN  (0.5ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (1.0ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (5.5ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.1ms) BEGIN Participant Load (0.5ms) SELECT "participants".* FROM "participants" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (5.9ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.2ms) BEGIN  (6.8ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (6.1ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (14.4ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (6.2ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.2ms) BEGIN  (14.6ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (6.7ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (6.2ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.1ms) BEGIN  (6.5ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (6.0ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.1ms) BEGIN  (7.2ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (6.1ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (11.6ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2016-02-24 21:12:29.746346"], ["updated_at", "2016-02-24 21:12:29.746346"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2016-02-24 21:12:29.748377"], ["updated_at", "2016-02-24 21:12:29.748377"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2016-02-24 21:12:29.749546"], ["updated_at", "2016-02-24 21:12:29.749546"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2016-02-24 21:12:29.750589"], ["updated_at", "2016-02-24 21:12:29.750589"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2016-02-24 21:12:29.751594"], ["updated_at", "2016-02-24 21:12:29.751594"]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (0.4ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (5.9ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (6.2ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.2ms) BEGIN SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (5.4ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (6.1ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (6.5ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (6.1ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.1ms) BEGIN  (13.1ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (5.8ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (6.0ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (5.7ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (5.9ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (5.9ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (5.8ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (6.1ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (6.2ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.1ms) BEGIN  (6.6ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (5.9ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.1ms) BEGIN  (6.6ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (6.2ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.1ms) BEGIN  (7.2ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (6.1ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (6.2ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.1ms) BEGIN  (6.6ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (6.2ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (6.5ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.5ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.1ms) BEGIN  (6.8ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (6.0ms) COMMIT Migrating to ChangeColumnDefaultSocialNetworkingProfilesActiveToFalse (20151211204425)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ALTER COLUMN "active" SET DEFAULT 'f' SocialNetworking::Profile Load (0.2ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."active" IS NULL  (0.2ms) ALTER TABLE "social_networking_profiles" ALTER "active" SET NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151211204425"]]  (6.0ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (37.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/profile_pages/_profile_questions.html.erb (2.3ms)  (0.2ms) ROLLBACK  (0.1ms)   (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms)  (39.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.1ms) BEGIN  (28.4ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (5.7ms) COMMIT Migrating to AddParticipantFields (2)  (6.0ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.3ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (6.2ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (14.5ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (6.1ms) COMMIT Migrating to AddNullFalseToArms (5)  (6.1ms) BEGIN  (0.3ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.2ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (6.0ms) COMMIT Migrating to AddHasWozToArm (6)  (0.1ms) BEGIN  (27.2ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (0.9ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (5.6ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.1ms) BEGIN  (7.4ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (19.6ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (0.7ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (5.8ms) BEGIN  (18.4ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.0ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.7ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (5.6ms) BEGIN  (13.9ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.1ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (5.3ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (5.7ms) BEGIN  (14.6ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (1.1ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (5.9ms) BEGIN  (14.4ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (5.0ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (6.0ms) BEGIN  (14.6ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (0.9ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (6.0ms) BEGIN  (13.2ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (5.1ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (5.8ms) BEGIN  (14.2ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (5.3ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (6.1ms) BEGIN  (19.0ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (0.6ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (5.4ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (1.4ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (6.1ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.1ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (6.2ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.1ms) BEGIN  (6.6ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (5.6ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (14.3ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (6.8ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.3ms) BEGIN  (14.4ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (33.8ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.3ms) BEGIN  (0.5ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (5.8ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.1ms) BEGIN  (6.3ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (5.9ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.1ms) BEGIN  (12.4ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (5.9ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.4ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (5.6ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2016-03-08 21:05:36.727255"], ["updated_at", "2016-03-08 21:05:36.727255"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2016-03-08 21:05:36.729181"], ["updated_at", "2016-03-08 21:05:36.729181"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2016-03-08 21:05:36.730284"], ["updated_at", "2016-03-08 21:05:36.730284"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2016-03-08 21:05:36.731500"], ["updated_at", "2016-03-08 21:05:36.731500"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2016-03-08 21:05:36.732578"], ["updated_at", "2016-03-08 21:05:36.732578"]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (6.2ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (11.7ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (5.6ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.1ms) BEGIN SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (6.1ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (6.7ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (5.8ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (5.8ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.1ms) BEGIN  (7.4ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (5.9ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (5.8ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (5.9ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (5.5ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (5.7ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (5.7ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (5.7ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (5.7ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.1ms) BEGIN  (6.6ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (5.9ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.1ms) BEGIN  (12.8ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (6.3ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.1ms) BEGIN  (12.5ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (6.7ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (0.5ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.1ms) BEGIN  (6.6ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (6.2ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (6.2ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.4ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.1ms) BEGIN  (6.2ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (5.6ms) COMMIT Migrating to ChangeColumnDefaultSocialNetworkingProfilesActiveToFalse (20151211204425)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ALTER COLUMN "active" SET DEFAULT 'f' SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."active" IS NULL  (0.2ms) ALTER TABLE "social_networking_profiles" ALTER "active" SET NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151211204425"]]  (6.0ms) COMMIT Migrating to ChangeOnTheMindStatementsProfileAnswersCommentsTextLength (20160308201931)  (0.1ms) BEGIN  (14.8ms) ALTER TABLE "social_networking_comments" ALTER COLUMN "text" TYPE character varying(1000)  (3.0ms) ALTER TABLE "social_networking_goals" ALTER COLUMN "description" TYPE character varying(1000)  (3.9ms) ALTER TABLE "social_networking_on_the_mind_statements" ALTER COLUMN "description" TYPE character varying(1000)  (3.5ms) ALTER TABLE "social_networking_profile_answers" ALTER COLUMN "answer_text" TYPE character varying(1000) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160308201931"]]  (2.8ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (10.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.4ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.4ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2016-03-08 21:05:43', '2016-03-08 21:05:43', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.3ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2016-03-08', '2016-03-08 21:05:43', '2016-03-08 21:05:43', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2016-03-08 21:05:43.000000', '2016-03-08', '2016-03-08 21:05:43', '2016-03-08 21:05:43', 576699391, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2016-03-08', '2016-03-08 21:05:43', '2016-03-08 21:05:43', 614371357, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2016-03-08 21:05:43', '2016-03-08 21:05:43', 53334230, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2016-03-08 21:05:43.000000', '2016-03-08', '2016-03-08 21:05:43', '2016-03-08 21:05:43', 916373174, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2016-03-07', '2016-03-08 21:05:43', '2016-03-08 21:05:43', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2016-03-06', '2016-03-08 21:05:43', '2016-03-08 21:05:43', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2016-03-08 21:05:43.000000', '2016-03-08', '2016-03-08 21:05:43', '2016-03-08 21:05:43', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2016-03-08', '2016-03-08 21:05:43', '2016-03-08 21:05:43', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2016-03-08 21:05:43.000000', '2016-03-08', '2016-03-08 21:05:43', '2016-03-08 21:05:43', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2016-03-08', '2016-03-08 21:05:43', '2016-03-08 21:05:43', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2016-03-08 21:05:43.000000', '2016-03-08', '2016-03-08 21:05:43', '2016-03-08 21:05:43', 16804933, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_likes" Fixture Insert (0.3ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2016-03-08 21:05:43', '2016-03-08 21:05:43', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.4ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.4ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-03-07 21:05:43.000000', '2016-03-08 21:05:43', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-03-08 21:05:43.000000', '2016-03-08 21:05:43', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-03-07 21:05:43.000000', '2016-03-08 21:05:43', 931788854, 816972181, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-03-08 21:05:43.000000', '2016-03-08 21:05:43', 316146702, 816972181, 700141617) Fixture Delete (0.4ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.3ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2016-03-08 21:05:43', '2016-03-08 21:05:43', 576803333, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2016-03-08 21:05:43', '2016-03-08 21:05:43', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2016-03-08 21:05:43', '2016-03-08 21:05:43', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2016-03-08 21:05:43', '2016-03-08 21:05:43', 45443486, 333620620) Fixture Insert (0.3ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2016-03-08 21:05:43', '2016-03-08 21:05:43', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2016-03-08 21:05:43', '2016-03-08 21:05:43', 781294868) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2016-03-08 21:05:43', '2016-03-08 21:05:43', 932760744) Fixture Insert (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2016-03-08 21:05:43', '2016-03-08 21:05:43', 10484799) Fixture Delete (0.2ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.3ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2016-03-08 21:05:43', '2016-03-08 21:05:43', 183235640, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.3ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2016-03-08 21:05:43', '2016-03-08 21:05:43', 809335042, 'SocialNetworking::Goal', 809335042)  (0.5ms) COMMIT  (1.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-03-08 15:05:44 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.2ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (4.6ms) Completed 200 OK in 569ms (Views: 503.1ms | ActiveRecord: 5.3ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-03-08 15:05:44 -0600 Started GET "/assets/application.js" for 127.0.0.1 at 2016-03-08 15:05:44 -0600  (0.4ms) ROLLBACK  (3.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" DISABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "participants" Fixture Insert (0.5ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-11', 'p1@example.com', '16305150171', 'sms', 700141617) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-22', 'p2@example.com', '16305150172', 'sms', 816972181) Fixture Insert (0.2ms) INSERT INTO "participants" ("study_id", "email", "phone_number", "contact_preference", "id") VALUES ('Social-33', 'p3@example.com', '16305150173', 'email', 129315074) Fixture Delete (0.3ms) DELETE FROM "social_networking_comments" Fixture Insert (0.2ms) INSERT INTO "social_networking_comments" ("text", "created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('i feel strongly about this', '2016-03-08 21:10:00', '2016-03-08 21:10:00', 318187876, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.3ms) DELETE FROM "social_networking_goals" Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 alpha', '2016-03-08', '2016-03-08 21:10:00', '2016-03-08 21:10:00', 809335042, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 beta', '2016-03-08 21:10:00.000000', '2016-03-08', '2016-03-08 21:10:00', '2016-03-08 21:10:00', 576699391, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 gamma', '2016-03-08', '2016-03-08 21:10:00', '2016-03-08 21:10:00', 614371357, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('run', '2016-03-08 21:10:00', '2016-03-08 21:10:00', 53334230, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 delta', '2016-03-08 21:10:00.000000', '2016-03-08', '2016-03-08 21:10:00', '2016-03-08 21:10:00', 916373174, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 omega', NULL, NULL, '2016-03-07', '2016-03-08 21:10:00', '2016-03-08 21:10:00', 717544784, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 zeta', NULL, NULL, '2016-03-06', '2016-03-08 21:10:00', '2016-03-08 21:10:00', 938656909, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p1 epsilon', '2016-03-08 21:10:00.000000', '2016-03-08', '2016-03-08 21:10:00', '2016-03-08 21:10:00', 401619065, 700141617) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 alpha', '2016-03-08', '2016-03-08 21:10:00', '2016-03-08 21:10:00', 128166899, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "completed_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 beta', '2016-03-08 21:10:00.000000', '2016-03-08', '2016-03-08 21:10:00', '2016-03-08 21:10:00', 1002298878, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 gamma', '2016-03-08', '2016-03-08 21:10:00', '2016-03-08 21:10:00', 318784238, 816972181) Fixture Insert (0.1ms) INSERT INTO "social_networking_goals" ("description", "deleted_at", "due_on", "created_at", "updated_at", "id", "participant_id") VALUES ('p2 delta', '2016-03-08 21:10:00.000000', '2016-03-08', '2016-03-08 21:10:00', '2016-03-08 21:10:00', 16804933, 816972181) Fixture Delete (0.7ms) DELETE FROM "social_networking_likes" Fixture Insert (0.4ms) INSERT INTO "social_networking_likes" ("created_at", "updated_at", "id", "participant_id", "item_type", "item_id") VALUES ('2016-03-08 21:10:00', '2016-03-08 21:10:00', 844093908, 700141617, 'SocialNetworking::SharedItem', 809335042) Fixture Delete (0.5ms) DELETE FROM "social_networking_nudges" Fixture Insert (0.3ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-03-07 21:10:00.000000', '2016-03-08 21:10:00', 503297012, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-03-08 21:10:00.000000', '2016-03-08 21:10:00', 366290861, 700141617, 816972181) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-03-07 21:10:00.000000', '2016-03-08 21:10:00', 931788854, 816972181, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_nudges" ("created_at", "updated_at", "id", "initiator_id", "recipient_id") VALUES ('2016-03-08 21:10:00.000000', '2016-03-08 21:10:00', 316146702, 816972181, 700141617) Fixture Delete (0.3ms) DELETE FROM "social_networking_on_the_mind_statements" Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('it''s always sunny in Philadelphia', '2016-03-08 21:10:00', '2016-03-08 21:10:00', 576803333, 700141617) Fixture Insert (0.2ms) INSERT INTO "social_networking_on_the_mind_statements" ("description", "created_at", "updated_at", "id", "participant_id") VALUES ('what about Bob?', '2016-03-08 21:10:00', '2016-03-08 21:10:00', 369066228, 816972181) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_answers" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (1, 1, 'running', '2016-03-08 21:10:00', '2016-03-08 21:10:00', 465319974, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 2, 'green', '2016-03-08 21:10:00', '2016-03-08 21:10:00', 45443486, 333620620) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_answers" ("social_networking_profile_question_id", "order", "answer_text", "created_at", "updated_at", "id", "social_networking_profile_id") VALUES (2, 1, 'blue', '2016-03-08 21:10:00', '2016-03-08 21:10:00', 10484799, 183235640) Fixture Delete (0.3ms) DELETE FROM "social_networking_profile_questions" Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What are your hobbies?', '2016-03-08 21:10:00', '2016-03-08 21:10:00', 781294868) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('What is your favorite color?', '2016-03-08 21:10:00', '2016-03-08 21:10:00', 932760744) Fixture Insert (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at", "id") VALUES ('Animal, vegetable or mineral?', '2016-03-08 21:10:00', '2016-03-08 21:10:00', 10484799) Fixture Delete (0.3ms) DELETE FROM "social_networking_profiles" Fixture Insert (0.2ms) INSERT INTO "social_networking_profiles" ("active", "created_at", "updated_at", "id", "participant_id") VALUES ('t', '2016-03-08 21:10:00', '2016-03-08 21:10:00', 183235640, 816972181) Fixture Delete (0.7ms) DELETE FROM "social_networking_shared_items" Fixture Insert (0.4ms) INSERT INTO "social_networking_shared_items" ("is_public", "created_at", "updated_at", "id", "item_type", "item_id") VALUES ('t', '2016-03-08 21:10:00', '2016-03-08 21:10:00', 809335042, 'SocialNetworking::Goal', 809335042)  (0.7ms) COMMIT  (1.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_nudges" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_likes" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_questions" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profiles" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_shared_items" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_comments" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_goals" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_on_the_mind_statements" ENABLE TRIGGER ALL;ALTER TABLE "social_networking_profile_answers" ENABLE TRIGGER ALL  (0.1ms) BEGIN Started GET "/social_networking/goal_tool" for 127.0.0.1 at 2016-03-08 15:10:00 -0600 Processing by SocialNetworking::GoalsController#tool as HTML Participant Load (0.4ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 [["participant_id", 700141617]] Participant Load (0.6ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.4ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 809335042], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 576699391], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 614371357], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.3ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 916373174], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 717544784], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.1ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 938656909], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 401619065], ["item_type", "SocialNetworking::Goal"]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] Rendered /Users/usabilitymonitor/Desktop/Github/social_networking/app/views/social_networking/goals/tool.html.erb within layouts/tool (5.2ms) Completed 200 OK in 510ms (Views: 438.1ms | ActiveRecord: 6.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2016-03-08 15:10:01 -0600 Started GET "/assets/application.js" for 127.0.0.1 at 2016-03-08 15:10:01 -0600 SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."description" = $1 LIMIT 1 [["description", "run"]] Started POST "/social_networking/goals/53334230" for 127.0.0.1 at 2016-03-08 15:10:01 -0600 Processing by SocialNetworking::GoalsController#update as HTML Parameters: {"id"=>"53334230", "description"=>"run foo", "isCompleted"=>false, "dueOn"=>"Apr 05 2016", "goal"=>{"id"=>"53334230", "description"=>"run foo"}} Participant Load (0.5ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]] SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" WHERE "social_networking_goals"."participant_id" = $1 AND "social_networking_goals"."id" = $2 ORDER BY "social_networking_goals"."id" ASC LIMIT 1 [["participant_id", 700141617], ["id", 53334230]] CACHE (0.0ms) SELECT "participants".* FROM "participants" WHERE "participants"."email" = $1 LIMIT 1 [["email", "p1@example.com"]]  (0.4ms) BEGIN Participant Load (0.3ms) SELECT "participants".* FROM "participants" WHERE "participants"."id" = $1 LIMIT 1 [["id", 700141617]] SQL (0.4ms) UPDATE "social_networking_goals" SET "description" = $1, "due_on" = $2, "updated_at" = $3 WHERE "social_networking_goals"."id" = $4 [["description", "run foo"], ["due_on", "2016-04-05"], ["updated_at", "2016-03-08 21:10:01.943222"], ["id", 53334230]]  (6.1ms) COMMIT SocialNetworking::Comment Load (0.2ms) SELECT "social_networking_comments".* FROM "social_networking_comments" WHERE "social_networking_comments"."item_id" = $1 AND "social_networking_comments"."item_type" = $2 [["item_id", 53334230], ["item_type", "SocialNetworking::Goal"]] Completed 200 OK in 21ms (Views: 0.4ms | ActiveRecord: 10.7ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (17.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.2ms) BEGIN  (16.7ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (11.8ms) COMMIT Migrating to AddParticipantFields (2)  (11.4ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.2ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (6.3ms) COMMIT Migrating to CreateArms (3)  (0.2ms) BEGIN  (15.1ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (5.5ms) COMMIT Migrating to AddNullFalseToArms (5)  (6.4ms) BEGIN  (0.3ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.2ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (11.9ms) COMMIT Migrating to AddHasWozToArm (6)  (0.1ms) BEGIN  (14.6ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (7.1ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.3ms) BEGIN  (0.5ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (7.8ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.2ms) BEGIN  (7.7ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (2.0ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (0.7ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (5.8ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (5.8ms) BEGIN  (15.1ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.0ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (5.7ms) BEGIN  (13.8ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.1ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (5.1ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (6.2ms) BEGIN  (19.0ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (0.9ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (5.8ms) BEGIN  (14.6ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (4.9ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (7.5ms) BEGIN  (15.6ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (5.9ms) BEGIN  (11.6ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.8ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (5.0ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (7.3ms) BEGIN  (13.8ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (5.5ms) BEGIN  (15.5ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.0ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (0.5ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (6.0ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (0.9ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (8.3ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (5.7ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.1ms) BEGIN  (6.6ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (5.7ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.3ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (29.9ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (1.3ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.2ms) BEGIN  (14.4ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (5.6ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (5.7ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.2ms) BEGIN  (6.5ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (5.9ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.1ms) BEGIN  (7.2ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (6.1ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (5.9ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2016-06-01 19:22:58.598298"], ["updated_at", "2016-06-01 19:22:58.598298"]] SQL (0.3ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2016-06-01 19:22:58.601736"], ["updated_at", "2016-06-01 19:22:58.601736"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2016-06-01 19:22:58.603189"], ["updated_at", "2016-06-01 19:22:58.603189"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2016-06-01 19:22:58.604282"], ["updated_at", "2016-06-01 19:22:58.604282"]] SQL (0.1ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2016-06-01 19:22:58.605282"], ["updated_at", "2016-06-01 19:22:58.605282"]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (5.7ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (5.8ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.3ms) BEGIN  (0.6ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (6.0ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.1ms) BEGIN SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (6.3ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (7.4ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (6.0ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (5.5ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.1ms) BEGIN  (9.6ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (6.1ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (5.7ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (6.2ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.5ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (6.7ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.2ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (6.0ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (6.2ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.2ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (6.0ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (5.5ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.2ms) BEGIN  (6.8ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (6.0ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.1ms) BEGIN  (6.7ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (5.8ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (1.5ms) BEGIN  (7.0ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (7.1ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (0.5ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.2ms) BEGIN  (6.2ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (6.4ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (5.5ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.4ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.1ms) BEGIN  (7.1ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (6.2ms) COMMIT Migrating to ChangeColumnDefaultSocialNetworkingProfilesActiveToFalse (20151211204425)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ALTER COLUMN "active" SET DEFAULT 'f' SocialNetworking::Profile Load (0.3ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."active" IS NULL  (0.2ms) ALTER TABLE "social_networking_profiles" ALTER "active" SET NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151211204425"]]  (6.2ms) COMMIT Migrating to ChangeOnTheMindStatementsProfileAnswersCommentsTextLength (20160308201931)  (0.2ms) BEGIN  (21.9ms) ALTER TABLE "social_networking_comments" ALTER COLUMN "text" TYPE character varying(1000)  (2.9ms) ALTER TABLE "social_networking_goals" ALTER COLUMN "description" TYPE character varying(1000)  (4.2ms) ALTER TABLE "social_networking_on_the_mind_statements" ALTER COLUMN "description" TYPE character varying(1000)  (3.4ms) ALTER TABLE "social_networking_profile_answers" ALTER COLUMN "answer_text" TYPE character varying(1000) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160308201931"]]  (2.5ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (3.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#page as HTML Parameters: {"page"=>"0", "participant_id"=>"987"} Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by SocialNetworking::SharedItemController#hide as HTML Parameters: {"id"=>"123"} Rendered text template (0.0ms) Completed 202 Accepted in 10ms (Views: 9.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (2.2ms) ROLLBACK  (3.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateParticipants (1)  (0.1ms) BEGIN  (20.6ms) CREATE TABLE "participants" ("id" serial primary key, "email" character varying)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]  (0.7ms) COMMIT Migrating to AddParticipantFields (2)  (6.0ms) BEGIN  (0.5ms) ALTER TABLE "participants" ADD "phone_number" character varying  (0.3ms) ALTER TABLE "participants" ADD "contact_preference" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "2"]]  (6.1ms) COMMIT Migrating to CreateArms (3)  (0.1ms) BEGIN  (14.5ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f') SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "3"]]  (6.2ms) COMMIT Migrating to AddNullFalseToArms (5)  (6.8ms) BEGIN  (0.5ms) ALTER TABLE "arms" ALTER "title" SET NOT NULL  (0.3ms) ALTER TABLE "arms" ALTER "is_social" SET NOT NULL SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]  (6.1ms) COMMIT Migrating to AddHasWozToArm (6)  (0.2ms) BEGIN  (15.8ms) ALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]  (6.6ms) COMMIT Migrating to AddStudyidToParticipant (8)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "participants" ADD "study_id" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]  (5.6ms) COMMIT Migrating to CreateSocialNetworkingNudges (20140827154926)  (0.2ms) BEGIN  (8.1ms) CREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.8ms) ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_initiators FOREIGN KEY (initiator_id) REFERENCES participants(id)  (0.8ms)  ALTER TABLE social_networking_nudges ADD CONSTRAINT fk_nudges_recipients FOREIGN KEY (recipient_id) REFERENCES participants(id)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]  (6.3ms) COMMIT Migrating to CreateSocialNetworkingLikes (20140827154939)  (5.9ms) BEGIN  (15.7ms) CREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (2.6ms) ALTER TABLE social_networking_likes ADD CONSTRAINT fk_likes_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154939"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingComments (20140827154953)  (5.7ms) BEGIN  (14.5ms) CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.1ms)  ALTER TABLE social_networking_comments ADD CONSTRAINT fk_comments_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingGoals (20140904201719)  (6.0ms) BEGIN  (16.7ms) CREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp)   (1.0ms) ALTER TABLE social_networking_goals ADD CONSTRAINT fk_goals_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140904201719"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingSharedItems (20140910123000)  (5.9ms) BEGIN  (15.1ms) CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140910123000"]]  (0.6ms) COMMIT Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)  (5.9ms) BEGIN  (16.4ms) CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (0.9ms)  ALTER TABLE social_networking_on_the_mind_statements ADD CONSTRAINT fk_on_the_mind_participants FOREIGN KEY (participant_id) REFERENCES participants(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingProfiles (20140915185648)  (5.5ms) BEGIN  (7.9ms) CREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.1ms) ALTER TABLE social_networking_profiles ADD CONSTRAINT fk_profiles_participants FOREIGN KEY (participant_id) REFERENCES participants(id) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915185648"]]  (5.6ms) COMMIT Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)  (6.0ms) BEGIN  (17.2ms) CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190627"]]  (0.5ms) COMMIT Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)  (6.0ms) BEGIN  (14.2ms) CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.1ms)  ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profile_questions FOREIGN KEY (social_networking_profile_question_id) REFERENCES social_networking_profile_questions(id)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]  (0.5ms) COMMIT Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)  (5.9ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer  (1.0ms) ALTER TABLE social_networking_profile_answers ADD CONSTRAINT fk_profile_answers_profiles FOREIGN KEY (social_networking_profile_id) REFERENCES social_networking_profiles(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140916163621"]]  (6.6ms) COMMIT Migrating to PopulateProfilesForExistingParticipants (20140917151905)  (0.2ms) BEGIN Participant Load (0.4ms) SELECT "participants".* FROM "participants" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140917151905"]]  (5.9ms) COMMIT Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)  (0.1ms) BEGIN  (7.3ms) CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140930141007"]]  (6.0ms) COMMIT Migrating to DropParticipantIdFromSharedItems (20141001130941)  (0.3ms) BEGIN  (7.3ms) ALTER TABLE "social_networking_shared_items" DROP "participant_id"  (14.7ms) ALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]  (1.1ms) COMMIT Migrating to AddActionTypeToSharedItems (20141003191233)  (0.1ms) BEGIN  (14.4ms) ALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]  (6.3ms) COMMIT Migrating to AddItemLabelToSharedItems (20141006200325)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_shared_items" ADD "item_label" character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]  (5.7ms) COMMIT Migrating to AddUniquenessConstraintToLikes (20141007141541)  (0.1ms) BEGIN  (6.9ms) CREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]  (5.9ms) COMMIT Migrating to AddIconNameToProfiles (20141008150325)  (0.1ms) BEGIN  (10.7ms) ALTER TABLE "social_networking_profiles" ADD "icon_name" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]  (6.2ms) COMMIT Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "order"  (0.3ms) ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"  (0.2ms) ALTER TABLE "social_networking_profile_questions" DROP "deleted" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]  (6.0ms) COMMIT Migrating to SeedProfileQuestions (20141016015415)  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are your favorite hobbies?"], ["created_at", "2016-06-10 20:40:08.899054"], ["updated_at", "2016-06-10 20:40:08.899054"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2016-06-10 20:40:08.901027"], ["updated_at", "2016-06-10 20:40:08.901027"]] SQL (0.2ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "How do you relax after a long day?"], ["created_at", "2016-06-10 20:40:08.902162"], ["updated_at", "2016-06-10 20:40:08.902162"]] SQL (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2016-06-10 20:40:08.903664"], ["updated_at", "2016-06-10 20:40:08.903664"]] SQL (0.4ms) INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2016-06-10 20:40:08.905612"], ["updated_at", "2016-06-10 20:40:08.905612"]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]  (5.6ms) COMMIT Migrating to RemoveActiveFromProfiles (20141016164443)  (0.2ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" DROP "active" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]  (6.1ms) COMMIT Migrating to AddActiveToProfiles (20141106102625)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_profiles" ADD "active" boolean SQL (1.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]  (6.1ms) COMMIT Migrating to SeedActiveFieldOfProfiles (20141106104713)  (0.1ms) BEGIN SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]  (6.2ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)  (0.5ms) BEGIN  (0.7ms) ALTER TABLE "social_networking_shared_items" ADD "participant_id" integer  (7.5ms) CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203142"]]  (6.1ms) COMMIT Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)  (0.1ms) BEGIN SocialNetworking::SharedItem Load (0.5ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141223203721"]]  (5.8ms) COMMIT Migrating to CreateActivities (20150309210518)  (0.1ms) BEGIN  (8.2ms) CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150309210518"]]  (6.1ms) COMMIT Migrating to AddCompletedAtToGoals (20150317173959)  (5.8ms) BEGIN  (0.3ms) ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317173959"]]  (5.9ms) COMMIT Migrating to PopulateCompletedAtInGoals (20150317174425)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.4ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317174425"]]  (8.1ms) COMMIT Migrating to RemoveIsCompletedFromGoals (20150317180057)  (0.2ms) BEGIN  (0.5ms) ALTER TABLE "social_networking_goals" DROP "is_completed" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317180057"]]  (6.1ms) COMMIT Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133032"]]  (6.1ms) COMMIT Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)  (0.1ms) BEGIN SocialNetworking::Goal Load (0.3ms) SELECT "social_networking_goals".* FROM "social_networking_goals" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133127"]]  (6.1ms) COMMIT Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)  (0.2ms) BEGIN  (0.4ms) ALTER TABLE "social_networking_goals" DROP "is_deleted" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318133353"]]  (6.1ms) COMMIT Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)  (0.3ms) BEGIN  (8.2ms) CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143224"]]  (6.1ms) COMMIT Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)  (0.1ms) BEGIN  (7.0ms) CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143244"]]  (6.2ms) COMMIT Migrating to AddIndicesToOnTheMindStatements (20150327185721)  (0.1ms) BEGIN  (8.6ms) CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")  (6.7ms) CREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]  (4.7ms) COMMIT Migrating to AddIndicesToNudges (20150327185856)  (0.2ms) BEGIN  (6.4ms) CREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")  (6.3ms) CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")  (5.4ms) CREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]  (0.3ms) COMMIT Migrating to AddIndicesToSharedItems (20150327185919)  (0.1ms) BEGIN  (6.6ms) CREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]  (6.1ms) COMMIT Migrating to ChangeColumnDefaultSocialNetworkingProfilesActiveToFalse (20151211204425)  (0.2ms) BEGIN  (0.5ms) ALTER TABLE "social_networking_profiles" ALTER COLUMN "active" SET DEFAULT 'f' SocialNetworking::Profile Load (0.4ms) SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."active" IS NULL  (0.3ms) ALTER TABLE "social_networking_profiles" ALTER "active" SET NOT NULL SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151211204425"]]  (6.2ms) COMMIT Migrating to ChangeOnTheMindStatementsProfileAnswersCommentsTextLength (20160308201931)  (0.3ms) BEGIN  (21.0ms) ALTER TABLE "social_networking_comments" ALTER COLUMN "text" TYPE character varying(1000)  (3.5ms) ALTER TABLE "social_networking_goals" ALTER COLUMN "description" TYPE character varying(1000)  (4.1ms) ALTER TABLE "social_networking_on_the_mind_statements" ALTER COLUMN "description" TYPE character varying(1000)  (3.8ms) ALTER TABLE "social_networking_profile_answers" ALTER COLUMN "answer_text" TYPE character varying(1000) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160308201931"]]  (2.6ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'activities' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'participants' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_comments' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_goals' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_likes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_nudges' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_on_the_mind_statements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_answers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profile_questions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_profiles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'social_networking_shared_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.9ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 10 [["participant_id", 1]] SocialNetworking::Nudge Load (0.6ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 10 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.6ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 10 [["participant_id", 1]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 10 [["participant_id", 1]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 10 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 10 [["participant_id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SocialNetworking::OnTheMindStatement Load (0.5ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 10 [["participant_id", 1]] SocialNetworking::Nudge Load (0.4ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 10 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.6ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 10 [["participant_id", 1]] SocialNetworking::OnTheMindStatement Load (0.2ms) SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 10 [["participant_id", 1]] SocialNetworking::Nudge Load (0.2ms) SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 10 [["initiator_id", 1]] SocialNetworking::SharedItem Load (0.2ms) SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 10 [["participant_id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK